Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Accelerometer access differ from phone to phone?

Accelerometer access differ from phone to phone?

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Accelerometer access differ from phone to phone?

Postby Chadwell » Wed Jan 13, 2010 6:16 am

Hey guys,
I have a question about accessing the accelerometer. I have an app that accesses the accelerometer by registering a SensorEventListener, and the app works fine on my Droid, but I have gotten complaints that it doesn't work on some phones, one being the Samsung Moment.
Does accelerometer access differ from phone to phone, or will that SensorEventListener only work on certain versions of Android? I usually make my apps target 1.5

Any idea what would cause the mentioned method to work on some phones but not others?

Thanks
Chadwell
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Jan 13, 2010 6:08 am

Top

Postby zorro » Tue Jan 19, 2010 1:23 pm

From what I know, the accelerometer API is the same on Android 1.5, 1.6, 2.0, 2.1. I made a game that uses it and works fine on all the versions. You should try to find what exactly does not work: the initialization (app crashes) or the tilt (returning incorrect values).
User avatar
zorro
Experienced Developer
Experienced Developer
 
Posts: 71
Joined: Mon Aug 10, 2009 3:11 pm
Location: Romania

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests