سؤال

My app runs on rooted devices. I need to close another app when my app runs. How can I do that?

هل كانت مفيدة؟

المحلول

Run am force-stop com.other.app.package in a shell. I'm not even convinced you have to have root for that to work.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top