Thanks for the reply. I think I have not put my question clearly.
Actually I want to close my own runnkng app having multiple activitirs and 2 services and not any other running app. The app seems to be getting closed but remains in the back ground. It does not go away from the device memory.
The link you had reffeted seems to explain about closing another running app.
Thanks for the reply. I think I have not put my question clearly.
Actually I want to close my own runnkng app having multiple activitirs and 2 services and not any other running app. The app seems to be getting closed but remains in the back ground. It does not go away from the device memory.
The link you had reffeted seems to explain about closing another running app.
Thanks for your reply.
Mine is android 7 and sdk 27. This gives error
java.lang.RuntimeException: Method: finishAndRemoveTask not found in: com.eoos.android.main
It's stange. The attached sample works in emulators and on my phone (Oreo 8.1)
Probably, you use another releases than I. I use B4A 8.00, JavaObject 2.05.