Three Reasons Why Your Next Java ME Mobile Application Should Include JavaFX Mobile

By Bruce Hopkins

Let's assume that you're in the middle of your development cycle, and you realize that your mobile application needs to perform some very important but non-GUI-related operations such as:

  • Discover a local Bluetooth device in the vicinity
  • Communicate with a SIP registrar or proxy
  • Determine your geo-location via a GPS device

So now what do you do? You want to write your killer-app using great declarative syntax of JavaFX, but you also realize that the Java standard specifications for Bluetooth wireless technology (JSR-82), SIP communication (JSR-180), and location-based application development (JSR-179) and are available as Java ME APIs.

Fortunately, the JavaFX runtime is completely dependent upon (and compatible with) the Java virtual machine (JVM). Simply stated, it means the following:

  • Your JavaFX Mobile application has no restrictions on calling any class bundled in the JAR or any JSR API library that's present on the handset.
  • Your JavaFX Desktop application will work seamlessly upon any deployment platform that has the current version of the JRE:
    • For Windows machines, this will be Java 6, update 11 (or later)
    • For Mac OS X machines, this will be Java 5, update 13 (or later)

Independent of the operating system, your JavaFX Desktop application will also be able to call any class that's bundled in the JAR package for your desktop application. Note: On the Windows desktop, JavaFX runs on Java 5 and it degrades gracefully (for example, the Drag2Install feature does not work) — that is, it does not break your application.

Read the full article, with source code.

Comments:

superb fine keep it up!

Posted by utsav on February 15, 2009 at 02:50 AM PST #

Thanks

Posted by Andrea Quintana on June 06, 2009 at 07:43 PM PDT #

PERFECTION the java way.

Posted by java_geek on August 04, 2009 at 07:30 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Tips for developers who use Java technologies (Java SE, Java ME, JavaFX) for mobile and embedded devices.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
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
   
       
Today