Forums Register Login

Is Java 7 ready for Developing Software for Smart Phones and Tablets

+Pie Number of slices to send: Send
Hi Jeff,

The support for Micro edition by Java was phenomenal. I would like to know what Java 7 has in store for Android and Java enabled phones. Initially when I threw this question on this forum I was told it was still in the works. So what's in the Java 7 box for us in this regards.
+Pie Number of slices to send: Send
Hi Charlsy,

I don't work with Java ME so I can't really comment on what Java 7 has in store for Java-enabled phones. However, I would speculate that language features such as try-with-resources will benefit developers by removing boilerplate (e.g., having to provide code that explicitly closes streams and other closeables).

Regarding Android, the situation is somewhat confusing. Officially (and I mean working directly with an unmodified Android SDK from Google), you cannot take advantage of Java 7-specific APIs or language features -- the last time I checked, Google's SDK doesn't support language features newer than Java 5 and APIs newer than Java 6. Unofficially, you can do so (in a limited way), and I show how to do this in my two-part "Overcoming Android's Problems with JDK 7" series for InformIT. To learn how to support Java 7 language features such as try-with-resources, check out Part 2 at http://www.informit.com/articles/article.aspx?p=1966024.

All the best.

Jeff
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1731 times.
Similar Threads
Creating java aplications for phones
Servlet Information
Java Careers?
Is there any way to access the native file System using J2ME ? -- Please suggest
J2ME and Enterprise applications
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:46:50.