Related
Hello,
I use my Evo everyday for work. I rely heavily on Google Maps, what always bothers me is that I operate in two different modes during the day. When I am driving I like to turn off all distractions.
One mode where I have:
-Orientation set to Lock portrait
-Auto Sync set to On
-Text Messages auto receive on
-GPS Off
Then when I drive I usually spend a couple minutes changing it to:
-Orientation set to Lock landscape
-Auto Sync set to off (disables K-9 mail sync)
-Text Messages auto receive off
-GPS on
Is there a way to create a application or script that I can easily run to switch back and forth between these manual modes? Thank you,
Have you tried Tasker? There's a free 7 day trial on the Tasker website, you can try it out and see if you can get it set up to do what you're wanting. After the 7 days you'll have to purchase it, I think it's $6-$7. There are free alternatives to it that may do what you need as well, like Settings Profile Lite and Llama. I've never used the free ones, and I only tried Tasker for the trial period because I didn't really have a use for it. There's a bit of a learning curve, so you may want to read some tutorials on it.
Sent from my PC36100 using Tapatalk
Great I will take a look at Tasker. I wonder if anyone else has had a similar need. Thank you for your reply.
Yep. Tasker is what you want.
For instance, my in-car setup is:
When connected to power AND AUX audio cable are plugged in:
Media volume 15
Silent Mode OFF
Bluetooth ON
Set secondary profile to auto-reply to sms messages
Turn off button LEDs
Display brightness 30 if after 7:35pm OR 255 if before 7:35pm
Load app Car Home
When power or headphones are unplugged, it reverts back to the way it was set before it ran the profile. It's really cool.
I have a few other profiles setup too. Mostly to put the phone in silent mode when I'm at work, or flash the battery % on the screen at unlock when its below a certain point.
Fun stuff to play around with, having root lets you use a lot more of the features.
Yes tasker is the app for me. Heres to Safe Driving! Thank you,
I wanted to start a thread that focused on automation idea's and how to execute them and NOT about troubleshooting apps or why you can't get any NFC tags to format etc...
There is already a thread dedicated to that here :
http://forum.xda-developers.com/showthread.php?t=1359057
So assuming there is a demand, please discuss any automation like:
-What you have done with your NFC tags
-What have you done with the app Tasker, NFC Task Launcher or any other automation app/scripts.
-Dream Idea's, like I want to have my house make a pizza and have it ready when I get home, but I don't know how to do that. anyone?
I'll try to keep a Table of Contents and link directly to useful idea's as we go.
Some useful links so far:
Tasker Guide thread by skulk3r
http://forum.xda-developers.com/showthread.php?t=890596
NFC Task Launcher info by krohnjw:
http://forum.xda-developers.com/showthread.php?t=980741
Reserved...
Nice thread! I use these every day!
NFC Task Launcher:
1) Tag on my laptops - Enable WiFi HotSpot, Set password and SSID, Disable Bluetooth if on, disable sync.
2) By my Door - I use a Home and Away Profile.
Away is triggered first and Disables WiFi, Enables 3G/4G, Enables Vibrate mode.
Home is triggered on second tap - Enables WiFi, Connects to my SSID, Disables 3/4G, Full Volume, Enable Sync if it was off, Launch gmail app to pull e-mails.
3) A small tag on my BT Headset - Enable BT and Connect to the headset. (When the headset is connected Tasker launches Rdio). Second tap disable BT and Tasker closes Rdio if open still.
Tasker:
1) If I am Near Cell ID by my house or friends house enable WiFi.
2) If SSID is near connect, if not disable WiFi.
3) Maps opens enable GPS, disable when closed.
4) When BT Headset connects open Rdio set media volume to 7
5) When wired headset is plugged in open Rdio set media to 11. (for the car XD)
6) When charging is pluged in set brightness to full, Max Ring volume, Enable WiFi if it's off, Enable Sync, Launch E-Mail for refresh.
7) When charged Vibrate for 30 Secs + Audio alert.
8) Proximity sensor Locks screen.
9) Long press search enable BT.
10) From 23:00 to 07:00 Dim screen to lowest setting, Vibrate mode, launch clock.
I can export them if anyone wants to use them!
Nice job! You should export those and attach them here anyway. Even if someone doesn't need exactly what you have done the profiles could be a really good learning tool. Really nice job on some of those.
I am trying to have interactions with specific programs using tasker without much luck. What I would love to do is turn my TV on and go to my DVR using the Google TV app when I place my phone on the coffee table with a nfc sticker.
Sent from my Galaxy Nexus using XDA App
Ive got a 'beacon for android' coming in the mail. when it gets here im hoping to hide a nfc card in the arm rest of my couch so when i put the phone down it will turn on the tv and will launch to the universal remote part of the dijit program.
Im thinkin all that might take some work tho. Also i would love to be using iRule/GC-100-12 or the logitech revue/harmony but cant afford to set those systems up.
I also have another NFC card on my desk so when i put my phone down it starts my computer (Using NFC launcher and tasker).
One idea i would love your opinons on is, can tasker determing if a microusb plugged in is a charger or computer or MHL/HDMI connection? i would love for my gallary or emulation to pop up when i plug it into a tv
unknownkwita said:
Ive got a 'beacon for android' coming in the mail. when it gets here im hoping to hide a nfc card in the arm rest of my couch so when i put the phone down it will turn on the tv and will launch to the universal remote part of the dijit program.
Im thinkin all that might take some work tho. Also i would love to be using iRule/GC-100-12 or the logitech revue/harmony but cant afford to set those systems up.
I also have another NFC card on my desk so when i put my phone down it starts my computer (Using NFC launcher and tasker).
One idea i would love your opinons on is, can tasker determing if a microusb plugged in is a charger or computer or MHL/HDMI connection? i would love for my gallary or emulation to pop up when i plug it into a tv
Click to expand...
Click to collapse
Wait... are these possible?
I would love a 'Morning TV' tag:
Launch Google TV app
Turn on TV
Turn on Speakers
Change to channel 70 (ESPN)
Open __ url
I'd pay someone to make that for me.. and many others.
Sent from my Galaxy Nexus using xda premium
itsjusttim said:
Wait... are these possible?
I would love a 'Morning TV' tag:
Launch Google TV app
Turn on TV
Turn on Speakers
Change to channel 70 (ESPN)
Open __ url
Click to expand...
Click to collapse
its entirely possible, just takes alot of apps and hardware.
1. NFC Card launches the particular activity in the universal remote app (dijit/irule/harmony/etc) this may require tasker.
2.Remote app performs its functions.
2.1.connects via BT/WIFI to a controller (these can emit IR/RF/rs232/TCP)
2.2.the controller sends out all the commands to all the devices, alot of this will need to be programmed in your remote app
3. NFC launcher/tasker then launches the app activity that shows you the remote.
There is alot of stuff to get your head around in controlling a home theater because there are so many differant ways of doing the same thing. How you make all this work will depend on your current system and how much your willing to spend.
For example some tv's come with HDMI-CEC (look it up on wiki), this feature allows the tv to turn on the av receiver over the hdmi cable and swap it to the correct input when you change sources.
when it comes down to it the android app is the easiest part of the system to set up, even if its the most featureless.
Well the Google TV app acts as a remote. Is there a way to record touch actions on top of opening apps? If so it should be easy as its just a few buttons to turn on everything and get to the right channel, would just be amazing if it can all be automated.
- GSM Galaxy Nexus
x942 said:
Nice thread! I use these every day!
NFC Task Launcher:
1) Tag on my laptops - Enable WiFi HotSpot, Set password and SSID, Disable Bluetooth if on, disable sync.
2) By my Door - I use a Home and Away Profile.
Away is triggered first and Disables WiFi, Enables 3G/4G, Enables Vibrate mode.
Home is triggered on second tap - Enables WiFi, Connects to my SSID, Disables 3/4G, Full Volume, Enable Sync if it was off, Launch gmail app to pull e-mails.
3) A small tag on my BT Headset - Enable BT and Connect to the headset. (When the headset is connected Tasker launches Rdio). Second tap disable BT and Tasker closes Rdio if open still.
Tasker:
1) If I am Near Cell ID by my house or friends house enable WiFi.
2) If SSID is near connect, if not disable WiFi.
3) Maps opens enable GPS, disable when closed.
4) When BT Headset connects open Rdio set media volume to 7
5) When wired headset is plugged in open Rdio set media to 11. (for the car XD)
6) When charging is pluged in set brightness to full, Max Ring volume, Enable WiFi if it's off, Enable Sync, Launch E-Mail for refresh.
7) When charged Vibrate for 30 Secs + Audio alert.
8) Proximity sensor Locks screen.
9) Long press search enable BT.
10) From 23:00 to 07:00 Dim screen to lowest setting, Vibrate mode, launch clock.
I can export them if anyone wants to use them!
Click to expand...
Click to collapse
Yes, I personally would love to use about 2/3 of those commands. Can you export those for the rest of us?
itsjusttim said:
Well the Google TV app acts as a remote. Is there a way to record touch actions on top of opening apps? If so it should be easy as its just a few buttons to turn on everything and get to the right channel, would just be amazing if it can all be automated.
- GSM Galaxy Nexus
Click to expand...
Click to collapse
So far I haven't found a way. It would be awesome for more than just google tv. If tasker, or another 'macro' type program could be set to record touches on the screen based on location coordinates or something. Like a mouse macro program on a pc. That would allow all sorts of things. For example all of this would be reality with this one hurdle:
1) When I approach my home using tasker, open my ADT app and disable the alarm in my house
2) Open my garage door with HTN app.
3) Turn the lights on with the HTN app.
4) Walk inside, and using a NFC sticker, trigger a welcome home message from my denon reciever app (hooked up to speakers throughout the house) and start some jazz music. Of course set my phone profile correctly, and maybe turn the google tv on and navigate to the cheesy firplace app.
All of this is easy, with one macro app that is the missing link.
There are apps out there that use your cell tower to turn your wifi on/off when you enter/leave your home/cell tower. you'd be surprised how accurate it is and how it doesn't drain your battery. They do other things like control gps/bluetooth/etc.
and their free and dont require purchase of tags. You could easily do this exact thread with just the app below.
They might not be able to turn your tv on, but for quality automation, you should check em out.
For one I highly recommend, try Llama in the market. Free too!
https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImNvbS5rZWJhYi5MbGFtYSJd
btw, I am not affiliated with llama in any way. Just love this app and many of your comments reflect that you would love this.
igl007 said:
So far I haven't found a way. It would be awesome for more than just google tv. If tasker, or another 'macro' type program could be set to record touches on the screen based on location coordinates or something. Like a mouse macro program on a pc. That would allow all sorts of things. For example all of this would be reality with this one hurdle:
1) When I approach my home using tasker, open my ADT app and disable the alarm in my house
2) Open my garage door with HTN app.
3) Turn the lights on with the HTN app.
4) Walk inside, and using a NFC sticker, trigger a welcome home message from my denon reciever app (hooked up to speakers throughout the house) and start some jazz music. Of course set my phone profile correctly, and maybe turn the google tv on and navigate to the cheesy firplace app.
All of this is easy, with one macro app that is the missing link.
Click to expand...
Click to collapse
Yes! Now we just need someone smart who can create this for us. Honestly if someone made this, the possibilities of NFC would be endless.
.
kegman913 said:
There are apps out there that use your cell tower to turn your wifi on/off when you enter/leave your home/cell tower. you'd be surprised how accurate it is and how it doesn't drain your battery. They do other things like control gps/bluetooth/etc.
and their free and dont require purchase of tags. You could easily do this exact thread with just the app below.
They might not be able to turn your tv on, but for quality automation, you should check em out.
For one I highly recommend, try Llama in the market. Free too!
https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImNvbS5rZWJhYi5MbGFtYSJd
btw, I am not affiliated with llama in any way. Just love this app and many of your comments reflect that you would love this.
Click to expand...
Click to collapse
We don't really need location profiles as we can just use an nfc tag to set any automation we want... right?
- GSM Galaxy Nexus
itsjusttim said:
Yes! Now we just need someone smart who can create this for us. Honestly if someone made this, the possibilities of NFC would be endless.
.
We don't really need location profiles as we can just use an nfc tag to set any automation we want... right?
- GSM Galaxy Nexus
Click to expand...
Click to collapse
Well we still need them a little. For example, I go to the same grocery store each week. So I like to have it that when I arrive, it connects to their wifi and launches the Grocery IQ app. Then it sends a text message to my wife saying "I just arrived at Wegmans, if there is any last minute items to get add it to Grocery IQ now."
alicious said:
Yes, I personally would love to use about 2/3 of those commands. Can you export those for the rest of us?
Click to expand...
Click to collapse
Will do! I have to recreate them (my HTC Amaze had them and I forgot to export before doing a reset). I should have them up tonight!
x942 said:
Will do! I have to recreate them (my HTC Amaze had them and I forgot to export before doing a reset). I should have them up tonight!
Click to expand...
Click to collapse
Thanks. I'll keep a look out for them
X942 - you didn't forget about us did you?
Sent from my Galaxy Nexus using xda premium
I used to use Locale, until it just ate up too much juice on my phone. One nice thing I could do with it is change my Google Voice settings based on my location. I had it set to disable my desk phone if I wasn't at work, and to enable it when I arrived at the office. Can you do something like this via NFC? IIRC Tasker is compatible with Locale plugins, so I could just use that.
kimboinatl said:
I used to use Locale, until it just ate up too much juice on my phone. One nice thing I could do with it is change my Google Voice settings based on my location. I had it set to disable my desk phone if I wasn't at work, and to enable it when I arrived at the office. Can you do something like this via NFC? IIRC Tasker is compatible with Locale plugins, so I could just use that.
Click to expand...
Click to collapse
I totally agree with you about locale
Sent from my Galaxy Nexus using xda premium
x942 said:
3) Maps opens enable GPS, disable when closed.
Click to expand...
Click to collapse
How did you get it to allow Tasker to control GPS? It tells me this functionality is not allowed on my Nexus...I am trying to enable it in Actions -> Misc -> *GPS
Do you on a ROM that has disabled the restriction that does not allow access to GPS?
**** UPDATE ****
Ok, did some more searching and found this...
http://www.reddit.com/r/tasker/comments/nk6m2/use_secure_settings_to_enable_gps_and_other_fun/
NFC Task Launcher
EDIT: My Questions were answered on a different board.
So I want to use the tectile in my car. The setting is simple, I want to tap the tectile and my N2 will change into the drive/car mode.Also I want it to go back to normal mode when I get out of the car, do I need to set up another tectile for that?
The tectiles don't have a switch mode or toggle mode? I know nfc task launcher can make switches & toggles but I'm not sure of the tectiles app
So I'm using NFC Task Launcher and I set it to Drive Mode. And it works. But I noticed the settings will remain the same even when I tap it again. So in other words, I would need 2 tectiles, one to get it to drive mode and another one to get back to normal mode? That would be stupid and a waste.
When you select drive mode, does it give you the option to turn it on, off or toggle?
Edit: I see it does give you the option to toggle it. Select that option when writing to the tag. Should do the trick
im pretty sure you would have to make it 2 separate tiles because 1 tile changes what you want changed and every time you touch that tile, it'll do that until you change it yourself or use a different tile. your phone doesn't stay connected to the tectile, it just reads the comand and executes
eurohomie said:
im pretty sure you would have to make it 2 separate tiles because 1 tile changes what you want changed and every time you touch that tile, it'll do that until you change it yourself or use a different tile. your phone doesn't stay connected to the tectile, it just reads the comand and executes
Click to expand...
Click to collapse
Yeah. I figured it out by playing with it. I guess it's a way for them to make more money.
safeplayer22 said:
So I'm using NFC Task Launcher and I set it to Drive Mode. And it works. But I noticed the settings will remain the same even when I tap it again. So in other words, I would need 2 tectiles, one to get it to drive mode and another one to get back to normal mode? That would be stupid and a waste.
Click to expand...
Click to collapse
If you are using the current version of NFC Task Launcher, you hit the plus to add a new tag.
Select New Tag.
Add Enable Car Dock {Driving Mode?}
Swipe the screen to the left to create a Switch Tag and hit the Add a Task button.
Add the Disable Car Dock. {Driving Mode?}
Save and write.
Now the first time you do it, it will enable and the second time it will disable it.
I just created one to do just that.
If you have trouble, I can do screenshots in more detail.
Sent from my Transformer Prime TF201 using Tapatalk HD
pbelcomp said:
If you are using the current version of NFC Task Launcher, you hit the plus to add a new tag.
Select New Tag.
Add Enable Car Dock
Swipe the screen to the left to create a Switch Tag and hit the Add a Task button.
Add the Disable Car Dock.
Save and write.
Now the first time you do it, it will enable and the second time it will disable it.
I just created one to do just that.
If you have trouble, I can do screenshots in more detail.
Sent from my Transformer Prime TF201 using Tapatalk HD
Click to expand...
Click to collapse
That's pretty much what I did. I've written 3 tags so far. One for home, one for car, and one for office.
The one for home turns off gps, turns on wifi, sets sound profile to normal, loudest ring tone, enables auto-sync, and sets the brightness down to 20%. It also disables the lockscreen because frankly I don't need the lockscreen around the house.
The one in the car turns off wifi, turns on BT, turns on GPS, disables auto-sync, turns brightness up to 80%, sound profile normal, loudest ring volume.
And the one in the office turns off wifi, turns off BT, turns off GPS, disables auto-sync, brightness to 20%, sound profile vibrate.
This thing is just super fun. I have to think of more places I can put these tags on. I'm thinking of putting one in the bathroom to automatically turn on npr in the morning.
With NFC Task Launcher, there is "two tasks" so you can set 2 tasks with one tag. It's exactly what I wanted!
So I just set one for the office where: 1st Task: Ringtone and Notification goes to vibrate only. 2nd Task: Ringtone & Notification goes to level 5. So when I get into the office, I would tap it once and it will go into office mode, then when I leave the office, I tap it again and it will go into the "2nd Task"!
Also found out that you cannot use NFC while the screen is off! That's stupid. So I searched and found this but reading it tells me that it does not work for the N2.
http://forum.xda-developers.com/showthread.php?t=1709586
Edit: ok found this thread and it might work with screen off:
http://forum.xda-developers.com/showthread.php?t=1999569
Is there an NFC tag writer that will allow a tag to work in proximity? What I'm looking to do is to mount a peel and stick tag to my car's windshield mount. Then when the phone is in the mount, it will trigger the tasks I've programmed. When i remove the phone from the mount, I'd like the phone to toggle back to the way it was before it was placed into the mount.
I thought i had an app a while ago that would allow this, but i can no longer find it.
I personally haven't tried it, but I did a quick search in the play store for " tasker nfc" and this sounds like it may do the trick for you:
NFC Retag freehttps://play.google.com/store/apps/details?id=com.widgapp.NFC_ReTAG_FREE
Sent from my Optimus G Pro using xda app-developers app
CapnPez said:
I personally haven't tried it, but I did a quick search in the play store for " tasker nfc" and this sounds like it may do the trick for you:
NFC Retag freehttps://play.google.com/store/apps/details?id=com.widgapp.NFC_ReTAG_FREE
Sent from my Optimus G Pro using xda app-developers app
Click to expand...
Click to collapse
I have that app and i don't see a proximity setting. BTW, that app allows you to set what i would call macros on your phone. Unlike other NFC apps that write directly to the tag, this one stores the tag's ID on your phone, and then you associate a bunch of commands with that tag ID. So when the phone "sees" the tag, it then executes the stored commands that were stored on the phone, without anything having to be stored on the tag itself.
andygold said:
I have that app and i don't see a proximity setting. BTW, that app allows you to set what i would call macros on your phone. Unlike other NFC apps that write directly to the tag, this one stores the tag's ID on your phone, and then you associate a bunch of commands with that tag ID. So when the phone "sees" the tag, it then executes the stored commands that were stored on the phone, without anything having to be stored on the tag itself.
Click to expand...
Click to collapse
Oh, I see what you mean. I hadn't understood what you meant by the "proximity setting" (I've never used NFC tags). Just to be clear, is the difference in that the profile is changed depending on whether the tag is either in contact or not, i.e. car mode when in contact and then detects the loss of connection when removed and restores to previous profile?
Again, I'm not sure if this helps, but I found this thread from a GS3 forum:
http://forum.xda-developers.com/showthread.php?t=2171952
It sounds more like what you were asking, but I'm not sure if it's only for the GS3.
CapnPez said:
Oh, I see what you mean. I hadn't understood what you meant by the "proximity setting" (I've never used NFC tags). Just to be clear, is the difference in that the profile is changed depending on whether the tag is either in contact or not, i.e. car mode when in contact and then detects the loss of connection when removed and restores to previous profile?
Again, I'm not sure if this helps, but I found this thread from a GS3 forum:
http://forum.xda-developers.com/showthread.php?t=2171952
It sounds more like what you were asking, but I'm not sure if it's only for the GS3.
Click to expand...
Click to collapse
Yeah, I saw that when I searched. That is basically what I'm looking for. The thing is, I could have sworn that at one point I had an app that had proximity built in as standard. Maybe it was just for rooted phones, I don't remember...
I hadn't actually used it back then for proximity, but I thought it was there to be used.
To answer your question, Yes! With proximity, you could set your phone for the normal day to day operation. Then for example, at bed time, you could place your phone into a charging dock that has a peel and stick NFC tag on it's face, and when the phone gets near enough, the tag would activate the tasks you have programmed into the tag. For example, you could turn off WiFi, turn off the ringer, Turn the brightness down to minimum, set a wake alarm/volume/tone, etc... Then, in the morning, when you remove the phone from the dock and it loses proximity with the NFC tag, the tasks will revert to their "daytime" mode, and the brightness will come back up, the WiFi will turn back on, etc...
I realize that all of this can be done by setting the tag to "toggle" functions in that the first swipe of the tag could turn WiFi off, and the next swipe of the same tag would turn it back off, but obviously I don't want to "toggle" by using multiple swipes. I want proximity. (another way would be to use two separate tags near each other and one would be the daytime tag and the other would be for nighttime...)
for the car, I want to turn brightness down a bit (I do most of my driving at night), turn on bluetooth (to sync with my handsfree device), turn WiFi off while driving, start my music app and play a specific playlist, turn the volume up to max (my cassette adapter has very low volume, and the phone automatically lowers the volume when the headphone jack is plugged in), and announce each thing as it is happening (yes that's currently an option)....
i dont use NFC
phamtung8xhd said:
i dont use NFC
Click to expand...
Click to collapse
Thanks for posting your helpful and insightful comments. They truly add to this thread!!
Anyone else have any thoughts as to whether or not an app exists that allows NFC to work with a proximity setting?
Might this help you?
I understand that what you're probably looking for is an app to "program the NFC tag" itself but I hope you find this helpful until you find what you are looking for.
You can try using an app like Llama (the location aware Brazilian camel ...) to set different profiles (with settings and all) for home, work, CAR,etc. Have Llama identify the Areas first (Don't worry about car at this point just tweak the settings for the car profile). In the events tap you can define a condition (NFC tag detected) to an action (activate profile A: Car).
For when you arrive to your destination and want your phone settings to change to suite your new location i.e. activate a different profile, you can create an event -also in the events tab- triggered when the condition (Enter/In Area)is met. Llama will then alter your settings to the ones you have set for the new area you arrived to i.e. change Car profile to Home or Work. The reason why you have to create another event to change profiles after you get out of the car, after NFC tag disconnected, is that Llama can't detect when a certain NFC tag is disconnected -my understanding- so you have to create a new trigger to bring about a new event.
Keep us informed of your progress as I am really interested in Automation myself. Cheers.
Hi,
anyone using tasker to change configuration on the watch and/or on the phone?
Watch and phone are rooted.
My first idea is to automate the display brightness setting by day/time.
Another idea would be, using the custom kernel, to modify the colors to simulate a sundown mode like I use on the phone via cflumen.
With this I think I could dim the watch in the dock too.
And when the watch is on AC (in the dock), the phone should be set to not mute notifications.
If you haven't tried yet, Autowear Tasker plugin is almost what you want... but keep in mind to work through Tasker because you don't have the option to backup Autowear actions running on watch.
I change the brightness of my watch with AutoWear and Tasker. Works perfect.
You need Wear Shell. There are posts there of how to use Tasker Intentsl
http://forum.xda-developers.com/android-wear/development/app-wearshell-t2902242
And a thread on Wear Shell + Tasker recipes.
http://forum.xda-developers.com/and...asker-recipes-wearshell-t3367531/post66749469
I use it to make watch bright when I disconnect from home or work wifi, and dim when I connect.
http://forum.xda-developers.com/showpost.php?p=66484214&postcount=21
I also have it set to activate theater mode when I start my sleep tracker.
http://forum.xda-developers.com/showpost.php?p=66608625&postcount=18