Running activity in hidden(stealth mode)
Please can anyone give me links or code or concept for Running an activity in hidden mode.. That is, it has to run in background without disturbing the user.. It should not displa开发者_C百科y any window or layout.
An Activity is always something that is show to the user. If an activity is not shown to the user it is not executing code but will be paused by the system.
You should look into services if you want to have a running process that is not visible to the user.
Use a service instead of an activity ...That will be better to implement a running process not visible to the user and do perform the work...
精彩评论