C cncncn Member Licensed User Longtime User May 22, 2014 #1 Hi, Is it possible to close or kill adobe reader with instruction. Thanks for your responses
C cncncn Member Licensed User Longtime User May 22, 2014 #2 I find this library : http://www.b4x.com/android/forum/threads/os-library.11267/#post62954 but i don't know find PID or packagename of adobe reader Upvote 0
I find this library : http://www.b4x.com/android/forum/threads/os-library.11267/#post62954 but i don't know find PID or packagename of adobe reader
C cncncn Member Licensed User Longtime User May 22, 2014 #3 I find my pid but it doesn't work B4X: dim closeadobe as operatingsystem closeadobe.initialize("closeadobe") closeadobe.killprocess(144287) why? permissions? Upvote 0
I find my pid but it doesn't work B4X: dim closeadobe as operatingsystem closeadobe.initialize("closeadobe") closeadobe.killprocess(144287) why? permissions?
Erel B4X founder Staff member Licensed User Longtime User May 22, 2014 #4 See my answer in the other thread. Upvote 0
C cncncn Member Licensed User Longtime User May 22, 2014 #5 I read yours answers and i can't find the answer. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 22, 2014 #6 Because there is no reliable way to kill other processes in Android. Upvote 0
C cncncn Member Licensed User Longtime User May 23, 2014 #7 ah ok. But with closeadobe.killprocess i don't have problem Upvote 0
C cncncn Member Licensed User Longtime User Jun 2, 2014 #8 Hi Erel, You were right, it is not reliable. No way to close adobe? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 2, 2014 #9 As I previously answered there is no reliable way to kill other processes. This includes Adobe Reader. You can use a service to bring your activity to front with StartActivity. Upvote 0
As I previously answered there is no reliable way to kill other processes. This includes Adobe Reader. You can use a service to bring your activity to front with StartActivity.
C cncncn Member Licensed User Longtime User Jun 2, 2014 #10 I know but i have problem with adobe and when i forcestop adobe it's resolved Upvote 0
luciano deri Active Member Licensed User Longtime User Jun 9, 2015 #11 Erel said: As I previously answered there is no reliable way to kill other processes. This includes Adobe Reader. You can use a service to bring your activity to front with StartActivity. Click to expand... How? With StartActivity i start the intent for display a PDF, but i need close this for delete it and create a new with same name. Upvote 0
Erel said: As I previously answered there is no reliable way to kill other processes. This includes Adobe Reader. You can use a service to bring your activity to front with StartActivity. Click to expand... How? With StartActivity i start the intent for display a PDF, but i need close this for delete it and create a new with same name.
Erel B4X founder Staff member Licensed User Longtime User Jun 10, 2015 #12 Call StartActivity from the service to start your activity. Upvote 0