yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Themes and Apps] Greedyfly:
And again. Just literally got in the door no WiFi switched on. Scan for cell and it finds another....and immediately it switches on. ****ing annoying and making me wonder the worth of tasker
[Galaxy S III Themes and Apps] winbytrick:
Hi guys, here is my profiles if someone fails to unlock your phone XX times, it will automatically shoots the guy's pic and sends to your email. Hope you guys like it

Here go the profile/ task setting:

You need to install Secure Settings from Google Play, once open it, slide to tab "Helper" and install Secure Setting Helper from there (this is activate all functions of Secure Settings included Failed Login Attempts"

Install SL4A from Google Play, open it -> click on menu -> Add -> Python 2.6.2 and install it (this will be used to send your email)

Set pattern lock for your phone

Set Profile:

Add new profile -> name it watever you want -> State -> Plugin -> Secure Settings -> Configuration: Edit -> Failed Login Attempts -> type number of attempts you want (remember to tick Device admin Enabled) -> Save -> Done

Set Tasks:

New Task -> name it yourself

Click + -> Net -> Mobi data -> On

Click + -> Net -> Wifi -> On

Click + -> Task -> Wait -> 2 seconds

Click + -> Media -> Take Photo -> Camera: Front -> Filename: %PHOTONUMBER

Click + -> Variable -> Variable set -> Name: %PHOTONUMBER ->To: 1

Click + -> Variable -> Variable add -> Name: %PHOTONUMBER -> Value: 1

Click + -> Variable -> Variable set -> Name: %EMAIL_USER -> To: your Gmail address (only Gmail support so far)

Click + -> Variable -> Variable set -> Name: %EMAIL_PSWD -> To: your Gmail password

Click + -> Variable -> Variable set -> Name: %EMAIL_TO -> To: email address you want to send to

Click + -> Variable -> Variable set -> Name: %EMAIL_ATTACH -> To: /sdcard/DCIM/Tasker/%PHOTONUMBER.jpg

Click + -> Script -> Run SL4A Script -> Name: sendemailA.py -> Pass Variables: %EMAIL_USER,%EMAIL_PSWD,%EMAIL_TO,%EMAIL_ATTACH

Click + -> Net -> Mobi data -> Off

And it's good to go, you can add some more fancy actions like vibrate notification, or say out loud "intruder" or something
[Galaxy S III Themes and Apps] teh-maz0r:
It might help to break it down into its component parts each in a seperate 'profile' to start with.

note: If you have patchy WIFI at home this way of doing it, will cause some random wifi off/on toggles (i.e. wifi signal lost - wifi is disabled and profile #1 is activated. Tasker immediately checks location see's your within 500m of home and turns wifi back on for a minimum of 1min.)

Profile #1 - LOCATION CHECK - only needed when WIFI is off.

Criteria

Set Location use the "Net" feature ~500meters radius.

Checks your GPRS location

Tasks when criteria are met do the following

Turn WIFI ON

Enable Profile #2

Disable Profile #1

Profile #2 SSID Check - Only needed when WiFi is on.

Criteria

SSID in range checks you are connected to specific SSID

Tasks Waits one minute then enables Profile #3 and disables Profile #2 This gives your phone ~1min to find the SSID (before it starts waiting for the SSID disconnect

Wait 1 Minute

Enable Profile #3

Disable Profile #2

Profile #3 DISCONNECTED/RESET - acts as a reset when you loose the WIFI connection tasker will go back to profile #1 and wait for the location.

Criteria

SSID out of range looks for SSID disconnect

Tasks Turn WiFi off, Enable profile #1, disable profile #3

Turn WiFI Off

Enable Profile #1

Disable Profile #3

This is by no means the best way of setting this up, but it works and it's easy to do this way.
[Galaxy S III Themes and Apps] eegman:
I'm having trouble on the add python part. I don't see an Add button in SL4A anywhere. Menu opens list for settings and about and website only.

I figured it out.. I had the wrong SL4A program installed.
[Galaxy S III Themes and Apps] eegman:
I have everything working till this point. I don't see a "script" category. Any help would be appreciated.
[Galaxy S III Themes and Apps] DroidGnome:
Can either of you elaborate on WHICH SL4A app you're both referring to?

I see in the market "SL4A Script Launcher" which does not mention tasker and instead requires something called Taskbomb installed.

Via Google search I found a google project for SL4A for android and it has it's own installer, then you have to install a python addon...

Somehow I don't think EITHER of these are the one you two are thinking about....or are they?
[Galaxy S III Themes and Apps] Greedyfly:
@Tez-Mah0r

Appreciate the help there and I like the way you have your profile laid out. However, that is essentially how I do it just using Cell Near instead.

What I am after is someone to potentially explain why I now have a list of 7 cell towers as the results of my scan which means essentially it is temperamental at picking up the signal and thus switching on my WiFi. If I could get this sorted the profiles would work perfectly.
[Galaxy S III Themes and Apps] DroidGnome:
I have a theory on this.. which is why I stopped using Cell Towers when I used to use an app called "Settings Profile", which can turn on and off various settings just like you're trying to do with tasker, but it can do so via Cell towers or GPS.

I noticed the same thing that cell towers I was looking for would show up only 'sometimes' and other times new ones would appear. ALl without me moving an inch.

I THINK that the issue is this:

Tower Scanning only scans for Towers.. not 'your carriers towers' So the number of towers nearby might be a false positive since you might not be allowed to connect to one (depending on roamin).

Second.. I know cell towers can reach capacity and won't accept new connections at a certain point. My guess is perhaps that when a tower is full, it won't even show up in scans.. but as soon as a 'slot' opens, it will then show up.

If I'm right on both of those two together would explain the behaviour I used to see when I used to base things on Cell towers.. At that point I switched to using WiFi SSIDs or GPS (Turning them on/off to scan like 1 per 10 min).

Now with my S3 however.. I just use NFC to handle most of that stuff :) Tap a sticker, settings change.. tap again.. they change again. Great for "Home" vs "Car" mode when I have an NFC enabled Keychain.

You can use "NFC Task Manager" to actually call a Tasker script.. so even though tasker doesn't support NFC it won't matter.. Make your tasker script then use the other app to call it when needed. Works pretty good for what I use.

And to Winbytrick.....

I'm only getting back into tasker (somewhat abandoned it a year ago), but all my programming experience is screaming that the order should be:

That would set it to 1(only if not set already), take a picture, then add 1 to the variable for the next picture.. wouldn't it?

The reason I'm asking, is you've taken a picture BEFORE you set the variable to hold the picture number...doesn't that cause an issue, or is the variable default set to something like zero rather than Null during the first go around?
[Galaxy S III Themes and Apps] eegman:
This is the one I found. I had to install python through the app. Also had to put a file call "sendemailA.py" and it goes in the SL4A/scripts directory.

I'm still having trouble getting it to activate on 2 missed attempts. Not sure if it has anything to do with faceunlock. Still troubleshooting.
[Galaxy S III Themes and Apps] Greedyfly:
I think you are correct here DroidGnome. I am surprised however, there are so many on this thread that use it without issue. Possibly due to my location in a busy-ish part of London?

However, assuming your theory is correct if I keep scanning and scanning and scanning there must be a cut off point whereby it'll finally get all the towers available to me in my area?

If not do you think you could provide me with an alternative way of doing it? My programming knowledge is crap at best and I don't use my NFC...Mainly because I don't know how and I am too lazy :D
[Galaxy S III Themes and Apps] winbytrick:
Hey DroidGnome, I get your point. I do not know whether thing should go around in this; yet my script works perfectly normal up to now. ;)

---------- Post added at 01:38 AM ---------- Previous post was at 01:35 AM ----------

@ eegman: Sorry not to mention this only work with pattern unlock, not face unlock or password unlock
[Galaxy S III Themes and Apps] DroidGnome:
Umm I'm not sure if that's true anymore.

I use password unlock myself... and I tested it with the instructions above. The only thing I have my task set to do this is play a sound.

But the fact that it does in fact play the sound means that it successfully detected the failed unlock attempts with my password unlock.

I did notice however that it was a bit off at times.. meaning while I set it to play the sound on 3 attempts... sometimes it took 4 or 5 before the sound went off. If i set it for 1, it always went off on the 2nd attempt. Anything higher than 1 and it was slightly off...

I'm not sure if that's a bug in the app, or if perhaps password unlock doesn't always fire the missed unlock attempt, or what... but it definately works, just not consistently.

I did also try pattern unlock and that was perfect... did not try face unlock myself as that is a rather 'silly' way to unlock the phone IMO :) Get a hair cut and what.. suddenly locked out of your own phone? No thanks hehe

---------- Post added at 10:12 PM ---------- Previous post was at 10:08 PM ----------

Oh and to Greedyfly, NFC is rather easy to set up.. take a look at the app "NFC Task Launcher" in the market... it's sooo easy to set up :)

As for an alternate way of detecting your location... Personally I'd use GPS it's foolproof.. of course it uses more battery.. but so long as you get a quick lock and you don't check every 5 minutes.. you should be ok. I didn't notice what exaclty you were using tasker for honestly... but if it was just to change settings and stuff like turning on wifi, bluetooth, brightness etc... then check out another app called "Settings Profile" they have a free version you can play with that is a lot easier to set up than tasker for something this basic.
[Galaxy S III Themes and Apps] teh-maz0r:
Greedyfly - http://tasker.dinglisch.net/userguide/en/ has some good information about the location services (pro's and cons + how to use). (Location without tears) is the link you want.

@NFC = stupidly easy to use and aside from the minor hassle of having to unlock your screen to scan the tag, its pretty handy (you can flash something to make it always on, but its not recommended, as you loose some security).

Example use sticker on the door to the house which toggles two tasker profiles (actually four , two on & two off)

I just call them home and out mode

Home Mode -

Home - Enables WIFI, Increases screen on time (un-docked), sends a packet to my DDWRT router which in turn turns my pc on via WOL enables sound (if disabled), updates 4square.

Homedock - when docked puts the screen in always on, and syncs

Out Mode

Out - Sends another command to my pc putting it into sleep mode (if i forgot to), turns off the WiFi, turns on Bluetooth, changes the screen settings.

Traveldock - next time its docked, unlocks the screen so it can scan the NFC tag on the dock - allows the dock to specify the profile i want to be using depending if I'm on the Motorbike/ Car or at the office. when undocked goes back into "outmode disabling gps/bt etc
[Galaxy S III Themes and Apps] Hullie NL:
Im using nfc task launcher to switch on and off some settings, i know nfc task launcher can launch an app (not closing) and i need tasker to close the app again, how do i do this ?? i tried creating a task that kills an app but nothing is working ?? what am i doing wrong...some help pls...thanks
[Galaxy S III Themes and Apps] jh787:
I think Android re launches the app once you kill it.

---------- Post added at 01:57 PM ---------- Previous post was at 01:56 PM ----------

Just go to your home page instead of killing task??
[Galaxy S III Themes and Apps] Hullie NL:
Also did not work...tried to launch an app making a task and used it with nfc task launcher..also did not work....pffff about to give up :confused:

Verstuurd van mijn GT-I9300 met Tapatalk
[Galaxy S III Themes and Apps] Greedyfly:
Unfortunately that was kinda the point in me setting up the profile in the first place, to save battery. So GPS isn't really an option.

I haven't had so much if an issue today though and I think I might have been having problems picking up my router when all along I thought it was the Cell near function that wasn't working so well. Anyone know if the Phenomenal has weak router signal? Would another kernel be more suitable whilst still having the battery saving attributes of Phenomenal. The only reason I ask is because I was getting intermittent connections again this morning so disabled Tasker. When I switched the Wifi on manually it still wasn't picking up the router whilst in my bedroom.

Please note I use the optimal channel for my router (scanned using Wifi Scanner), I can't set up static ISP (Sky broadband) and all other devices were working from my room.
[Galaxy S III Themes and Apps] DroidGnome:
When you say 'it wsn't picking up your router', do you mean Tasker couldn't see it.. or the phone itself wasn't picking it up and connecting to it?

I have noticed one thing that is 'odd' with my US based S3... occasionally if i use an app to switch on/off my Wifi (such as tasker, nfc launcher, or settings profile).. even though Wifi gets enabled, and the S3 can see my WiFi SSID as an available wifi access point in range, it refuses to connect. Click the SSID and it quickly flashes from connecting to available.. no error message or anything.

However if I manually switch off WiFi in the settings menu, then back on.. it connects instantly.

The original EVO 4G had a similar problem a few years ago where if you used any toggle other than the settings menu things got unstable for WiFi.. wondering if perhaps the same thing is what you are seeing here...

If it's just Tasker that isn't seeing the router... then I've no clue :)
[Galaxy S III Themes and Apps] danarama:
Tasker turns on my wifi and connects fine on intl
[Galaxy S III Themes and Apps] Greedyfly:
I think my S3. When I went into the WiFi settings on the phone (with Tasker disabled) the router was 'out of range' yet like I said several other devices were connected.

And rootSU has Tasker ever failed to connect? Have you had any of the issues I have mentioned in this thread (Cell Nets changing etc)?
[Galaxy S III Themes and Apps] jh787:
A new task i have set up

Phone face down will turn the phone to silent.

If anybody calls me while it is on silent, they will get disconnected after 20 seconds and a text telling them i am busy but if it is an emergency they should call me back straight away and the phone will be off silent.

Of course if the phone is in silent by me manually then they will just get a text telling them i am busy.
[Galaxy S III Themes and Apps] Hullie NL:
oke..i solved the problem about tasker did not work...after looking and reading alot of info i used TB to make it a system app and now its working...realy weird ?? other people have this problem also ?? now i can make fully use of ncf and tasker :)
[Galaxy S III Themes and Apps] PAULRYAN52:
hi, can someone help me set up a profile, i want it to do the following

when i enter home

turn wifi on

turn 2g only on

turn sync off

turn mobile data off

turn network location off

turn gps off

when i leave home

turn wifi off

turn 3g on

turn sync on

turn mobile data on

turn network location on

turn gps on

my phones not rooted

thanks
[Galaxy S III Themes and Apps] danarama:
Wtf

2g only saves power if you have mobile data on, which your requested profile turns off.

Also mobile data only uses power if wifi is not connected
[Galaxy S III Themes and Apps] PAULRYAN52:
2g only because of signal not to save power
[Galaxy S III Themes and Apps] sewe:
Android doesn't allow an app to change the network mode

You could try this but apparently it does not work for all and that includes flashing the ROM after the injection

[APP] Toggle 2G/3G (Tasker/Locale plugin) [v0.2.3 / 3/4/2012] now with injection
[Galaxy S III Themes and Apps] PAULRYAN52:
did android allow it, i'm sure i had tasker doing what i wanted
[Galaxy S III Themes and Apps] jh787:
Another one i have manged to set up is to respond to key words in a text with my exact location right down to the door number and postcode with a shortened link to google maps.

You can also substitute the road name for the words home or work or whatever using pattern matching.

---------- Post added at 07:45 PM ---------- Previous post was at 07:44 PM ----------

I tried running this on Ommega Rom and it seemed to work on v9.1 but on v10 i had problems so i ditched it.
[Galaxy S III Themes and Apps] sewe:
I really want 2g/3g toggle to work since i have bad 3g signal at home, would be great to have tasker switch when i get home/leaving home.

Think it's strange that devs haven´t spent more time on this
[Galaxy S III Themes and Apps] rmiles7721:
Battery usage with Tasker is pretty minimal. Obviously there will always be some usage when you have a program running in the background but as I mentioned, it's negligible.
[Galaxy S III Themes and Apps] graffixnyc:
I agree, Tasker is always at the bottom of my list in better battery stats.

This is what my profiles do

When I connect to a certain cell tower(s) by my house it enables wifi and scans for my home wifi network, if it finds it, it connects and disables pattern lock. If it doesn't find it, then it turns off wifi.

And when it disconnects from my home wifi it re enables pattern lock

Then I have a profile that enables and disables gps based on what app I'm running. So I have it set to turn on gps when I use location based apps and then disables it when I exit the app
[Galaxy S III Themes and Apps] saveferris:
Just wondering if there is anyway tasker can detect my bluetooth car stereo and turn itself on and auto connect blue tooth, same with when i get out of the car and tasker turns off my bluetooth ?

BTW I dont have a dock...does this make it impossible?
[Galaxy S III Themes and Apps] goughymachine:
I'm no expert, but I would think your Bluetooth would have to be on for tasker to be able to detect your cars Bluetooth. I mean it would have to sense something to turn it on, and since your car is probably not always parked in exactly the same place GPS won't do, and I doubt your car has WiFi. Maybe if you had a car dock that it could sense, if that works?

I just leave my Bluetooth on for this reason.
[Galaxy S III Themes and Apps] daoth:
Leaving home(triggered by lost wifi connection) switch bluetooth on...

After 5m no bluetooth connection... Switch bluetooth off...

(and Let the carkit auto connect in this 5min)

That works for me in tasker
[Galaxy S III Themes and Apps] jh787:
Sorry i havnt been able to reply to your pm.

I am familiar with the issue you are having. I would strike a balance between power saving and usability.

For example auto switch bluetooth on when your home/work wifi disconnects as you are probably disisconnected because you have left your home (probably in car). Then add a task to switch bluetooth off if not connected within 2 mins. A location context may also help. It is a pain with some of these bluetooth kits. Your only real solution would be the active dock or nfc tag as far as i am aware.
[Galaxy S III Themes and Apps] jh787:
Here is another one.

Bluetooth connected and you receive a call or text

Announcement " you have received a text from: ( Name of texter)

Would you like me to read it to you?

If you say yes please(or whatever you would like to set as reply) then text is read out

Otherwise no.

Similar procedure for call but the call is taken or rejected.

You can expand it to reply to the text but i havent got that far yet.

All without touching the phone!

There is also a nice female british voice available for free which i am using and it is way better than the standard google one

It is called ivona amy and is available on the market

---------- Post added 3rd August 2012 at 12:33 AM ---------- Previous post was 2nd August 2012 at 11:56 PM ----------

I have an idea you may wish to try.

If you use the magnetic field context and you tape a small magnet to the back of your car holder or the charger cable on the tip where it is placed in phone it should be enough to trigger the sensor and activate the task.

I do not have a proper magnet to try with but i placed a small magnetic screwdriver around the base of the phone in the tasker scan mode and the reading went from a steady 60-70 to 350+. and it is only a tiny magnet with hardly any strength.

Just a thought.

I may try tomorrow and post results.

---------- Post added at 12:50 AM ---------- Previous post was at 12:33 AM ----------

After a quick test using the magnetic catch for a phone case, it is definately possible to stick a small magnet on the base of your car cradle and trigger a magnetic field context to activate/deactivate bluetooth, car mode,read aloud texts etc
[Galaxy S III Themes and Apps] saveferris:
My preference is to use your Bluetooth profile that you gave an example of on an earlier page which switches the blue tooth on or of when receiving or ending a call or if its inactive after 45 seconds.....I got your profile bluetooth tasker to work, the bluetooth does swith on....it just doesn't connect to my bluetooth stereo

I tried to use an App plugin for Tasker called "Bluetooth auto connect"......doesn't work.

I then did a search and managed to find this from a google group page.....an app called A2dp, the author of this then created a plugin for it to use on Tasker.

http://grokbase.com/t/gg/tasker/1272xz5ybs/bluetooth-auto-connect-connect-to-specific-device

Link to the Plugin below:

http://code.google.com/p/a2dp-connect/downloads/list

At first i thought it worked, the profile in tasker and A2DP connected to bluettoth......in the notification bar the bluetooth icon showed a linked icon...but i was hearing no call sound through my stereo speakers.....On further examination I went to my bluetooth phone setting, then clicked on my paired bluetooth device "settings icon" it showed my profiles One was called "Call audio" the other was called " Media audio"

The Media audio was checked which meant that it was was connected but the important one "call audio" wasn't....the only way to get it to was to actually manually press the connection.

I'm at wits end in trying to get the call audio to connect without manually having to go into my phone bluetooth settings to form a connection.

Wondering if you could give it a test run to see your results.
[Galaxy S III Themes and Apps] jh787:
Are you rooted??

Try to add this line to the end of your build.prop which is in /system/ and restart phone then try to connect:

ro.bluetooth.request.master=true
[Galaxy S III Themes and Apps] SkzBR:
Can I ask why no one like to use on{x}? Its free, but you need to login into Facebook. Android good apps are cheap, but I do realize that I need to spend like 100usd to have all apps that I need like a good launcher, tasker, etc
[Galaxy S III Themes and Apps] schwalbach:
Hey guys,

I want if a certain number calls for the phone to answer and then press the number 9 a couple times and then hang up. It is to let someone in my building if they are using my code at the door.

Any ideas?
[Galaxy S III Themes and Apps] saveferris:
Hey mate, thanks for your reply....yeh I'm rooted,

I added that line to my build.prop....still doesn't connect.

Damn!
[Galaxy S III Themes and Apps] jh787:
Following up to my previous post about using a small magnet attached to your standard car cradle, i now have it set up and am very pleased with the outcome.

The phone detects the holder perfectly and starts playing my music and brings up google maps.

It does the opposite on removal with the added benefit of a small beep if i leave phone in cradle for more than 10 seconds with ignition off(in case i forget to take the phone out of the car)
[Galaxy S III Themes and Apps] oakgrove:
In tasker. Where do you set it up to register magnetic field?

Sendt fra min GT-I9300
[Galaxy S III Themes and Apps] jh787:
Context.

State

Sensor

Magnetic field