01/22/2010, 05:59 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Jan 2010
Posts: 5
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hello. I'm a software developer and looking to purchase the Palm Pre. This will not wavier my decision to buy, however, does anyone know if Java ME applications will run on the Pre? I don't care to greatly for JavaScript, and would much prefer to develop applications in a low-level language.
I have searched around, however, I've been unable to find very many answers. It seems my search results render applets and JavaScript answers...which, obviously, is not what I'm looking for. |
01/22/2010, 06:21 AM
|
#3 (permalink) | |
|
Member
![]() Join Date: Jan 2010
Posts: 5
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Thank you for your reply. As far as Java ME apps, I believe EA mobile games are developed in ME. The description on their site includes:
Quote:
|
|
01/22/2010, 06:26 AM
|
#4 (permalink) |
|
Member
![]() Join Date: Sep 2009
Location: London, UK
Posts: 1,609
Likes Received: 3
Thanks: 383
Thanked 891 Times in 345 Posts
|
As I understand it the EA games for the Pre are built using Palm's new PDK - in which case you could probably wrap a J2ME app in the PDK & run it natively. I'm not a developer so I'm not entirely sure of the mechanism, but you can't install .jar/.jad files directly like Symbian & BlackBerry OS allow. So perhaps there is a way but it will take some research
|
01/22/2010, 06:49 AM
|
#5 (permalink) |
|
Member
![]() Join Date: Jan 2010
Posts: 5
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
I see. Thank you very much for your time. Now I at least have a slightly better grasp on it!
I wouldn't have thought Palm would have locked their applications to restrictions of high-level languages and markup languages like JavaScript and HTML...but then again, weirder things have happened... |
01/22/2010, 07:19 AM
|
#7 (permalink) |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
There is java on the webOS, but it's only used for system services and not allowed for official 3rd party usage.
For now, it's only html/css/javascript. Soon, Flash will be supported, as well as PDK (C/C++).
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook |
01/22/2010, 09:30 AM
|
#9 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 314
Likes Received: 1
Thanks: 7
Thanked 47 Times in 28 Posts
|
WebOS is a platform based on web technologies and methodologies. For simple display html, css, and javascript are fine. Just like in a web environment, there are situations where these tools are too weak. For those situations, the web standard is to employ plugins, like java, flash, quicktime, etc. This is the same for webOS. However, at this time, the only plugin available is C and C++ (for a closed set of developers at this tiem). In Feb, the Flash plug in is available. Just like on the web, these plugins can be set with in a body of html information, or fill the entire screen, making the html invisible.
I suspect that as time goes on, plugins for other technologies will come available. Java is a good candidate because Java is already baked in to the OS for behind the scenes functionality. The EA games were originally created for the iphone in Apple's Objective C language, not Java. EA was quickly able to convert them into C and use the C plugin to port them to webOS. This suggests that any app made for the iphone could be quickly ported to webOS. (You hear that Iambic?! Lets see some agendus!)
__________________
Palm 1000 > Palm Pro > Palm III > Palm IIIe X 3 > Palm IIIc > Palm TT > HTC Wizard > HTC Blue Angel > Palm TX > Zier 31 > Palm T3 > Palm Pre > FrankenPre 2 > TouchPad/Droid/Ubuntu > TP/ICS Last edited by japomani; 01/22/2010 at 09:37 AM. |
01/22/2010, 09:44 AM
|
#10 (permalink) |
|
Member
![]() Join Date: Jan 2010
Posts: 5
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
This is sort of disappointing to me then. I was confused when Palm was so slow to adopt Java in the PalmOS, and am once again confused as to why the delay in giving developers the tools they need to provide great applications to the Palm community.
On a positive note, I was happy to see them waviering any fees to open source developers. This is encouraging. I always love to see a company support OSS developers! ![]() However, thank you all for helping me sort through this rather confusing issue. I'm looking forward to the adoption of Java and C/C++ SDKs! Also, excellent replies. I'm impressed on how quickly my thread was replied to, and how high quality the responses were. This seems to be an excellent community for webOS! |
01/22/2010, 09:48 AM
|
#11 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Austria
Posts: 298
Likes Received: 4
Thanks: 128
Thanked 64 Times in 38 Posts
|
Quote:
I also think that Palms PDK does nativly support Objective C aswell, so there isn't even any "conversion" of the code required. |
|
01/22/2010, 09:53 AM
|
#12 (permalink) |
|
Member
![]() Join Date: Aug 2009
Location: Katy, TX
Posts: 933
Likes Received: 27
Thanks: 152
Thanked 88 Times in 70 Posts
|
As I understand it, Objective C really is an extension of C, as opposed to C++ which is a different language that is based in C. Objective C is compiled by standard gcc, I believe, whereas C++ is compiled by g++ (when using the Gnu compiler chain, of course).
|
01/22/2010, 01:56 PM
|
#14 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 435
Likes Received: 0
Thanks: 60
Thanked 38 Times in 29 Posts
|
Quote:
|
|
01/22/2010, 02:08 PM
|
#15 (permalink) |
|
Member
![]() Join Date: Jun 2007
Posts: 1,905
Likes Received: 7
Thanks: 76
Thanked 105 Times in 82 Posts
|
The compiler for the PDK is gcc which can compile C, C++ and Objective C. So Yes, you should be able to compiler Objective C code to run on the Pre using the PDK. No support for Java though so you are on your own there.
|
04/13/2010, 03:00 PM
|
#16 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 7
Likes Received: 0
Thanks: 0
Thanked 6 Times in 1 Post
|
Given there there is a VM already on the Pre and running ALL the time, I see no reason that you couldn't do some C++ JNI trickery to envoke Java apps while still supporting the callbacks required by the PDK. I've done things like that on other platforms...all it would take is a set of wrapper functions and a few other bits of awesomeness. Not sure if the VM we're rocking supports swing and the full UI toolset though.
Chris |
06/02/2010, 08:28 AM
|
#17 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: near Paris - France
Posts: 32
Likes Received: 1
Thanks: 2
Thanked 10 Times in 7 Posts
|
Quote:
You can find a lot of informations about Java support in webOS here : Java Support in webOS - WebOS Internals There is no J2ME suport in webOS, but the only solution could be to use Microemu ( MicroEmulator - Overview )to add it. |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



