Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > iPhone Developer Exchange

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2009, 02:31 PM
larslofar
Status: Offline
Trial Member
 
Join Date: May 2009
Posts: 1
Rep Power: 0
larslofar is on a distinguished road
Default Converting .jarfile to Apple mobile application

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-29-2009, 12:30 PM
Singaja
Status: Offline
Member
 
Join Date: Oct 2007
Posts: 55
Rep Power: 5
Singaja is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 11:01 PM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105