w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
When a phone call comes , does the accelerometer stops reading in Android phones?

Not if it's running in a Service or on a AsyncTask. When you are running the accelerometer on the UI Thread it will be stopped by the Activitys onPause() method but if you run it on a different thread it will not stop.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.