Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Java access to OS functions/ Java Screensaver?

0 replies · 5,456 views · Started 20 February 2005

I am on application development team, and we are considering developing with Java on Symbian and other smartphone OS's. As I am unfamiliar with Java, especially on mobile phones, I have some rather basic questions that I was wondering about.

First off, I understand that PersonalJava has more capabilities than J2ME. However, I hear that Sun is discontinuing it. What does this mean? Will it not be on Symbian? Will J2ME be enough? Why is SUN doing this?

Secondly, my questions generally have to do with either J2ME or PersonalJava interfacing with the OS's APIs.

We are trying to make a screensaver. I see three scenarios, and under each I have a few questions.

1. Our program is listed as a screensaver under Symbian.

What does it take to be listed as a screensaver? (can a Java program even be listed)? What constraints would a screensaver program have that a normal program wouldn't have? Do we have to compile it in a special way?

2. Our program is launched from a background process.

Can there be a background process made in Java? Can a Java program launch another Java Program?

Can we detect user inactivity like a standard Symbian program, and can we keep another screensaver from starting ( like with resetinactivitytime() for instance)?

3. We have a standard Symbian OS program that launches a Java program.

Is there any problem with this?

Finally, regardless of scenario, would it be possible to have a Java program run on startup? Or could we have a standard Symbian program start up and launch a Java program?

Thank you very much for your time in looking at my post, it is much appreciated.