I don\'t want the user to be able to go back to the splashscreen of my app. One solution seems to be to check if the activity below the current one is an instance of the splashscreen, and in that case
I have a problem and I found nothing in my searches that\'s solving it. My activity should close, when the user presses the Ok-/Cancel-Button of a created AlertDialog.
I hope this isn\'t a dumb question, as I am rather new to Android, but I\'m having trouble handling the state changes with MediaPlayer. The mediaplayer works fine while on the screen, and it continues
I want to bring the activty front when Timer ticked even if activity is paused. Thanks a lot.. My code is below:
I\'m trying to start a different activity everytime an item is clicked on a ListView but I only succeded to start a single new activity using intent but if I want to pass an activity from an array of
I have an application that is secured with a password. Therefor i want the password dialog to show on all calls to onResume of any of my activities. The thing is that i do not want the password dialog
i set up a bluetooth connection to a device in my mainactivity - that works. now i wanna use the socket of the connected device i开发者_Go百科n a second activity.
When my application installs and is opened for the first time(when there is an internet connection) i want the phone to download some information from my serv开发者_StackOverflow中文版er and insert it
Hi i\'m looking to kill an activity in my application when the usb is disconnected i have a broadcast receiver and all set up and working fine
I have a weird bug in my program which I can only explain in one way. When I click on a certain button in my menu screen the user gets an AlertDialog which asks him how he wishes to proceed.