January 21, 2010
2 steps to achieve your goal...
1) slice goal to smaller tasks achievable today
2) find someone to discuss details of your current tasks with and do it often
3) something else? write comments
2) find someone to discuss details of your current tasks with and do it often
3) something else? write comments
Battery level in J2ME
NOKIA:
System.getProperty("com.nokia.mid.batterylevel");
SONYERICSSON (via Sensor API, starting from JP-8.3):
(from http://developer.sonyericsson.com/community/docs/DOC-2956)
System.getProperty("com.nokia.mid.batterylevel");
SONYERICSSON (via Sensor API, starting from JP-8.3):
SensorInfo[] batteryInfo = SensorManager.findSensors("battery_charge", null);
SensorConnection sensor = (SensorConnection)Connector.open(batteryInfo[0].getUrl());
Data data[] = sensor.getData(1);
String batteryLevel = "Current charge level: "+data[0].getIntValues()[0];
(from http://developer.sonyericsson.com/community/docs/DOC-2956)
How to retrieve IMEI
Nokia
System.getProperty("phone.imei");
System.getProperty("com.nokia.IMEI");
Note ; Requires signed midlet. S60 3rd edition device does not requires signing for this to work.
Sony-Ericsson
System.getProperty("com.sonyericsson.imei");
Note ; might not work on all model.
Motorola
System.getProperty("IMEI");
System.getProperty("com.motorola.IMEI");
Samsung
System.getProperty("com.samsung.imei");
Siemens
System.getProperty("com.siemens.imei");
(from mobilepit.com)
System.getProperty("phone.imei");
System.getProperty("com.nokia.IMEI");
Note ; Requires signed midlet. S60 3rd edition device does not requires signing for this to work.
Sony-Ericsson
System.getProperty("com.sonyericsson.imei");
Note ; might not work on all model.
Motorola
System.getProperty("IMEI");
System.getProperty("com.motorola.IMEI");
Samsung
System.getProperty("com.samsung.imei");
Siemens
System.getProperty("com.siemens.imei");
(from mobilepit.com)
January 11, 2010
fulscreen flash movie breaks scrolling using touchpad
Scrolling using synaptics touchpad breaks after watch of fullscreen youtube adobe flash video. Seems that problem is spread wide and browser-independent (opera and firefox confirmed, at least), but not fixed for more that a year. FIX: press space OR restart synaptics driver (disable/enable synaptics touchpad or kill and restart its process SynTPEnh.exe).
Labels: flash, fullscreen, laptop, notebook, touchpad