This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Thanks for the reply. I think you are right about it being null, but , I DO know for a fact this phone can do this. (I have a application that does it on my phone). I think the problem is I forgot to Install the SDK for my phone. I have done that but it now needs to be added to my WTK somehow? Here's more info :
I have installed WTK, and it has been working but I realized I forgot to add the iden SDK for my motorola phone. I installed the SDK but I assume I need to link the files to WTK somehow?
What I am wanting to do :
The SDK has a class file called StatusManager which can retrieve phone battery level...
From documentation: "Field Detail BATTERY_LEVEL
public static final int BATTERY_LEVEL
This is the value passed to the status manager to retrive the battery levels
The return value is in the range of [0 - 3] with 0 being no charge and 3 being a full battery. BATTERY_LEVEL has a value of 0"
QUESTION IS: Where do I put the SDK files so WTK can use them? I am lost here. I found the StatusManager.class file in : C:\Program Files\Motorola\iDEN SDK for J2ME (MIDP 2_0)\lib\i730\com\mot\iden\device\
Can someone give me the detailed process of using the SDK with WTK... please??
Do I use the StatusManager.class file alone with my Midlet... or?
Joined: Jun 16, 2007
Such a simple question, but nobody can answer it? Guess I am just to much of a "newbie".