You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(29) |
Aug
(75) |
Sep
(32) |
Oct
(147) |
Nov
(31) |
Dec
(49) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(46) |
Feb
(35) |
Mar
(148) |
Apr
(33) |
May
(53) |
Jun
(46) |
Jul
(60) |
Aug
(44) |
Sep
(135) |
Oct
(23) |
Nov
(68) |
Dec
(42) |
2011 |
Jan
(94) |
Feb
(55) |
Mar
(114) |
Apr
(78) |
May
(64) |
Jun
(10) |
Jul
(31) |
Aug
(2) |
Sep
(25) |
Oct
(13) |
Nov
(8) |
Dec
(24) |
2012 |
Jan
(5) |
Feb
(33) |
Mar
(31) |
Apr
(19) |
May
(24) |
Jun
(23) |
Jul
(14) |
Aug
(15) |
Sep
(12) |
Oct
(3) |
Nov
(4) |
Dec
(19) |
2013 |
Jan
(8) |
Feb
(20) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(4) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Wolfgang K. <wol...@xm...> - 2010-02-18 08:49:16
|
Candice, thanks for your interest in XMLVM. Currently we focus on cross-compiling Android to iPhone. J2ME is not a platform we currently support and we do not have any plans to do so. There have been some discussions on the mailing list about J2ME support. And one final note - please use the mailing list to post questions. This ensures that the community can benefit from our answers or even can help you as well. Kind regards Wolfgang Candice Schouten wrote: > > To whom it may concern > > > > I would like to enquire whether XMLVM supports J2ME. > > We have developed a midlet application using J2ME and I would like to > convert the application for use on the iPhone. > > Do you know if this is at all possible with your current version of XMLVM? > > > > Regards > > Candice > > > > > > > ************************************************************************************************ > Relevant company email disclaimers are available at the following address: > www.applxbridge.com/email_disclaimers.aspx > ************************************************************************************************ > > > |
From: Michael M. <mo...@gm...> - 2010-02-18 01:07:41
|
Not yet. Have been working on it to teach myself Cocoa. Was trying to figure out how I wanted to deal with different resolutions and pixel independent element placement. Creating tools/languages to make certain niche programs easy to make was always a hobby of mine. Have considered them for iPhone but partly avoided because of the scripting rule. A bit unsure how much user- defined content/control is allowed before it counts as scripting. Thanks, Michael McGlothlin On Feb 17, 2010, at 3:21 PM, Sascha Haeberling <sa...@xm...> wrote: > Hi Michael, > > your storybook idea sounds interesting. And it seems like an > interesting candidate for XMLVM, as I guess the Anfroid APIs you > would use are not too many. > > Do you already have the iPhone version on the AppStore? I would love > to take a look at it! > > // Sascha > > On Wed, Feb 17, 2010 at 8:10 PM, Michael <mo...@gm...> wrote: > My first goal is to rewrite my storybook creator lib I've been working > on from Obj-C to Android and then make sure the books work on Android > and iPhone. It basically takes an XML file that let's you define an > interactive childrens book without actually coding anything other than > a few rules like defining animations and what events start/stop them > and layer them into pages of a book-like app. Not really a game > programming language but could be an easy way to make apps of this > type. > > Flash and PHP I think would be good because they are sort of the Basic > or Logo people learn first these days and are basically easy to learn > and use. > > --- > --- > --- > --------------------------------------------------------------------- > SOLARIS 10 is the OS for Data Centers - provides features such as > DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Sascha H. <sa...@xm...> - 2010-02-17 22:22:24
|
Hi Michael, your storybook idea sounds interesting. And it seems like an interesting candidate for XMLVM, as I guess the Anfroid APIs you would use are not too many. Do you already have the iPhone version on the AppStore? I would love to take a look at it! // Sascha On Wed, Feb 17, 2010 at 8:10 PM, Michael <mo...@gm...> wrote: > My first goal is to rewrite my storybook creator lib I've been working > on from Obj-C to Android and then make sure the books work on Android > and iPhone. It basically takes an XML file that let's you define an > interactive childrens book without actually coding anything other than > a few rules like defining animations and what events start/stop them > and layer them into pages of a book-like app. Not really a game > programming language but could be an easy way to make apps of this > type. > > Flash and PHP I think would be good because they are sort of the Basic > or Logo people learn first these days and are basically easy to learn > and use. > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Michael <mo...@gm...> - 2010-02-17 19:10:32
|
My first goal is to rewrite my storybook creator lib I've been working on from Obj-C to Android and then make sure the books work on Android and iPhone. It basically takes an XML file that let's you define an interactive childrens book without actually coding anything other than a few rules like defining animations and what events start/stop them and layer them into pages of a book-like app. Not really a game programming language but could be an easy way to make apps of this type. Flash and PHP I think would be good because they are sort of the Basic or Logo people learn first these days and are basically easy to learn and use. |
From: Sascha H. <sa...@gm...> - 2010-02-17 17:09:28
|
Hi Michael! Welcome to the list! :) See comments inline: On Wed, Feb 17, 2010 at 5:49 PM, Michael McGlothlin <mo...@gm...>wrote: > New to XMLVM and the list. It sounds like an interesting project. I've > been teaching myself Android and iPhone programming for about a year > in my spare time. > > Have you considered making Flash transcode to XMLVM? I don't do much > with it but that'd open doors to Android and iPhone for many > developers I think. > Flash is not on our list of things to support. And as Flash is coming to Android soon, I don't think this is something worth considering. It would be a huge amount of work that would probably take many years to support something like Flash for us. > > I was also thinking this somewhat applies to the new HipHop PHP to C++ > translator. Maybe seeing what they did could help improve the C++ > support and add PHP as an input language. > I don't see how PHP would be an interesting input language for creating standalone mobile apps. PHP is a server-side technology. If you develop a web-app nowadays you can create JS-based apps that make use of offline-storage (HTML5/Gears) that will run on your phone, even if it is not online. PHP doesn't have the necessary APIs to be used for dynamic client-side code, I think. But I might be wrong. But in any way, we are not planning to support PHP in XMLVM ourselves. > > Any custom languages created for this yet? Seems ideal for a game > oriented language like Zillions or Game Creator. > I don't know these two in detail but have heard of them. In general I would say, that such APIs/languages are an interesting target, but I would need to see them in detail to determine whether they are a good fit with Android/iPhone. One thing to keep in mind with all of the things you mentioned above: There are always two things you need to do in order to allow cross-compilation of apps: First thing is the cross-compilation of the actual logic/instructions. Depending on the language, that is usually not so hard. Example: We just changed XMLVM to use the DEX bytecode and re-wrote our ObjC and JS output mapping to use that new language and it was basically done in three months by two people, who didn't work on it full-time. However, there is a second step that is essential for a cross-compilation to succeed: You need to have the API available in your target-platform. So, e.g. if you want to support Flash, you need to have the whole Flash API available on the target platform, same for PHP and same for every other language. And that's really the hard part that will take an extraordinary amount of time! The reason we are currently focusing on Android, is because the API is perfect for cross-compiling it to the iPhone, because the devices and APIs are similar. We cannot spread ourselves to thin and try supporting every language out there. And one final note: The core XMLVM team is not big, so our resources are limited. So if you would like to have support for language X and target Y in XMLVM, we would be happy to have you as a contributor for this. :) Right now, the focus of the XMLVM developers is on the Android-to-iPhone and Android-to-WebOS pipelines. // Sascha > > Thanks, > Michael McGlothlin > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Michael M. <mo...@gm...> - 2010-02-17 16:50:41
|
New to XMLVM and the list. It sounds like an interesting project. I've been teaching myself Android and iPhone programming for about a year in my spare time. Have you considered making Flash transcode to XMLVM? I don't do much with it but that'd open doors to Android and iPhone for many developers I think. I was also thinking this somewhat applies to the new HipHop PHP to C++ translator. Maybe seeing what they did could help improve the C++ support and add PHP as an input language. Any custom languages created for this yet? Seems ideal for a game oriented language like Zillions or Game Creator. Thanks, Michael McGlothlin |
From: Gergely K. <ger...@ma...> - 2010-02-08 10:51:04
|
Hi, Did anyone have success with the Clang Static Analyzer? It seems that it does not like the way we use @class to resolve circular includes. In particular it does not seem to like when we do this: @class java_lang_String and then later: typedef NSString java_lang_String Best Regards, Gergely -- Kis Gergely MattaKis Consulting Email: ger...@ma... Web: http://www.mattakis.com Phone: +36 70 408 1723 Fax: +36 27 998 622 |
From: Arno P. <ar...@pu...> - 2010-02-08 04:49:58
|
The error seems to indicate that AndroidManifest.xml could not be found. Make sure it is in the classpath because we use getResourceAsStream() to load it. Arno On 2/7/10 2:45 PM, Steve Johnson wrote: > Hello, > I am a new XMLVM user. I have successfully installed SVN and Eclipse. I > was able to compile and run many project apps (iFireworks, iHelloWorld, > IRemote, etc.). > > However, if I attempt to run any Android project apps, I immediately get > the following error: > > Exception in thread "main" java.lang.NullPointerException > at org.xmlvm.iphone.NSXMLParser.parse(NSXMLParser.java:77) > at android.internal.AndroidManifest.<init>(AndroidManifest.java:112) > at > android.internal.ActivityManager.bootstrapMainActivity(ActivityManager.java:118) > at android.internal.AndroidAppLauncher.main(AndroidAppLauncher.java:30) > > Any help would be greatly appreciated :D > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Steve J. <cap...@gm...> - 2010-02-07 22:45:26
|
Hello, I am a new XMLVM user. I have successfully installed SVN and Eclipse. I was able to compile and run many project apps (iFireworks, iHelloWorld, IRemote, etc.). However, if I attempt to run any Android project apps, I immediately get the following error: Exception in thread "main" java.lang.NullPointerException at org.xmlvm.iphone.NSXMLParser.parse(NSXMLParser.java:77) at android.internal.AndroidManifest.<init>(AndroidManifest.java:112) at android.internal.ActivityManager.bootstrapMainActivity(ActivityManager.java:118) at android.internal.AndroidAppLauncher.main(AndroidAppLauncher.java:30) Any help would be greatly appreciated :D |
From: Sascha H. <sa...@xm...> - 2010-02-03 21:33:46
|
Hi Lennie, thank you for your interest in XMLVM. It is absolutely possible to use XMLVM for a commercial product. For a contribution to the project, we will grant you a linking exception that will allow you to publish an app that is linked against XMLVM code, without releasing your source code to the public. This contribution can e.g. be source code, if you would like to help us out with improving the project. // Sascha On Wed, Feb 3, 2010 at 7:56 PM, Lennie De Villiers <len...@gm...>wrote: > Hi, > > If I'm going to development a commercial product that use XMLVM, can I > distribute it and make money out of it or does the XMLVM license > prevent that? > > Kind Regards, > > Lennie De Villiers > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Lennie De V. <len...@gm...> - 2010-02-03 18:57:02
|
Hi, If I'm going to development a commercial product that use XMLVM, can I distribute it and make money out of it or does the XMLVM license prevent that? Kind Regards, Lennie De Villiers |
From: Dr. A. K. S. <al...@se...> - 2010-02-03 14:51:45
|
I've just finished porting my application - we're starting beta test right now. On the way, I've checked for SDK compatibility. It seems that the whole xmlvm framework is compatible with iPhone SDK >= 2.2.1. Below this the AVFramework is missing which may be a lot of work to replace - I don't know. A few functions need to be commented out, e.g. functions for translucency, but these are minor changes. However for 2.2.1 some internal iPhone math functions seem to be buggy - a test of the audio analysis kernel gives the expected result in the emulator, but wrong numbers on the device. So the version where everything works fine is iPhone OS >= 3.0 . It is necessary to use the Release build with GCC 4.2 optimization set to the highest level (= 9) to get about the same execution speed as on an Android device. With default optimization (= s) it is about twice as slow on the device. The emulator runs much too fast. Best, Alex -- Dr. Alexander K. Seewald Seewald Solutions www.seewald.at Tel. +43(664)1106886 Fax. +43(1)2533033/2764 |
From: Dr. A. K. S. <al...@se...> - 2010-02-01 10:03:58
|
Sorry, that was a mistake from my side. Now I know that the java code gives the interface and the objectiveC directory gives the actual code to be run on the device. I did adapt the java classes when additional methods were needed (such as UIAlertView.show() and dismiss()), but only did the implementation in the objectiveC code - hope that's ok. Best, Alex On Mon, Feb 01, 2010 at 08:22:09AM +0000, xml...@li... wrote: > Send xmlvm-users mailing list submissions to > xml...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > or, via email, send a message with subject or body 'help' to > xml...@li... > > You can reach the person managing the list at > xml...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of xmlvm-users digest..." > > > Today's Topics: > > 1. Re: Android textSize, textColor, background tags (in > activity.xml) (Arno Puder) > 2. localized strings et al. (Dr. Alexander K. Seewald) > 3. iPad SDK Support? (Lennie De Villiers) > 4. Re: iPad SDK Support? (Sascha Haeberling) > 5. Re: iPad SDK Support? (Arno Puder) > 6. Camera-Methods (Christian Mansch) > 7. Re: Camera-Methods (Arno Puder) > 8. IPad Support (len...@gm...) > 9. Unicode characters in Java Strings when compiling to > Objective C. (William Woody) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 21 Jan 2010 16:39:15 -0800 > From: Arno Puder <ar...@pu...> > Subject: Re: [xmlvm-users] Android textSize, textColor, background > tags (in activity.xml) > To: xml...@li... > Message-ID: <4B5...@pu...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > of course it shouldn't happen if the Java and Objective-C side are out > of sync. Can you give an example? I would expect a segfault in that case. > > Arno > > > Dr. Alexander K. Seewald wrote: > > Hi all, > > > > I've just implemented the textColor and textSize tags for Android, > > and extended the background tag to take simple color names as well > > as the #FF123456 hex code notation (alpha,r,g,b)... again a > > scattering of small changes. > > > > The xmlvm/src/xmlvm2objc/compat-lib/ directory has java and objc > > subdirectories which do not seem to be synchronized. Initially I > > implemented parts in Java and then found out that this has no effect > > when compiling for iPhone... so I implemented the objc parts as well. > > > > Is it deliberately done that the code in the java directory is not > > compiled via xmlvm to objc code? Would it be possible to convert > > specific java files to save on half the development effort? ;-) > > > > Best, > > Alex > > > > ------------------------------ > > Message: 2 > Date: Fri, 22 Jan 2010 15:46:51 +0100 > From: "Dr. Alexander K. Seewald" <al...@se...> > Subject: [xmlvm-users] localized strings et al. > To: xml...@li... > Message-ID: <201...@sd...> > Content-Type: text/plain; charset=us-ascii > > Hi, > > I've just uploaded another patch set that supports localized > strings (via getString() and in the activity.xml file) and the > textSize/Color/Background tags. > > I found that the mapping of java strings is slightly incorrect: the > strings from... > return stringMap.get(new Integer(id)).replaceAll("\\\\n","\\n").replaceAll("\\",""); > > get mapped like this: > \\n -> @"\n" (i.e. the line feed character 0x0a - a string of > length 1) > \\\\n -> @"\\n" (i.e. '\n' - two characters, one backslash followed > by 'n') > \\ -> @"\" > - the last of which gives an error during compilation. The others > seem ok. > > Similar to the float and double constants NaN which need to be > called NAN in objectiveC, this can be solved by postprocessing with > vi... > vi Target.m -c ':%s/NaN/NAN/' -c ':%s/@"\\"/@"\\\\"/' -c ':wq' > > Best, > Alex > -- > Dr. Alexander K. Seewald > > Seewald Solutions > www.seewald.at > Tel. +43(664)1106886 > Fax. +43(1)2533033/2764 > > > > ------------------------------ > > Message: 3 > Date: Thu, 28 Jan 2010 15:47:41 +0200 > From: Lennie De Villiers <len...@gm...> > Subject: [xmlvm-users] iPad SDK Support? > To: xml...@li... > Message-ID: > <a9c...@ma...> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > Will XMLVM support the iPad SDK? > > cheers > > Lennie > > -- > Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ > > > > ------------------------------ > > Message: 4 > Date: Thu, 28 Jan 2010 16:01:23 +0100 > From: Sascha Haeberling <sa...@xm...> > Subject: Re: [xmlvm-users] iPad SDK Support? > To: Lennie De Villiers <len...@gm...> > Cc: xml...@li... > Message-ID: > <709...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > I was waiting for that question! :D > > Well, I haven't actually looked at the iPad SDK yet. Fact of the matter is, > that iPhone application will just run. So every app compiled with XMLVM > should run on an iPad. > > Keep in mind that our primary goal right now is cross-compiling Android > Apps. So the question is, does the iPad API have any functionality that > Android already has but the iPhone doesn't. I think it will definitely get > interesting in terms of skaling, especially when we see Android Netbooks and > tablets out there, that don't have that small phone screen. Then you might > think about targeting the iPad specifically. At the moment, with just > Android phones, I don't think you would target the iPad, except for the > iPhone compatibility mode. > > But that just my first assumption/analysis. > > // Sascha > > On Thu, Jan 28, 2010 at 2:47 PM, Lennie De Villiers <len...@gm...>wrote: > > > Hi, > > > > Will XMLVM support the iPad SDK? > > > > cheers > > > > Lennie > > > > -- > > Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ > > > > > > ------------------------------------------------------------------------------ > > The Planet: dedicated and managed hosting, cloud storage, colocation > > Stay online with enterprise data centers and the best network in the > > business > > Choose flexible plans and management services without long-term contracts > > Personal 24x7 support from experience hosting pros just a phone call away. > > http://p.sf.net/sfu/theplanet-com > > _______________________________________________ > > xmlvm-users mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 5 > Date: Thu, 28 Jan 2010 10:35:45 -0800 > From: Arno Puder <ar...@pu...> > Subject: Re: [xmlvm-users] iPad SDK Support? > To: xml...@li... > Message-ID: <4B6...@pu...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > we'll have to take a closer look at the SDK. I would assume that it is > not that much different from the regular iPhone OS API. I think XMLVM is > in a good position to target the iPad. We already support Android's > layout managers which make is much easier to write apps for different > screen resolutions. > > One bigger TODO that comes to mind is our own Java Emulator. That would > need to be changed for the iPad. > > Arno > > > On 1/28/10 5:47 AM, Lennie De Villiers wrote: > > Hi, > > > > Will XMLVM support the iPad SDK? > > > > cheers > > > > Lennie > > > > > > ------------------------------ > > Message: 6 > Date: Sat, 30 Jan 2010 14:56:41 +0100 > From: Christian Mansch <c.m...@we...> > Subject: [xmlvm-users] Camera-Methods > To: xml...@li... > Message-ID: <989...@we...> > Content-Type: text/plain; charset=iso-8859-15 > > Hello, > > is it possible to use the some camera-functions in xmlvm? > or is it not currently not implemented? > > Greetings Chris > ________________________________________________________________ > Nur noch bis 31.01.2010: DSL Komplettpaket f?r 16,99 Euro/mtl.!* > http://produkte.web.de/go/02/ > > > > > ------------------------------ > > Message: 7 > Date: Sat, 30 Jan 2010 10:01:35 -0800 > From: Arno Puder <ar...@pu...> > Subject: Re: [xmlvm-users] Camera-Methods > To: xml...@li... > Message-ID: <4B6...@pu...> > Content-Type: text/plain; charset=ISO-8859-15; format=flowed > > > XMLVM currently does not support the camera API, but it shouldn't be > overly hard to implement. > > Arno > > > On 1/30/10 5:56 AM, Christian Mansch wrote: > > Hello, > > > > is it possible to use the some camera-functions in xmlvm? > > or is it not currently not implemented? > > > > Greetings Chris > > ________________________________________________________________ > > Nur noch bis 31.01.2010: DSL Komplettpaket f?r 16,99 Euro/mtl.!* > > http://produkte.web.de/go/02/ > > > > > > ------------------------------------------------------------------------------ > > The Planet: dedicated and managed hosting, cloud storage, colocation > > Stay online with enterprise data centers and the best network in the business > > Choose flexible plans and management services without long-term contracts > > Personal 24x7 support from experience hosting pros just a phone call away. > > http://p.sf.net/sfu/theplanet-com > > _______________________________________________ > > xmlvm-users mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > ------------------------------ > > Message: 8 > Date: Sat, 30 Jan 2010 19:47:28 +0000 > From: len...@gm... > Subject: [xmlvm-users] IPad Support > To: xml...@li... > Message-ID: > <122...@bd...duk.on.blackberry> > > Content-Type: text/plain > > Hi, am gonna start on ipad sdk support. > Sent via my BlackBerry from Vodacom - let your email find you! > > > > ------------------------------ > > Message: 9 > Date: Mon, 1 Feb 2010 00:21:41 -0800 > From: William Woody <wo...@al...> > Subject: [xmlvm-users] Unicode characters in Java Strings when > compiling to Objective C. > To: xml...@li... > Message-ID: <20E...@al...> > Content-Type: text/plain; charset="us-ascii" > > I'm using XMLVM to cross-compile some math routines to be embedded into an iPhone/iPad application. One of the problems I ran across was that when a unicode character was added as part of a Java string ("\uxxxx"), it was being emitted in the Objective C code as "\xxxxx", with the characters as octal characters. > > The following change causes characters to be output as unicode characters instead: > > Around lines 812-822 of DEXmlvmOutputProcess.java (org.xmlvm.proc.out), replace: > > } else if (constant instanceof CstString) { > CstString cstString = (CstString) constant; > String valueOriginal = cstString.getString().getString(); > String value = ""; > // Convert special characters in string to octal notation > for (int i = 0; i < valueOriginal.length(); i++) { > char ch = valueOriginal.charAt(i); > value += (ch < ' ' || ch > 'z') ? String.format("\\%03o", new Integer(ch)) > : ch; > } > dexInstruction.setAttribute("value", value); > > with > > } else if (constant instanceof CstString) { > CstString cstString = (CstString) constant; > String valueOriginal = cstString.getString().getString(); > String value = ""; > // Convert special characters in string to octal notation > for (int i = 0; i < valueOriginal.length(); i++) { > char ch = valueOriginal.charAt(i); > value += (ch < ' ' || ch > 'z') ? String.format("\\u%04x", new Integer(ch)) > // ^^^^^^^^^^ Change here. > : ch; > } > dexInstruction.setAttribute("value", value); > > > > Of course this is sub-optimal, given that this only works if targeting Objective C platforms, where "\uxxxx" is an accepted unicode character escape. But I'm putting it out there for what it's worth. > > - Bill Woody > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 4667 bytes > Desc: not available > > ------------------------------ > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > > ------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > End of xmlvm-users Digest, Vol 8, Issue 1 > ***************************************** |
From: William W. <wo...@al...> - 2010-02-01 08:22:08
|
I'm using XMLVM to cross-compile some math routines to be embedded into an iPhone/iPad application. One of the problems I ran across was that when a unicode character was added as part of a Java string ("\uxxxx"), it was being emitted in the Objective C code as "\xxxxx", with the characters as octal characters. The following change causes characters to be output as unicode characters instead: Around lines 812-822 of DEXmlvmOutputProcess.java (org.xmlvm.proc.out), replace: } else if (constant instanceof CstString) { CstString cstString = (CstString) constant; String valueOriginal = cstString.getString().getString(); String value = ""; // Convert special characters in string to octal notation for (int i = 0; i < valueOriginal.length(); i++) { char ch = valueOriginal.charAt(i); value += (ch < ' ' || ch > 'z') ? String.format("\\%03o", new Integer(ch)) : ch; } dexInstruction.setAttribute("value", value); with } else if (constant instanceof CstString) { CstString cstString = (CstString) constant; String valueOriginal = cstString.getString().getString(); String value = ""; // Convert special characters in string to octal notation for (int i = 0; i < valueOriginal.length(); i++) { char ch = valueOriginal.charAt(i); value += (ch < ' ' || ch > 'z') ? String.format("\\u%04x", new Integer(ch)) // ^^^^^^^^^^ Change here. : ch; } dexInstruction.setAttribute("value", value); Of course this is sub-optimal, given that this only works if targeting Objective C platforms, where "\uxxxx" is an accepted unicode character escape. But I'm putting it out there for what it's worth. - Bill Woody |
From: <len...@gm...> - 2010-01-30 19:44:17
|
Hi, am gonna start on ipad sdk support. Sent via my BlackBerry from Vodacom - let your email find you! |
From: Arno P. <ar...@pu...> - 2010-01-30 18:29:49
|
XMLVM currently does not support the camera API, but it shouldn't be overly hard to implement. Arno On 1/30/10 5:56 AM, Christian Mansch wrote: > Hello, > > is it possible to use the some camera-functions in xmlvm? > or is it not currently not implemented? > > Greetings Chris > ________________________________________________________________ > Nur noch bis 31.01.2010: DSL Komplettpaket für 16,99 Euro/mtl.!* > http://produkte.web.de/go/02/ > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Christian M. <c.m...@we...> - 2010-01-30 13:56:50
|
Hello, is it possible to use the some camera-functions in xmlvm? or is it not currently not implemented? Greetings Chris ________________________________________________________________ Nur noch bis 31.01.2010: DSL Komplettpaket für 16,99 Euro/mtl.!* http://produkte.web.de/go/02/ |
From: Arno P. <ar...@pu...> - 2010-01-28 18:58:43
|
we'll have to take a closer look at the SDK. I would assume that it is not that much different from the regular iPhone OS API. I think XMLVM is in a good position to target the iPad. We already support Android's layout managers which make is much easier to write apps for different screen resolutions. One bigger TODO that comes to mind is our own Java Emulator. That would need to be changed for the iPad. Arno On 1/28/10 5:47 AM, Lennie De Villiers wrote: > Hi, > > Will XMLVM support the iPad SDK? > > cheers > > Lennie > |
From: Sascha H. <sa...@xm...> - 2010-01-28 15:01:51
|
I was waiting for that question! :D Well, I haven't actually looked at the iPad SDK yet. Fact of the matter is, that iPhone application will just run. So every app compiled with XMLVM should run on an iPad. Keep in mind that our primary goal right now is cross-compiling Android Apps. So the question is, does the iPad API have any functionality that Android already has but the iPhone doesn't. I think it will definitely get interesting in terms of skaling, especially when we see Android Netbooks and tablets out there, that don't have that small phone screen. Then you might think about targeting the iPad specifically. At the moment, with just Android phones, I don't think you would target the iPad, except for the iPhone compatibility mode. But that just my first assumption/analysis. // Sascha On Thu, Jan 28, 2010 at 2:47 PM, Lennie De Villiers <len...@gm...>wrote: > Hi, > > Will XMLVM support the iPad SDK? > > cheers > > Lennie > > -- > Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Lennie De V. <len...@gm...> - 2010-01-28 14:13:14
|
Hi, Will XMLVM support the iPad SDK? cheers Lennie -- Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ |
From: Dr. A. K. S. <al...@se...> - 2010-01-22 14:47:13
|
Hi, I've just uploaded another patch set that supports localized strings (via getString() and in the activity.xml file) and the textSize/Color/Background tags. I found that the mapping of java strings is slightly incorrect: the strings from... return stringMap.get(new Integer(id)).replaceAll("\\\\n","\\n").replaceAll("\\",""); get mapped like this: \\n -> @"\n" (i.e. the line feed character 0x0a - a string of length 1) \\\\n -> @"\\n" (i.e. '\n' - two characters, one backslash followed by 'n') \\ -> @"\" - the last of which gives an error during compilation. The others seem ok. Similar to the float and double constants NaN which need to be called NAN in objectiveC, this can be solved by postprocessing with vi... vi Target.m -c ':%s/NaN/NAN/' -c ':%s/@"\\"/@"\\\\"/' -c ':wq' Best, Alex -- Dr. Alexander K. Seewald Seewald Solutions www.seewald.at Tel. +43(664)1106886 Fax. +43(1)2533033/2764 |
From: Arno P. <ar...@pu...> - 2010-01-22 02:25:07
|
of course it shouldn't happen if the Java and Objective-C side are out of sync. Can you give an example? I would expect a segfault in that case. Arno Dr. Alexander K. Seewald wrote: > Hi all, > > I've just implemented the textColor and textSize tags for Android, > and extended the background tag to take simple color names as well > as the #FF123456 hex code notation (alpha,r,g,b)... again a > scattering of small changes. > > The xmlvm/src/xmlvm2objc/compat-lib/ directory has java and objc > subdirectories which do not seem to be synchronized. Initially I > implemented parts in Java and then found out that this has no effect > when compiling for iPhone... so I implemented the objc parts as well. > > Is it deliberately done that the code in the java directory is not > compiled via xmlvm to objc code? Would it be possible to convert > specific java files to save on half the development effort? ;-) > > Best, > Alex |
From: Sascha H. <sa...@xm...> - 2010-01-21 16:23:51
|
Socket-network communication is not supported at this point, however, I know that some HTTP-level communication works. Arno is much better to answer these questions, as he takes care of most of the Objective-C code. You can check what is supported here: http://xmlvm.svn.sourceforge.net/viewvc/xmlvm/trunk/xmlvm/src/android2iphone/android/ http://xmlvm.svn.sourceforge.net/viewvc/xmlvm/trunk/xmlvm/src/xmlvm2objc/compat-lib/ // Sascha 2010/1/20 Pavel Aksonov <ak...@gm...> > Thank you for the information, where i can find list what is supported and > what is not? > Is socket-network communication supported? > > Maybe i could help here, but i'm not familiar with Objective-C... > > > 20.01.2010, в 17:11, Sascha Haeberling написал(а): > > Hi Pavel, > > we don't have an Android SDK version we fully support, and I don't think we > are anywhere close to that at this point. > > From the logs your provided I can see, that there are compatibility classes > missing, for example for android.text.Editable and others, that first need > to be implemented. > > // Sascha > > 2010/1/20 Pavel Aksonov <ak...@gm...> > >> I've tried to convert to iPhone next android app (XMPP sample) but >> unsuccessfully. >> >> http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ >> >> Could someone help? What android SDK version is supported? What could be >> done to fix it? >> >> >> I've extract smack classes from smack.jar but still errors, there is tail >> of long log >> >> gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 >> -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type >> -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 -isysroot >> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk >> -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -Isrc/lib/iphone >> -Isrc/lib/android -Isrc/app -c >> src/app/org_apache_android_xmpp_SettingsDialog.m -o >> build/obj/app/org_apache_android_xmpp_SettingsDialog.o >> src/app/org_apache_android_xmpp_SettingsDialog.m:9:34: error: >> android_text_Editable.h: No such file or directory >> In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: >> src/app/org_jivesoftware_smack_ConnectionConfiguration.h:3:32: error: >> java_lang_Cloneable.h: No such file or directory >> In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: >> src/app/org_jivesoftware_smack_ConnectionConfiguration.h:23: error: cannot >> find protocol declaration for ‘java_lang_Cloneable’ >> src/app/org_apache_android_xmpp_SettingsDialog.m: In function >> ‘-[org_apache_android_xmpp_SettingsDialog >> __init_org_apache_android_xmpp_SettingsDialog___org_apache_android_xmpp_XMPPClient:]’: >> src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: >> ‘android_app_Dialog’ may not respond to >> ‘-__init_android_app_Dialog___android_content_Context:’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: (Messages >> without a matching method signature >> src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: will be >> assumed to return ‘id’ and accept >> src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘...’ as >> arguments.) >> src/app/org_apache_android_xmpp_SettingsDialog.m: In function >> ‘-[org_apache_android_xmpp_SettingsDialog onStart__]’: >> src/app/org_apache_android_xmpp_SettingsDialog.m:79: warning: >> ‘android_app_Dialog’ may not respond to ‘-onStart__’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:81: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to >> ‘-setContentView___int:’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:82: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-getWindow__’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:86: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to >> ‘-setTitle___java_lang_CharSequence:’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:88: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to >> ‘-findViewById___int:’ >> src/app/org_apache_android_xmpp_SettingsDialog.m: In function >> ‘-[org_apache_android_xmpp_SettingsDialog getText___int:]’: >> src/app/org_apache_android_xmpp_SettingsDialog.m:243: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to >> ‘-findViewById___int:’ >> make: *** [build/obj/app/org_apache_android_xmpp_SettingsDialog.o] Error 1 >> >> >> >> >> ------------------------------------------------------------------------------ >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues >> through >> interactions with peers, luminaries and emerging and established >> companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > > > |
From: Dr. A. K. S. <al...@se...> - 2010-01-21 14:06:42
|
Hi all, I've just implemented the textColor and textSize tags for Android, and extended the background tag to take simple color names as well as the #FF123456 hex code notation (alpha,r,g,b)... again a scattering of small changes. The xmlvm/src/xmlvm2objc/compat-lib/ directory has java and objc subdirectories which do not seem to be synchronized. Initially I implemented parts in Java and then found out that this has no effect when compiling for iPhone... so I implemented the objc parts as well. Is it deliberately done that the code in the java directory is not compiled via xmlvm to objc code? Would it be possible to convert specific java files to save on half the development effort? ;-) Best, Alex -- Dr. Alexander K. Seewald Seewald Solutions www.seewald.at Tel. +43(664)1106886 Fax. +43(1)2533033/2764 |
From: Pavel A. <ak...@gm...> - 2010-01-20 20:23:38
|
Thank you for the information, where i can find list what is supported and what is not? Is socket-network communication supported? Maybe i could help here, but i'm not familiar with Objective-C... 20.01.2010, в 17:11, Sascha Haeberling написал(а): > Hi Pavel, > > we don't have an Android SDK version we fully support, and I don't think we are anywhere close to that at this point. > > From the logs your provided I can see, that there are compatibility classes missing, for example for android.text.Editable and others, that first need to be implemented. > > // Sascha > > 2010/1/20 Pavel Aksonov <ak...@gm...> > I've tried to convert to iPhone next android app (XMPP sample) but unsuccessfully. > > http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ > > Could someone help? What android SDK version is supported? What could be done to fix it? > > > I've extract smack classes from smack.jar but still errors, there is tail of long log > > gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -Isrc/lib/iphone -Isrc/lib/android -Isrc/app -c src/app/org_apache_android_xmpp_SettingsDialog.m -o build/obj/app/org_apache_android_xmpp_SettingsDialog.o > src/app/org_apache_android_xmpp_SettingsDialog.m:9:34: error: android_text_Editable.h: No such file or directory > In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: > src/app/org_jivesoftware_smack_ConnectionConfiguration.h:3:32: error: java_lang_Cloneable.h: No such file or directory > In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: > src/app/org_jivesoftware_smack_ConnectionConfiguration.h:23: error: cannot find protocol declaration for ‘java_lang_Cloneable’ > src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog __init_org_apache_android_xmpp_SettingsDialog___org_apache_android_xmpp_XMPPClient:]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘android_app_Dialog’ may not respond to ‘-__init_android_app_Dialog___android_content_Context:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: (Messages without a matching method signature > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: will be assumed to return ‘id’ and accept > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘...’ as arguments.) > src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog onStart__]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:79: warning: ‘android_app_Dialog’ may not respond to ‘-onStart__’ > src/app/org_apache_android_xmpp_SettingsDialog.m:81: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-setContentView___int:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:82: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-getWindow__’ > src/app/org_apache_android_xmpp_SettingsDialog.m:86: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-setTitle___java_lang_CharSequence:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:88: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-findViewById___int:’ > src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog getText___int:]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:243: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-findViewById___int:’ > make: *** [build/obj/app/org_apache_android_xmpp_SettingsDialog.o] Error 1 > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |