i have an idea about an application and i need to use the accelopmeter api
there is an e-friend from here that told me that i can do it with the jsr 256
i have written the application and it is ok with the emulator but when i am trying to run ir on my phone it says that there is a java exception
the code is pretty simple
[quote]
SensorInfo[] sensors;
boolean tookIt;
SensorInfo accel;
sensors = SensorManager.findSensors("acceleration", null);
if( sensors.length > 0 ) {
tookIt= true ;
accel = sensors[0];
} else {
tookIt = false;
}
[/quote]
i have seen the information tab of java software that exists on omnia and writes the jsr that are supported but it says nothing about jsr 256
what can i do?
is there any way to update the kvm of omnia or windows mobile in general?
are there any other ideas?
thanks in advance

New Topic/Question
Reply


MultiQuote


|