From: John C. <jc...@un...> - 2011-04-14 23:55:15
|
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" |
From: Arno P. <ar...@pu...> - 2011-04-15 09:02:24
|
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 |
From: John C. <jc...@un...> - 2011-04-15 20:21:16
Attachments:
xmlvm.patch
|
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" |
From: cpsingh <cp...@ak...> - 2011-04-16 11:38:05
|
Hi I am a new user and i have an existing java program which i have tried to cross compiled to Iphone using xmlvm but when i am trying to build the things in Iphone then it is not compiling properly. When i have fixed some of the issues then it is compiling properly but it is giving error byte code is missing. Please help me out from this problem. What i have done is the following 1) checout the xmlvm from svn in windows based machine. 2) compiled the source using ant script and make the xmlvm.jar 3) cross compiled the existing java program using xmlvm and produced the objective c source code. 4) then shifted the cross compiled source code to mac machine and building the whole thing using xcode as mentioned in the manual.pdf. 5) It gives some error during compilation. Fixed the things and compile it again. 6) Able to execute but the program is giving error at run time "byte code is missing" Pls help me Regards CP Singh ----- Original Message ----- From: "John Comeau" <jc...@un...> To: "Arno Puder" <ar...@pu...> Cc: <xml...@li...> Sent: Saturday, April 16, 2011 01:51 Subject: Re: [xmlvm-users] android.text.method > 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" > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------------ > 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 > |
From: John C. <jc...@un...> - 2011-04-16 17:24:59
|
Singh, this looks like a similar problem to what I was having, which was fixed by running "ant clean" before the final build. Hope this helps -- jc On Sat, Apr 16, 2011 at 1:15 AM, cpsingh <cp...@ak...> wrote: > Hi > > I am a new user and i have an existing java program which i have tried to > cross compiled to Iphone using xmlvm but when i am trying to build the > things in Iphone then it is not compiling properly. When i have fixed some > of the issues then it is compiling properly but it is giving error byte code > is missing. Please help me out from this problem. What i have done is the > following > > 1) checout the xmlvm from svn in windows based machine. > 2) compiled the source using ant script and make the xmlvm.jar > 3) cross compiled the existing java program using xmlvm and produced the > objective c source code. > 4) then shifted the cross compiled source code to mac machine and building > the whole thing using xcode as mentioned in the manual.pdf. > 5) It gives some error during compilation. Fixed the things and compile it > again. > 6) Able to execute but the program is giving error at run time "byte code is > missing" > > Pls help me > > Regards > > > CP Singh > > ----- Original Message ----- > From: "John Comeau" <jc...@un...> > To: "Arno Puder" <ar...@pu...> > Cc: <xml...@li...> > Sent: Saturday, April 16, 2011 01:51 > Subject: Re: [xmlvm-users] android.text.method > > >> 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" >> > > > -------------------------------------------------------------------------------- > > >> ------------------------------------------------------------------------------ >> 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 >> > > > ------------------------------------------------------------------------------ > 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" |
From: Marko Ž. <xm...@st...> - 2011-04-15 16:01:30
|
Are Android 3.0 Fragments suported by xmlvm? -- Studio Artlan Marko Žmak, dipl.ing.mat. Mob: +385 98 212 801 Email: xm...@st... Web: http://www.studioartlan.com/ |
From: Arno P. <ar...@pu...> - 2011-04-15 16:25:07
|
No. On Apr 15, 2011, at 6:01 PM, "Marko Žmak" <xm...@st...> wrote: > > Are Android 3.0 Fragments suported by xmlvm? > > -- > Studio Artlan > Marko Žmak, dipl.ing.mat. > Mob: +385 98 212 801 > Email: xm...@st... > Web: http://www.studioartlan.com/ > > > ------------------------------------------------------------------------------ > 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 |
From: Marko Ž. <xm...@st...> - 2011-04-15 16:27:47
|
Any plans for supporting them soon? On 15.4.2011 17:25, Arno Puder wrote: > No. > > On Apr 15, 2011, at 6:01 PM, "Marko Žmak"<xm...@st...> wrote: > >> Are Android 3.0 Fragments suported by xmlvm? >> >> -- >> Studio Artlan >> Marko Žmak, dipl.ing.mat. >> Mob: +385 98 212 801 >> Email: xm...@st... >> Web: http://www.studioartlan.com/ >> >> >> ------------------------------------------------------------------------------ >> 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 -- Studio Artlan Marko Žmak, dipl.ing.mat. Mob: +385 98 212 801 Email: xm...@st... Web: http://www.studioartlan.com/ |
From: Arno P. <ar...@pu...> - 2011-04-15 16:31:16
|
XMLVM is open source and builds upon volunteers. I don't know of anyone working on this right now. If you have spare cycles, take a look at class Activity in src/android2iphone to get some inspiration on how fragments might be supported. Arno On Apr 15, 2011, at 6:27 PM, Marko Žmak <xm...@st...> wrote: > > Any plans for supporting them soon? > > On 15.4.2011 17:25, Arno Puder wrote: >> No. >> >> On Apr 15, 2011, at 6:01 PM, "Marko Žmak"<xm...@st...> wrote: >> >>> Are Android 3.0 Fragments suported by xmlvm? >>> >>> -- >>> Studio Artlan >>> Marko Žmak, dipl.ing.mat. >>> Mob: +385 98 212 801 >>> Email: xm...@st... >>> Web: http://www.studioartlan.com/ >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 > > > -- > Studio Artlan > Marko Žmak, dipl.ing.mat. > Mob: +385 98 212 801 > Email: xm...@st... > Web: http://www.studioartlan.com/ > > > ------------------------------------------------------------------------------ > 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 |
From: cpsingh <cp...@ak...> - 2011-04-18 16:53:28
|
Hi Guys I am still getting the same error. Can u please help me out I have followed and build all the things after clearing it using ant clean I am also getting so many warnings during compilation. But the main thing is that the warning is itself in the library like org_xml_java_lang_String etc. So can you please guide me how to resolve that. Regards CP Singh ----- Original Message ----- From: "John Comeau" <jc...@un...> To: "cpsingh" <cp...@ak...> Cc: <xml...@li...> Sent: Saturday, April 16, 2011 22:54 Subject: Re: [xmlvm-users] android.text.method > Singh, this looks like a similar problem to what I was having, which > was fixed by running "ant clean" before the final build. Hope this > helps -- jc > > On Sat, Apr 16, 2011 at 1:15 AM, cpsingh <cp...@ak...> > wrote: >> Hi >> >> I am a new user and i have an existing java program which i have tried to >> cross compiled to Iphone using xmlvm but when i am trying to build the >> things in Iphone then it is not compiling properly. When i have fixed >> some >> of the issues then it is compiling properly but it is giving error byte >> code >> is missing. Please help me out from this problem. What i have done is the >> following >> >> 1) checout the xmlvm from svn in windows based machine. >> 2) compiled the source using ant script and make the xmlvm.jar >> 3) cross compiled the existing java program using xmlvm and produced the >> objective c source code. >> 4) then shifted the cross compiled source code to mac machine and >> building >> the whole thing using xcode as mentioned in the manual.pdf. >> 5) It gives some error during compilation. Fixed the things and compile >> it >> again. >> 6) Able to execute but the program is giving error at run time "byte code >> is >> missing" >> >> Pls help me >> >> Regards >> >> >> CP Singh >> >> ----- Original Message ----- >> From: "John Comeau" <jc...@un...> >> To: "Arno Puder" <ar...@pu...> >> Cc: <xml...@li...> >> Sent: Saturday, April 16, 2011 01:51 >> Subject: Re: [xmlvm-users] android.text.method >> >> >>> 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" >>> >> >> >> -------------------------------------------------------------------------------- >> >> >>> ------------------------------------------------------------------------------ >>> 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 >>> >> >> >> ------------------------------------------------------------------------------ >> 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" > |
From: John C. <jc...@un...> - 2011-04-18 17:46:13
|
That type of error indicates that support for that API is not yet in XMLVM. This is a cooperative effort, and those of us coders who would like XMLVM to succeed will need to code some of these files ourselves. To see what is currently supported, look in xmlvm/src/xmlvm2objc/compat-lib/objc. For the one you mentioned, though: I'm not familiar with org.xml's version, but you might be able to extend java.lang.String yourself for the added functionality you need. On Mon, Apr 18, 2011 at 9:53 AM, cpsingh <cp...@ak...> wrote: > Hi Guys > > I am still getting the same error. Can u please help me out I have followed > and build all the things after clearing it using ant clean I am also > getting so many warnings during compilation. But the main thing is that the > warning is itself in the library like org_xml_java_lang_String etc. So can > you please guide me how to resolve that. > > > Regards > CP Singh > ----- Original Message ----- From: "John Comeau" <jc...@un...> > To: "cpsingh" <cp...@ak...> > Cc: <xml...@li...> > Sent: Saturday, April 16, 2011 22:54 > Subject: Re: [xmlvm-users] android.text.method > > >> Singh, this looks like a similar problem to what I was having, which >> was fixed by running "ant clean" before the final build. Hope this >> helps -- jc >> >> On Sat, Apr 16, 2011 at 1:15 AM, cpsingh <cp...@ak...> >> wrote: >>> >>> Hi >>> >>> I am a new user and i have an existing java program which i have tried to >>> cross compiled to Iphone using xmlvm but when i am trying to build the >>> things in Iphone then it is not compiling properly. When i have fixed >>> some >>> of the issues then it is compiling properly but it is giving error byte >>> code >>> is missing. Please help me out from this problem. What i have done is the >>> following >>> >>> 1) checout the xmlvm from svn in windows based machine. >>> 2) compiled the source using ant script and make the xmlvm.jar >>> 3) cross compiled the existing java program using xmlvm and produced the >>> objective c source code. >>> 4) then shifted the cross compiled source code to mac machine and >>> building >>> the whole thing using xcode as mentioned in the manual.pdf. >>> 5) It gives some error during compilation. Fixed the things and compile >>> it >>> again. >>> 6) Able to execute but the program is giving error at run time "byte code >>> is >>> missing" >>> >>> Pls help me >>> >>> Regards >>> >>> >>> CP Singh >>> >>> ----- Original Message ----- >>> From: "John Comeau" <jc...@un...> >>> To: "Arno Puder" <ar...@pu...> >>> Cc: <xml...@li...> >>> Sent: Saturday, April 16, 2011 01:51 >>> Subject: Re: [xmlvm-users] android.text.method >>> >>> >>>> 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" >>>> >>> >>> >>> >>> -------------------------------------------------------------------------------- >>> >>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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" |