|
|||||||||
|
|||||||||
|
|||
|
Hi All,
I have a Macintosh application which is a .jar file; I want to install this to my iphone 2G (2.1.1). I need to convert this .jar file to apple mobile application. Can some one suggest me on this? LL |
|
|||
|
I pressume by Apple mobile application you mean the ipa format.
The short answer is: you cannot do it. Ipa - is an archive format for iphone/ipod touch native software [to make it simpler let's assume it's compiled C and Objective-C]. Jar - the java archive contains well.... java files but more precisely java source compiled to bytecode. Bytecode is not native code run on the processor. It must be interpreted by the Java Virtual Machine. At the moment Apple does not support any JVM , however there is an open source implementation for jailbroken phones called Classpath[it's available on Cydia].You could try running your jar with classpath. Be warned though that your phone is a memory-constrained device [ 0,125Gb vs 2GB+ on your mac probably] so you may run out of memory quite soon. Besides as far as I know there is no support for Java GUI apps[like AWT or SWING] so this leaves only console programs possible. Hope it helps.
__________________
Game remake |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|