use that property to get battery level,
property = System.getProperty("com.nokia.mid.batterylevel"))
Using eclipse+eclipseME+WTK-2.5.2CLDC
MIDP 2.0
and
CLDC 1.1
and i store value of property
value=Integer.parseInt(property)
when
Launch as emulated Java ME MIDlet
it throws Exception NumberFormatException: null

Reply With Quote



