android - send main activity in background on button click and bring it back after a given time interval -


i new android. android application contains 1 class. public class mainactivity extends activity implements sensoreventlistener

i want send in background on button click , comes in foreground again after fixed time interval. how implement this?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -