PhoneGap for Java Developers

What I like about the PhoneGap concept is that you can write a mobile application in HTML, JavaScript, and CSS without needing to care where it will be deployed. But how about writing a native mobile application without needing to care about where it will be deployed?

And how can that even be possible, since by definition a native application is written in a language native to the mobile platform one is interested in, e.g., iOS or Android, for example. So, what you'd need to have is the possibility of writing the application in one language and then somehow converting it so that it can be run on the mobile platform of choice.

That's exactly the promise of Codename One, together with the (very popular) related Codename One NetBeans plugin. Program your application in Java and then have it converted to the mobile platform/s of choice:

Once you choose one of the "Send" menu items above, go to the build server page on codenameone.com, where you can pick up the build that's been created for you:

Interesting solution! The only thing is that it's a bit unclear, of course, what actually happens to my code to convert it to the mobile platform of my choice. Is this a problem, though? I.e., one needs to place a certain degree of trust in Codename One, especially when the application relates to data-sensitive or otherwise confidential software.

Anyway, I'll be taking the Codename One plugin for a ride a bit in the coming weeks, just to see what all the buzz (i.e., really lots of downloads for this plugin so far) is all about.

Comments:

Thanks Geertjan!
Let me also add on the counter point that we have more active users in NetBeans than we do in Eclipse (its possible that this is due to the fact that we push it and use it ourselves).
Its also WAY easier for us to write the NetBeans plugin as opposed to the Eclipse plugin.

Looking forward to a NetBeans port to iOS ;-)

Posted by Shai Almog on August 27, 2013 at 11:15 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today