Nimit Parekh
Nimit Parekh

Reputation: 16864

How to background the application and that application after some time

I Develop a one application which contaion the scenario given below in that Some time of application goes into the background and after the some period of time that application comes in front of side this just createing the demo application.

In this application i can't use any GPS System also.

please help to solve this problem and which kinds of permision to give 

the application and how to face this problem.

Thanx in advance

@androidTech

Upvotes: 0

Views: 175

Answers (1)

Lalit Poptani
Lalit Poptani

Reputation: 67286

As far as I can understand, you want to hide your application in background. So, there is a method for that

moveTaskToBack(boolean nonRoot)

this will do the trick for you, when you pass boolean true to its arguments.

Upvotes: 1

Related Questions