Tasker Profile For Turning On GPS via SMS - Security Discussion

Hey Gang,
Having a few issues getting a SMS to turn on my GPS remotely. I fallowed the steps and pointers on http://forum.xda-developers.com/showthread.php?t=2468278 but still having issues.
Can anybody provide a short walkthrough? or provide a link to one. I'm using tasker as well and have sec settings and the helper installed. I can view the GPS button but my SMS "turn on gps" doesn't seem to do the trick when its recieved.

Issue resolved! Did not notice Tasker wasn't "turned on". Saw that it was greyed out. Grrr, the little things.

Related

Wi-Fi Popups and Notifications Won't Stop

Hi,
I've got both a Fuze and a Diamond on AT&T, and both have the same problem. If WiFi is enabled, I get a constant stream of annoying popups and audible alerts as I drive down the street, letting me know about every Wi-Fi AP on my route, as if I cared. This is very annoying and I've struggled to make it stop.
I have gone into Settings, Sounds and Notifications, and disabled Wireless Network Notification MANY times. That works...until I reset. And the setting changes back on me!!! I reset every couple of days to keep the OS working smoothly, and so this @#[email protected] notification setting gets activated every time.
Please let me know if anyone else is having this problem, OR if you are NOT having this problem even with Wi-Fi on and moving around an urban area.
Please, tell me if there is a solution or registry hack. But please don't tell me to turn off Wi-Fi. Disabling a huge feature of the device isn't a solution. That's like a doctor cutting off my leg because of a sprained ankle.
FYI, the Diamond is stock HTC with tweaks from DiamonTweak, Advanced Config, and Diamond TF3D Config. The Fuze is running NATFs ROM with the same tweak tools.
Thanks.
3GJockey said:
Hi,
I've got both a Fuze and a Diamond on AT&T, and both have the same problem. If WiFi is enabled, I get a constant stream of annoying popups and audible alerts as I drive down the street, letting me know about every Wi-Fi AP on my route, as if I cared. This is very annoying and I've struggled to make it stop.
I have gone into Settings, Sounds and Notifications, and disabled Wireless Network Notification MANY times. That works...until I reset. And the setting changes back on me!!! I reset every couple of days to keep the OS working smoothly, and so this @#[email protected] notification setting gets activated every time.
Please let me know if anyone else is having this problem, OR if you are NOT having this problem even with Wi-Fi on and moving around an urban area.
Please, tell me if there is a solution or registry hack. But please don't tell me to turn off Wi-Fi. Disabling a huge feature of the device isn't a solution. That's like a doctor cutting off my leg because of a sprained ankle.
FYI, the Diamond is stock HTC with tweaks from DiamonTweak, Advanced Config, and Diamond TF3D Config. The Fuze is running NATFs ROM with the same tweak tools.
Thanks.
Click to expand...
Click to collapse
I've had a similar problem. Have you tried going to: Settings > Connections (tab) > WiFi > Click on Menu > Advanced > Untick "Turn on available network notification" > Save ??
I had the same problem where the setting wouldn't stick on reset. I just wrote a one line MortScript that disables the wifi notification registry setting that runs when phone boots.
Please Share
Please share the how to.
I'm not familiar with MortScript, but have you got a file or a method you can share here?
mark72501 said:
I've had a similar problem. Have you tried going to: Settings > Connections (tab) > WiFi > Click on Menu > Advanced > Untick "Turn on available network notification" > Save ??
Click to expand...
Click to collapse
I had not tried that. But the box was checked. I have now unchecked it and performed a reset, and as before, the wifi notifications returned. Good idea, but no fix.
3GJockey said:
Please share the how to.
I'm not familiar with MortScript, but have you got a file or a method you can share here?
Click to expand...
Click to collapse
Go to http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=29
Download and install MortScript 4.1.
Using notepad or similar text editor, create a file containing the following line:
RegWriteDWord( "HKCU", "ControlPanel\Notifications\{DDBD3B44-80B0-4b24-9DC4-839FEA6E559E}", "Options", 0);
Save the file with an extension of .mscr (e.x. "DisableWiFiNotification.mscr").
Copy the file to your phone.
Finally create a shortcut to the file into the \\Windows\StartUp folder of your phone.
thanks
Great, thanks for the help ICWinner.
Similar to the problem above, I keep bluetooth on all the time and for some reason, the phone constantly has a notification which just says "Bluetooth is on". Does anyone know what the registry key is to disable this one? Or if there is a setting somewhere I am missing?
This May Be A Fix
Hi, I'm the OP, and it looks like I found a fix in another thread.
Check out what Chetstriker has posted at:
http://forum.xda-developers.com/showthread.php?p=2950391#post2950391
I will try it sometime this week, but some users have already confirmed it worked for them, so this may be it.

[Q] Switch Wifi and 3G according to location?

Hey there, I'm looking for a little app on my Froyo that will turn on the WiFi and disable the 3G as soon as I reach my home (for example) and when I move outside again, that it'll disable the WiFi and enable the 3G.
Whether it's done by GPS or done simply by noticing if the WiFi signal is available, I don't mind. Does anyone have a clue about this?
I'm not sure if either can do it since I've yet to use them, but you may want to look into two programs, one called "Tasker" the other "Locale"
Both have the ability to execute location based tasks.
I've used both Tasker and Setting Profiles to accomplish this. Tasker is very powerful, but a bit fiddly to get working correctly.
SP is simpler, and works very well. The jury is still out.
There are a few apps that will do that like tasker and locale, but for my needs I use setting profiles.
Y5
Y5 do it great. remembers WIFI location acording to cell info (doesn't waist battery for GPS) and turn on and of.
only bug in my eyes it that in order to shut down WIFI on a remembered location, you need to disable app or forget location.
Thanks so far for the replies! Right now I'm trying Y5. The rest doesn't really work for me. I've tried Tasker, but no... then I've bought "Setting Profiles" as it seemed to be promising, but it doesn't recognize the places where I'm at. Both through GPS as well as cell towers... it knows where I am, but doesn't change my profile. Big pity!
So, now I'm trying Y5. Only down side is that so far none of the programs has the ability to disconnect the 3G upon activating WiFi.
akito said:
Thanks so far for the replies! Right now I'm trying Y5. The rest doesn't really work for me. I've tried Tasker, but no... then I've bought "Setting Profiles" as it seemed to be promising, but it doesn't recognize the places where I'm at. Both through GPS as well as cell towers... it knows where I am, but doesn't change my profile. Big pity!
So, now I'm trying Y5. Only down side is that so far none of the programs has the ability to disconnect the 3G upon activating WiFi.
Click to expand...
Click to collapse
i think it does!
at least in HTC DESIRE it turn 3G off
Locale can do the job. For example, you can set 3 situations.
Set 'At Home' Situation - Condition: Location plug in(any good location plug in)
- Settings: Locale variable plug-in, add, type 'Home', True.
Set at Defaults - Add Locale variable, add Home = False
Add Wifi - Off
Add 3G - ON
Set Wifi - Conditions: Home = True
Settings: Wifi on
3G off
For my case, I've added Appli Detection condition for the Wifi situation where it detect my browser, etc and perform the wifi on. Hope this helps. IMO, Locale does best and is simple.
I use Tasker to do exactly what you ask.
When I get home, Wifi turns on, 3G turns off. And vice versa when I leave.
Same when I get to work.
I do both of these without the need for GPS or even cell tower location..it's based on when I'm near my home wireless network.
Also turns off wifi, 3G and screen rotation when I'm in bed.
And then makes me breakfast in the morning (well, not quite, but it's almost that good! )
Okay guys, I have definitly uninstalled Setting Profiles. I can't seem to rely properly on it. One time it works, the other time it doesn't. So, I simply don't want it anymore
Now I'm trying Tasker, seems promising. I have downloaded APNDroid next to it, as Tasker was notifying me about the fact it needs that program to be able to (dis)connect the 3G. Now.... I'm stuck for a bit. I have made tasks, but have trouble with the profile. The location, I would like that to be done as the scotsman has got it. According to if it finds your home as well as, in my case, work network. How to do that? Cause when I want to set my location, it takes me to google maps. And I take it that works by GPS. No problem neither, but drains the battery a bit more... Would anyone be so kind to give me quick and short step through?
akito said:
Okay guys, I have definitly uninstalled Setting Profiles. I can't seem to rely properly on it. One time it works, the other time it doesn't. So, I simply don't want it anymore
Now I'm trying Tasker, seems promising. I have downloaded APNDroid next to it, as Tasker was notifying me about the fact it needs that program to be able to (dis)connect the 3G. Now.... I'm stuck for a bit. I have made tasks, but have trouble with the profile. The location, I would like that to be done as the scotsman has got it. According to if it finds your home as well as, in my case, work network. How to do that? Cause when I want to set my location, it takes me to google maps. And I take it that works by GPS. No problem neither, but drains the battery a bit more... Would anyone be so kind to give me quick and short step through?
Click to expand...
Click to collapse
I use Tasker, but I do not believe you can use WiFi location if WiFi is off. Location base uses GPS. You can set an option to do tasks if the WiFi connects. 3G is automatically disabled on my Incredible when WiFi connects, so I do not have to implicitly set it off. Just be sure to adjust your radius when you use GPS location. You do not want to drive way down the street to have WiFi turn off and 3G come back on.
I use Tasker to also launch the car app when bluetooth connects in my truck. There are good examples on the Tasker Web site.

[HELP] Tasker - send SMS by app, location.

I'll start off with background: I'm 16 and recently started driving. My parents are kinda paranoid and want me to text them every time I leave or arrive somewhere. I'm lazy and forgetful and they think I'm dead if I don't text them. See my dilemma?
I wanted to try and help myself out. I downloaded Ulysses speedometer thing and tasker. My idea is to have it so that tasker will catch when Ulysses is open and send my mom an sms saying I'm leaving and then when it closes say I have arrived. It would also be cool if it could enable/disable GPS and awesome if iit would tell her my location.
I tried just the basic part but couldn't get it to send the message when I opened Ulysses. My question is, can somebody who knows more about tasker than me (I know how it works but it gets confusing) help me get this working? It would be awesome and if my driving led to me getting a job I might be able to donate you some moneys or something. In the least I can give you a virtual cookie and/or hug.
Thanks!
Sent from my MIUI SCH-i500
Bump, I could really use some help with this.
Sent from my MIUI SCH-i500
Bump again, this is my last try. I got everything figured out to have it start GPS, get location and everything... I just can't get it to send SMS which is the main idea. Even making another profile whose only function is to send an SMS doesn't work. Am I doing something wrong?
Sent from my MIUI SCH-i500
I dont know Ulysses, but if you combine the "App" context with a GPS location context this could cause problems because the App context only becomes active in the instant where the app is started. So if you start the app and you are not at the location from where you want to send the SMS, then the profile does not become active and no SMS will be sent (clear ? )
I would not use the App context and GPS Location for this, but rather the "cell near" context. This context can be calibrated to a specific location by scanning the cell towers in range and it does not eat as much battery as the GPS. I use this for setting my phone to silent when I am at work, or switching of the keylock when I am at home.
With the cell near context it should be possible to use the "send SMS" action.
You can also try to combine it with a timer or set a flag to avoid multiple SMS in case you come close to some other cell tower for a short time and the profile switches on and off.
If you want your position to be included in the SMS you can use the "Get Location" action. It uses either GPS or net based location.
For GPS: When your profile becomes active (activated by cell near), set the GPS to be switched on, and use the "Get Location" action (which has to be set to GPS). Allow some timeout to get the fix, then your position should be stored in the variable %LOC, which you can use in your SMS text. Then send SMS and switch off GPS.
For net location: also use the "Get Location", but set it to "Net". You have to have Internet connection to get a location that way, and in your location settings (phone settings) "use wireles networks" (or something like this) has to be activated. Net Location is not as accurate as GPS, but normally its not as much of a hazzle to get a fix. I think the net location is stored in %LOCN afterwards...
Hope I didnt get anything wrong, just wrote that from the top of my head.. Just use the help buttons in the different action tabs to get the detailed info.
While I applaud the effort you are making to try and automate the process of letting your parents know that you are safe, I am sure that they would appreciate it more if the SMS came from you personally and not from a machine. Make an effort to consider their feelings of anxiety while you are a young driver, and take the time to text (or maybe even call them). Drive safely!
or just use latitude
Thanks for the replies guys. Will be trying that long one out. I have been trying to send personal texts, and usually I can remember when I'm leaving but I forget to send one when I arrive. Just trying to avoid trouble with this. And I've tried latitude but I use a GAFYD account as my default and it doesn't support check-ins with latitude. And latitude won't let me use my secondary gmail account.
Sent from my MIUI SCH-i500

Wifi "sleeping" when screen turns off !?

Just bought the mrs a Galaxy S3, she uses Wifi when at home. All the wifi settings are correct including the advanced ones (from the dialer menu). My HTC sensation does exactly the same thing.
Security settings on router are WPA2 AES
melethron said:
Hey,
There was a change in API 12 (Honeycomb and later) with the way "wifi lock" is handled. Even if the sleep policy in settings->wifi->advanced->"Keep wifi on during sleep" is set to "always", wifi will still be in a "low performance mode". This results in throttled speed (f.e: stuttering streaming), high latency (ping your phone) and can even cause disconnects, when the screen is off.
Still this is not bug but a feature of Android and should be addressed by any app that needs full wifi performance. Any app that needs full wifi performance (like streaming or file shearing over wifi) should call for "WIFI_MODE_FULL_HIGH_PERF". This can be found in the official "android developer reference". Before API 12 (honeycomb) an app just needed to call WIFI_MODE_FULL for "wifi lock". If an app isn't coded proberly for honeycomb and ICS and has issue with Wifi performance appart from calling "wifi wake lock", you should report that to the developer of that app.
I still found a simple workaround for scenarious in which this function is not properly called. There is an rather simple widget on google play called "WIFI High Performance Widget". If the widget is enabled, the function WIFI_MODE_FULL_HIGH_PERF is called and the wifi performance is on full speed even when the screen is off. Im not in any way involved in the developement of this app and there might be other apps out there, that could achieve the same (for example: Android Terminal emulator also calls WIFI_MODE_FULL_HIGH_PERF if "wifi lock" is enabled.) Still this widget is the simplest solution i found thus far. Just enable the widget and get full wifi performance when screen is off.
Greetings
melethron
Click to expand...
Click to collapse
Is there any other way round this apart from the above ? Its really annoying that this hasnt been fixed, my HTC sensation is EXACTLY the same.
We both use whatsapp, and its annoying because if we are on wifi messages don't come through until you turn the screen back on, on 3G whatsapp works perfectly when the screen is turned off its just the wifi.
However im on a different network and can't use 3G in the house as there is no signal so i really rely on my phones WIFI
Quick reply, the above "fix" doesn't work either, if the screen is turned off for a few minutes I cant recieve any contact over wifi until I turn the screen back on and wait a while.

[Q] IFTTT to turn on GPS

I was wondering if there was a way to automatically turn on GPS when I open google maps or any other app that needs GPS. Since I don't need to keep GPS running all of the time I would like a way to save my battery.
I don't see anything in IFTTT and a search has not shown anything.
Thanks for any suggestions you can think of
Doc

Categories

Resources