[android-developers] Accelerometer: Fixed Sample Rate Requirements

2009-09-29 Thread redehm
Hi there, I require the following in order to get my accelerometer based application to work: 1. a reliable sample rate of ~20Hz (can be faster - I can sub-sample) 2. a guarantee of service even when the phone goes to sleep I have coded up a background service to test the performance of the

[android-developers] Re: Killi Process with files on SD card

2010-09-06 Thread redehm
I am experiencing something similar, except on a sporadic basis. For the most part, my application, on receipt of an ACTION_MEDIA_EJECT event, is able to close files and return before the reaper arrives to clean-up. However, sometimes, when the application is writing data to one of the files,