View previous topic :: View next topic |
Author |
Message |
markjohnson Occasional Visitor

Joined: Jan 20, 2006 Posts: 41
|
Posted: Thu Feb 10, 2011 12:59 pm Post subject: Using Tasker to close CamerAlert |
|
|
Hi,
I use Tasker to load CamerAlert when it detects my car's bluetooth and battery is over 50%. This works fine.
However, is there a way to get Tasker to exit the app when I leave the car (or battery goes below 50%) using an exit task?
Kind regards,
Mark |
|
Back to top |
|
 |
lbendlin Pocket GPS Staff


Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Thu Feb 10, 2011 1:06 pm Post subject: |
|
|
Can Tasker address individual activities/services within an application?
If yes then you will want to kill com.pocketgpsworld.cameralert.locationupdates _________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
 |
markjohnson Occasional Visitor

Joined: Jan 20, 2006 Posts: 41
|
Posted: Thu Feb 10, 2011 1:58 pm Post subject: |
|
|
Hi,
To be honest I'm not quite sure what Tasker can and can't do as it is a little complex...
It has a Kill App option which no longer works due to the changes on Android 2.2. However, with a little more reading I've hopefully found a way. By sending CamerAlert to the backgoround by making Tasker ho to the Home screen, the Kill App option seems to work as it can still kill background apps. A quick test worked fine but it will take a while to see if it works reliable in practice.
Kind regards,
Mark |
|
Back to top |
|
 |
burtonian Lifetime Member

Joined: Jan 03, 2008 Posts: 103 Location: UK
|
Posted: Sun Mar 06, 2011 4:16 pm Post subject: |
|
|
As you say, Tasker can no longer kill apps in Android 2.2 because Google disabled the facility in the OS. If you've found a way around it then please update this thread with more details, and if it works for other apps then I'm sure the Tasker forum would love to hear about it too!
http://groups.google.com/group/tasker |
|
Back to top |
|
 |
CAA_1130221413 Lifetime Member

Joined: Nov 30, 2011 Posts: 5
|
Posted: Thu Feb 09, 2012 1:28 pm Post subject: |
|
|
I'm an EasyProfiles user, so I will tell you what I did to accomplish this behavior.
EasyProfiles can control "car mode" flag, which in the latest CamerAlert version can control the state of the application, namely start CamerAlert when car mode is turned on and close it when it goes off. |
|
Back to top |
|
 |
shschampion.deleted Occasional Visitor

Joined: Mar 29, 2013 Posts: 13
|
Posted: Sun Jul 16, 2017 2:18 pm Post subject: How to exit CamerAlert using Tasker |
|
|
Took me a while to figure this out because my Samsung S4 has Lolipop and Tasker's "AutoInput" Easymode is very hard to use on Lollipop because of the way notifications work. Anyway, this works for me.
After installing AutoInput you will have extra features under Plugin/Autoinput
Make a Tasker Task called "Exit CamerAlert" (or something similar) which does the following:
1) LaunchApp "CamerAlert" (to bring the currently running CamerAlert to the fore)
2) Flash "Trying to close CamerAlert" (not really necessary, but you get the idea)
3) Plugin/AutoInput/Action
Type: Id
Value: com.pocketgpsworld.cameralert:id/logo
Action: Click
(click on the logo, because Autoinput won't click on the menu key for me.This brings up the menu)
4) Plugin/AutoInput/Action
Type: Text
Value: Exit
Action: Click
(click on the Exit button)
I don't really understand why the first uses the Id of the button and the second uses the name of the button... but this is what the AutoInput "helper" mode gave me once I figured out how to use it without accessing the weird notifications stuff. |
|
Back to top |
|
 |
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
 |
|