From: John C. <jc...@un...> - 2011-04-15 20:21:16
|
Attaching a patch to enable a workaround such as: --------------- public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); tv = new TextView(this); try { Class <? extends MovementMethod> movementMethod = Class.forName( "android.text.method.ScrollingMovementMethod").asSubclass( MovementMethod.class); tv.setMovementMethod(movementMethod.newInstance()); } catch (Exception noScroll) { log("Cannot set scrolling: " + noScroll); } setContentView(tv); --------------- Nothing fancy, just a stub and adding setMovementMethod() to TextView. On Fri, Apr 15, 2011 at 7:52 AM, John Comeau <jc...@un...> wrote: > Ah, OK. Thanks Arno -- jc > > On Fri, Apr 15, 2011 at 2:02 AM, Arno Puder <ar...@pu...> wrote: >> XMLVM does not support this currently. You can check in >> xmlvm/src/android2iphone to see which Android API we currently >> support. >> >> Arno >> >> On Apr 15, 2011, at 1:55 AM, John Comeau <jc...@un...> wrote: >> >>> I have a TextView that uses >>> android.text.method.ScrollingMovementMethod. "ant run-Android" works >>> fine, but "run-Java" and "run-Xcode" both complain "package >>> android.text.method.* does not exist". Any known workaround? I'm >>> building for Android level 8 (version 2.2). >>> -- >>> John Comeau <jc...@un...> http://jc.unternet.net/ >>> "A place for everything, and everything >>> all over the place" >>> >>> ------------------------------------------------------------------------------ >>> Benefiting from Server Virtualization: Beyond Initial Workload >>> Consolidation -- Increasing the use of server virtualization is a top >>> priority.Virtualization can reduce costs, simplify management, and improve >>> application availability and disaster protection. Learn more about boosting >>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > > > > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |