Android Accelerator

Previous topic - Next topic

MrTAToad

Is the Android acccelerator working ?  Just wonder if it's beem implemented as it seems to be returning 0...

ampos

It is working for me...
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

spacefractal

yes its working here on those devices I got tested on. Its mightbeen a manifest issue me guess? What device do you tested on?
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrTAToad

#3
I'm testing it on my Samsung Galaxy Mini - could you try this unsigned APK file : http://www.un-map.com/glbasic-release-unsigned.apk (13.6Mb)

According to SystemInfo, the device has gravity, linear and rotation vector sensors so it should work.

Got it working - the movement values were too low...

coder14

Quote from: MrTAToad on 2012-Mar-24
I'm testing it on my Samsung Galaxy Mini - could you try this unsigned APK file : http://www.un-map.com/glbasic-release-unsigned.apk (13.6Mb)

According to SystemInfo, the device has gravity, linear and rotation vector sensors so it should work.

Got it working - the movement values were too low...

I have an Android phone and I would love to give you a hand (if I can?). What do you need?

MrTAToad

Do you have one of the latest duel-core phones ?  If so, I have some 3D stuff that needs testing to see how well it performs...

sf-in-sf

Quote from: ampos on 2012-Mar-23
It is working for me...

I feel very happy for you!
Could you mention which device you use, and to which value the accelerators are calibrated to? I use an archos 101G9 and strangely all accelerators return a calibration value of 0.917 -or so- instead of the expected 9.81, when GLbasic reads the value.
is it a non-standard device?
will GLbasic find the same value on all device?
What's going on?
is there any option to read other sensors like gyroscope, in GLbasic?

Thank's for your help, I'm about to release a game that must run correctly on all devices.
On the day the atom is a cube I will start believing in the square pixel.

MrTAToad

I doubt you will get the same values on all devices - and one thing you need to account for is a dead zone (otherwise you'll get a constant unwanted value even when the device is still).

Kitty Hello

It should return factors of "G". So for average earth gravity, it should return 1.0.

If it doesn't, the drivers offer incorrect data (or you're very high about the sea level ;) )