SOLVED BELOW
Below is the snippet of code that isn't working how I think it should. What I want it to do is detect if GPS is currently on. If not, then throw up an AlertDialog letting the user know I want it enabled, and then open the screen for them so they can turn it on. It's detecting...
Google has an example on how to record audio here:
Audio and Video | Android Developers
The problem with their example is they don't explain what to do to keep recording for a set time period. I've tried putting the thread to sleep for 10 seconds with Thread.sleep(10000); but that seems to...
I have a BroadcastReceiver that seems to work, but when it tires to call my IntentService it bombs out saying that it's, "Unable to instantiate service". Below is some of my code:
Broadcast Receiver:
public my_receiver extends BroadcastReceiver {
@Override
public void...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.