Close application and launch home screen on Android -


i have 2 different activities. first launches second one. in second activity, call system.exit(0) in order force application close, first activity automatically displayed instead of application returning home screen. how can avoid this, , application return home screen?

you should think not exiting application. not how android apps work.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -