Hi~
Thank you for the great application.
Can I shut down the application from another app via intent?
Thank you so much.
Can I shut down the application from another app via intent?
Re: Can I shut down the application from another app via intent?
Hi,
Just set a boolean (true) flag named "de.pilablu.gpsconnector.INTENT_EXIT_APP" in your Intent extra data
and the class name of the intent to "de.pilablu.gpsconnector.status.model.StatusActivity".
I'm using the same mechanism in the GNSS status notification. (there is a exit app action in the notification)
Cheers,
Markus
Yes - you can.Can I shut down the application from another app via intent?
Just set a boolean (true) flag named "de.pilablu.gpsconnector.INTENT_EXIT_APP" in your Intent extra data
and the class name of the intent to "de.pilablu.gpsconnector.status.model.StatusActivity".
I'm using the same mechanism in the GNSS status notification. (there is a exit app action in the notification)
Cheers,
Markus
There is no code so big, twisted, or complex that maintenance can't make it worse. (Gerald M. Weinberg)