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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -