You Are Here:

Community: Blogs

Jacek Wojciechowski's Forum Nokia Blog

Java Runtime for S60 with Mobile Sensor API support, finally!

jack44 | 02 April, 2009 19:33

First of all, it's worth noting that Nokia has introduced a new naming scheme for Java platform - "Starting from S60 3rd Edition Feature Pack 2 Java Runtime for S60 is versioned separately from the underlying S60 Platform with aim to provide more frequently new Java versions to the market. Key drivers for that are for example faster time-to-market for new features and a possibility to update Java Runtimes for S60 independently in the future via Nokia SW Update." IMHO, it's a very good decision - the concept is very similar to e.g. Sony Ericsson Java Platform 8 (JP-8) or ealier versions. Currently published versions include Java Runtime 1.3 for S60 (JRT 1.3) and forthcoming Java Runtime 1.4 for S60 (JRT 1.4).

JRT 1.3.x is in use in the Nokia 5800 XpressMusic (sw 20.0.012 onwards) and includes some new features like MIDP security prompting enhancement (a possibility to select the security setting, when the prompt is shown), popup textbox, freely resizable fonts, support for new system property "com.nokia.mid.msisdn" to retrieve the MSISDN, Nokia UI API 1.2, orientation support for Location API (JSR-179) if device has magnetometer hardware, forcing certain orientation by using "Nokia-MIDlet-App-Orientation" JAD attribute, support for downscaling of Canvas graphics.

JRT 1.4.x is in use in the forthcoming Nokia N97. It's very nice to see Mobile Sensor API (JSR-256) support (supports accelerometer, battery charge sensor, charger state sensor, network field intensity sensor). Now you can access sensors natively in Java ME like it's done in C++ (sensor framework) or WRT widgets / Flash Lite (Sensor Service API) and don't need "Multi-Language Programming". The API came to the platform quicker than I expected. JRT 1.4.x includes also Nokia UI API 1.3, 9-way navigation support, 8 Mpix camera support, improved Java support for QWERTY devices, On-Screen Keypad on device with touch screen and hardware keyboard, finger usability improvements for touch screen (tap detection).

The version of JRT can be checked by using standard MIDP system property "microedition.platform". A working sample MIDlet code is available here.

 

JRT info, Nokia 5800
 

RSSComments

RE

mobiel internet | 02/04/2009, 21:52

It all sounds interesting, but also complicated. But thanks for writing it down!

sensors

coultonp | 03/04/2009, 11:45

coultonp

Excellent i can stop messing around with plugins

Isn't J2ME dead yet?

Sorcery-ltd | 03/04/2009, 19:37

Sorcery-ltd

I keep hearing that J2ME is on its way out, so this is an interesting move in that context.

All the runtimes should be independent of the platform version though, since software upgrading is likely to get much more complex in the future with the Symbian Foundation and the whole concept of a single platform version probably needs re-thinking.

Re: Java Runtime for S60 with Mobile Sensor API support, finally!

barbietunnie | 08/04/2009, 13:19

Interesting!

Curious about current JRT support...

jack44 | 09/04/2009, 15:22

jack44

I was curious about current JRT support, so I've made some additional tests...

In S60 3rd Ed. FP2 (and newer) there is information about device name, software version, software platform and its version and Java Runtime version, e.g. on my N78 (sw. 11.043) system property returns
"NokiaN78-1/.043/sw_platform=S60;sw_platform_version=3.2;java_build_version=74701". As the screenshot above shows, my 5800XM returns everything right.

In older S60 devices (and Series 40 phones) the returned value is typically something like the following (showing device model and the sw version)... my N95-8GB display "NokiaN95_8GB/15.0.015".

For reference:
S60 3rd Ed. FP2 SDK (v1.1): "Nokia3250/S60_3_2_200802"
S60 5th Ed. SDK (v0.9): "(...);java_build_version=000", but finally S60 5th Ed. SDK (v1.0): "(...);java_build_version=1.3.4"

Hope, this helps!
If you wish, you can post your own results of other S60 3rd Ed. FP2 devices.

What about the N95

jdesbonnet | 28/04/2009, 00:38

Is there any plan to update the N95's Java platform in a future firmware update? It's a great piece of hardware, it's a pity to EOL it so soon.

Re: What about the N95

jack44 | 29/04/2009, 12:04

jack44

I wouldn't expect any Java platform updates for N95.
Firstly, it's S60 3rd FP1 device (new naming scheme starts from S60 3rd FP2),
secondly, it's rather old device (in terms of mobile world),
thirdly, there would be a big mess (one person would update the device, the other wouldn't)...

Re: Java Runtime for S60 with Mobile Sensor

cell phone news | 04/06/2009, 02:53

interesting post Jacek.

Re:

ouarzazate | 19/09/2009, 16:26

great article Jacek thank you

Re: Java Runtime for S60 with Mobile Sensor API support, finally!

bozozo | 29/09/2009, 13:20

In older S60 devices (and Series 40 phones) the returned value is typically something like the following (showing device model and the sw version)... my N95-8GB display "NokiaN95_8GB/15.0.015".
Term Papers | Dissertations | Essays

Re: Java Runtime for S60 with Mobile Sensor API support, finally!

bozozo | 29/09/2009, 13:20

It all sounds interesting, but also complicated. But thanks for writing it down!
Research Papers | Theses

Re: Java Runtime for S60 with Mobile Sensor API support, finally!

Laura Nina | 04/10/2009, 09:50

Ah, my friend bought the Nokia5800 Xpress Music. I think the shape and design ia a bit odd, but not really so when I hold the life unit. I just still prefer flip and slider models. classified ads |job listings |bathroom furniture

Re: Java Runtime for S60 with Mobile Sensor API support, finally!

sandra34 | 26/10/2009, 17:01

I'm glad they have sorted this out, I have the Nokia 5800, which I love. I will have to check what version mine is running, and get it updated.
sell property fast

Re: Java Runtime for S60 with Mobile Sensor API support, finally!

Samphillip | 03/11/2009, 21:17

So is there any plan to update the N95's Java platform in a future firmware update? It's a great piece of hardware, it's a pity to EOL it so soon. cialis online

Re: Java Runtime for S60 with Mobile Sensor API support, finally!

tomfeinberg | 04/11/2009, 11:49

It all sounds interesting, but also complicated. But thanks for writing it down!
Expensive Gadgets | Engraved Wedding Gifts | Kelly Osbourne Weight

S60 with Mobile Sensor API

lemonking | 04/11/2009, 13:54

there would be a big mess (one person would update the device, the other wouldn't)...
Ed Hardy | Ed Hardy Clothing

re:

matthew.t | 11/11/2009, 12:05

In older S60 devices (and Series 40 phones) the returned value is typically something like the following (showing device model and the sw version)... my N95-8GB display "NokiaN95_8GB/15.0.015".
Custom Term Papers - Term Papers

Re: Java Runtime for S60 with Mobile Sensor API support, finally!

essaywriter | 18/11/2009, 00:21

Nice news, it's really interesting!

Essay Writing | Custom Research Papers

Re:

essaywriter | 18/11/2009, 00:25

I'll be glad to hear any other news.
Essay Writing | Buy Research Paper

You must login to post comments. Login
 

Rate This

 
 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomE2fblogE2fjavaE2druntimeE2dforE2ds60E2dblogE2f2009E2f11E2f02E2fjavaE2druntimeE2dforE2ds60E2dblogE2dnowE2dhereX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZBlogContentQ qdcZtypeQUqfntypeZBlogE45ntryQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZseriesE5f60Q qfnZtypeQUqfntypeZBlogContentQ qfnZtypeQUqfntypeZBlogE45ntryQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxjavaX qfnZuserE5ftagQSxs60X qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZBlogContentQ qrdfZtypeQUqfntypeZBlogE45ntryQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ
User Rating: qfnZuserE5FratingQNx5E2E0000X