Phone Sensors

Grey

New Member
Licensed User
Longtime User
Hi,

B4A newbie here - still trying out but feel you have a great product here.

I am now involved in a project which is aimed at gathering movement information from people with movement problems - charitable work so no budget / no pay. We aim to use android phones to gather the info using, if possible, the sensors in the phone, principally the accelerometers and microphone.

I am using the PhoneAccelerometer AccelerometerChanged event to write xyz cords and time to a text file which is later dumped to server and imported into central DB. This method produces 4 to 5 readings per second.

Is there a way to vary the sample rate and if so how many readings per second is a feasible maximum?
 

Grey

New Member
Licensed User
Longtime User
Thanks Erel, works a treat - getting approx 50 samples a second with parameter set to zero which is OK for intended app.
 
Upvote 0
Top