I want to run an application in background , i already tried to changer the mainfest file with adding android:noHistory="true" and android:excludeFromRecents="true" but it still visible , i also tried to add flags to the intent but still not working can any body help ?
I'm writing an android application that is meant to be running as a system application. this application contain some configuration file which should be deleted, or set to off value, if my application is disabled by the user via settings.
how can I enforce such a behaviour? I know that the android system should broadcast "Intent.ACTION_PACKAGE_CHANGED" if an application is disabled or enabled.