Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
Contributor
Posts: 22
Registered: ‎10-20-2011
My Device: Playbook
My Carrier: Globe

Remove any Objects or Actions that will run the apps on background unnecessarily

[ Edited ]

Below are my suggestions to have the Android Runtime not start the 3rd party apps when they are not started by the user, or close the activities when intended to be closed via their user experience:

android.intent.action.BOOT_COMPLETED - remove the intent, no app should be able to recognize the intent, return it as null

 

moveTaskToBack(true); - return as always false, or when indicated as true, translate it to finish()