CPU spikes when implementing accelerometer

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

CPU spikes when implementing accelerometer

Postby sebrock » Wed Dec 02, 2009 5:43 pm

I have a MapActivity which implements a SensorEventListener. However if I register a listener for a Sensor.TYPE_ACCELEROMER the CPU spikes and makes it unusable. If I instead register a listener for Sensor.TYPE_ORIENTATION all is well.

So it seems it's just the accelerometer that makes the CPU spike (maybe in combination with the mapactivity).

Any ideas?
sebrock
Freshman
Freshman
 
Posts: 2
Joined: Fri Nov 13, 2009 11:51 am

Top

Return to Map Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests