hello friends, i am new in Blackberry application,now i working as a junior programmer so i need j2me code for blackberry application to display battery level, pls help me
A:
if you're developing a native cldc blackberry app i'd rather use
net.rim.device.api.system.DeviceInfo.getBatteryLevel();
if you're developing MIDlet the only chance is to use the mobile sensor api.
endevour
2010-08-13 09:00:31