I have written an Android Application and the generated .APK file I uploaded in Android Market. So, a User can download that apk and install in his device.How can I restrict my apk to launch , if he calls from other application through Intent. That means my application should not respond to any intents from other outside Applications.
Is there any possible way to restrict my application’s launch from intents from other application.?
I will be waitinig for reply.
Thanks in Advance,
Try setting android:exported=”false” to all activities defined at AndroidManifest.xml
That’s from activity element description:
Also here are good paragraphs about application permissions https://developer.android.com/training/articles/security-tips.html I guess you can use that to restrict access to your app.