Using NFC to toggle system settings - Nexus 7 General

I just got myself a pack of NFC tags and I'm looking forward to using them!
Can I use them to toggle on and off certain system settings like Aeroplane Mode and others? Or would I need one tag for On and another for Off? Do I need tasker to do this?
Thanks,
Jon

Hi
Yes, you will need an app to program the tag for whatever action you like the tag to do. My tags have 2actions, one for ON like actions, and one for OFF. If i use the tag in my bedroom, my hox and my nexus will activate the wifi, turn the brightness to 0% and such things. If i hold again the device next to the tag, the mobile data will turn on, wifi off...
I use NFC Task Launcher App + Tagstand writer (wich is an addon for that app), you can find it in playstore.
Enviado desde mi HTC One X usando Tapatalk 4

Related

Tasker

Has anyone started building Tasker Tasks for use from their Pebbles yet? Integrating anything? Displaying anything on your Pebble from Tasker?
pbrauer said:
Has anyone started building Tasker Tasks for use from their Pebbles yet? Integrating anything? Displaying anything on your Pebble from Tasker?
Click to expand...
Click to collapse
I've done some small things..
Set up to click watch to take picture on phone... I'm a teacher so it is good if a student lifts my phone when I put it down.
And set up to push watch to start recording on my phone.
Sent from my SCH-I605 using xda app-developers app
yes
With the new long press and long menu the app is fantastic!
Tasks I use:
Call wife
Silent mode
Volume up
Google voice search
Trigger sound (fart) via remote.
Record sound
Take picture
shafter09 said:
With the new long press and long menu the app is fantastic!
Tasks I use:
Call wife
Silent mode
Volume up
Google voice search
Trigger sound (fart) via remote.
Record sound
Take picture
Click to expand...
Click to collapse
Are you using glance to access your tasks?
I managed to tie in the Ringer up/vibrate into one toggle task.... Saves space.
Sent from my SCH-I605 using xda app-developers app
Glance and Pebble Tasker work great with Tasker
Task functionality in Glance and Pebble Tasker work great with Tasker. Glance has three tasks and Pebble Tasker has three buttons plus a menu of up to 20 tasks.
Using Glance and dynamically changing based on locations. Glance Labels are variables, Home, Work, Class are Tasker profiles controlled by variables. Glance Label variables and %key actions are variable based on if %work=1, else if %class=1, else.
Default:
WiFi Hotspot Toggle
Call Wife
Turn on Silent (need to setup a toggle)
Work:
Turn off Work Profile (%work=0)
Open Canvas Watchface with Starbucks mobile payment barcode (haven't tested but heard it works, need to find a programmatic way to return to Glance too)
Open LevelUp on phone (need to setup like Starbucks)
Class
Turn on WiFi
Call Wife
Open Starbucks Watchface (same as above)
Tried but turned off:
If connected to SSID attwifi (Starbucks standard SSID) with a very strong signal, open Starbucks mobile payment barcode watch face via Canvas. Exit Task: return to standard Canvas watch face.
I'll use this again if I can find a programmatic way to return to Glance instead of a Canvas watch face.
Glance Actions Task Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I made a few toggle lights and fans for my home with remotestick (controls relays with tellstick) + Pebble Tasker and toggle scripts in tasker so i can turn on/off most things at home without finding the remote / phone. I also got temperature sensors hooked up so I can check inside, outside, fridge, server room temperature from the watch. Works really well even when not at home.
Sent from my C6603 using Tapatalk 4
Bender303 said:
I made a few toggle lights and fans for my home with remotestick (controls relays with tellstick) + Pebble Tasker and toggle scripts in tasker so i can turn on/off most things at home without finding the remote / phone. I also got temperature sensors hooked up so I can check inside, outside, fridge, server room temperature from the watch. Works really well even when not at home.
Sent from my C6603 using Tapatalk 4
Click to expand...
Click to collapse
Any chance of a tutorial on the remotestick / Tasker integration?
EDIT:
Ok, had a wack at it and can now control on / off bedroom lights and open / close garage door from Pebble
Only wish there where more buttons....
Sent from my GT-I9505G using Tapatalk 2
reidar.ostrem said:
Any chance of a tutorial on the remotestick / Tasker integration?
EDIT:
Ok, had a wack at it and can now control on / off bedroom lights and open / close garage door from Pebble
Only wish there where more buttons....
Sent from my GT-I9505G using Tapatalk 2
Click to expand...
Click to collapse
Good did you do toggle on/off scripts or use separate on/off?
Toggle was not that hard to set up,
Create a task and add task -> If
%RSD_<yournumberfromremotestick> matches 2
Add a plugin task to turn ON same device.
Add another task -> Else if
%RSD_<yournumberfromremotestick> matches 1
Add a plugin task to turn OFF same device.
The time you can turn on off the same device depends on the poll interval set in remotestick, so if it's set to 5min you have to wait 5min to turn off a device you just turned on with the toggle task.
At least it saves a slot for more devices you can also use long press for alternative task and the 20 tasks menu.
Sent from my C6603 using Tapatalk 4
pbrauer said:
Has anyone started building Tasker Tasks for use from their Pebbles yet? Integrating anything? Displaying anything on your Pebble from Tasker?
Click to expand...
Click to collapse
Sent from my Nexus 7 using Tapatalk 4
---------- Post added at 09:14 AM ---------- Previous post was at 09:10 AM ----------
Please excuse my incompetence using the reply function wherein
I succeeded only in re posting the post I wished to reply to
Sent from my Nexus 7 using Tapatalk 4
Bender303 said:
Good did you do toggle on/off scripts or use separate on/off?
Toggle was not that hard to set up,
Create a task and add task -> If
%RSD_<yournumberfromremotestick> matches 2
Add a plugin task to turn ON same device.
Add another task -> Else if
%RSD_<yournumberfromremotestick> matches 1
Add a plugin task to turn OFF same device.
The time you can turn on off the same device depends on the poll interval set in remotestick, so if it's set to 5min you have to wait 5min to turn off a device you just turned on with the toggle task.
At least it saves a slot for more devices you can also use long press for alternative task and the 20 tasks menu.
Sent from my C6603 using Tapatalk 4
Click to expand...
Click to collapse
Hi,
I'm using Glance for my Pebble, and unfortunately it only supports 3 tasks.
I have no earlier experience with Tasker, so I just did 3 separate tasks and mapped them to the buttons
Currently having on and off the bedroom lights (TOP and BOTTOM) and garage open / close (CENTER). The garage only uses one as it's a potential free relay.
Maybe I should try Pebble Tasker as i see they have 20 tasks in list ... but don't know how that will work in conjuction with Glance (?)..
You can also set up PebbleTasker to make a menu based system. Each of its three main tasks can rewrite the tasks to new ones on the fly.
My first set of three are "car", "garage", and "music". If I press car, I get a new set of "lock", "unlock", and "start", which do as they suggest. The other tasks operate in a like manner. You can go as deep as you want.
I actually made a mock up of a text input setup with it, based on an example app.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
jon_ks said:
Using Glance and dynamically changing based on locations. Glance Labels are variables, Home, Work, Class are Tasker profiles controlled by variables. Glance Label variables and %key actions are variable based on if %work=1, else if %class=1, else.
Default:
WiFi Hotspot Toggle
Call Wife
Turn on Silent (need to setup a toggle)
Work:
Turn off Work Profile (%work=0)
Open Canvas Watchface with Starbucks mobile payment barcode (haven't tested but heard it works, need to find a programmatic way to return to Glance too)
Open LevelUp on phone (need to setup like Starbucks)
Class
Turn on WiFi
Call Wife
Open Starbucks Watchface (same as above)
Tried but turned off:
If connected to SSID attwifi (Starbucks standard SSID) with a very strong signal, open Starbucks mobile payment barcode watch face via Canvas. Exit Task: return to standard Canvas watch face.
I'll use this again if I can find a programmatic way to return to Glance instead of a Canvas watch face.
Glance Actions Task Screenshot:
Click to expand...
Click to collapse
Still need to figure out how to do a ringer on/off toggle?
Pretty much everything I do on the Pebble is via Tasker, so the list is fairly long. Some highlights:
Home automation controls
Dynamic Music Boss switching that automatically controls phone media players outside, but PC media player (including metadata support) at home
Custom bus schedule system
Custom notification back end for greater control over when notifications are sent
Integration with custom todo list
Dynamically changing Canvas watchfaces controlled by and with info from Tasker
NFC chip on strap for unlocking phone
etc
I use tasker and secure settings to remove pin lock when phone is connected to the watch and relock if not. As I always have my phone and watch on me, it makes life easier, but I know the information on my phone is secure if I leave it somewhere or loose it
Sent from my C6903 using xda premium
I did the same thing. If my oebble is conn3cted to my phone, my lockscreen is disabled. If my watch disconnects, then my phone asks for a PIN.
I used Pebble Tasker to make my top right button launch Google Voice Search, but it wasn't waking up my phone before launching the app. I was able to figure out how to map my bottom button to wake up the screen. As it stands now, I press the bottom button to wake up the phone, and then top button to open voice search.
I haven't yet been able to figure out how to combine those into one routine. Ideally, with one press of the button, I would like my watch to 1. Wake up the phone, and 2. Launch Google Voice.
I'm not literate enough in Tasker to figure it out yet, but I'm pretty sure it can be done.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Dugan1017 said:
I did the same thing. If my oebble is conn3cted to my phone, my lockscreen is disabled. If my watch disconnects, then my phone asks for a PIN.
I used Pebble Tasker to make my top right button launch Google Voice Search, but it wasn't waking up my phone before launching the app. I was able to figure out how to map my bottom button to wake up the screen. As it stands now, I press the bottom button to wake up the phone, and then top button to open voice search.
I haven't yet been able to figure out how to combine those into one routine. Ideally, with one press of the button, I would like my watch to 1. Wake up the phone, and 2. Launch Google Voice.
I'm not literate enough in Tasker to figure it out yet, but I'm pretty sure it can be done.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Just use the 'wait' command to be sure there's enough time for the screen to fully wake, then call out for your 2nd task inside the first one.
-- Note II, TapaTalk II--
Note 3 -- Tapatalk
shafter09 said:
Trigger sound (fart) via remote.
Click to expand...
Click to collapse
Lmao! :thumbup:
I use it to launch Google Search and then with "Okay Google" voice command, can get a lot done without touching the phone.
Also, the possibility of using Pebble Tasker in conjunction with Home Automation is incredibly appealing. Quick off topic question, what are u guys using for that? (I'm looking into Vera Casa Verde)
Sent from my Nexus 7 using Tapatalk
what about speaking the weather for life of me i cant get the httpget to work or varibles for that matter does anyone have a task i could use? or just one that would push the weather to my pebble

[Q] NFC Task Launcher & Stamina Mode

I just bought a few NFC tags to play with and I'm very happy with it. However, do anyone know how to switch to Stamina Mode / Normal Mode with the NFC Task Launcher app?
On a related note, I hope Smart Connect can pick up NFC features... this may be what we're looking for here...
SonyZR.
daufoo said:
I just bought a few NFC tags to play with and I'm very happy with it. However, do anyone know how to switch to Stamina Mode / Normal Mode with the NFC Task Launcher app?
Click to expand...
Click to collapse
i can't see icon nfc when turn on startbar.

disable the disable!

Is there a workaround yet to stop Android Auto from disabling the phone.? Once I'm connected to the car I can't see any email notifications (sound/vibrate/LED). It's really irritating and means I have to disconnect my phone every 15 minutes to check email!
Thanks.
Isn't the whole point of AA not to look at your phone every 15 mins while driving ?
Envoyé de mon SM-G800F en utilisant Tapatalk
Tell Apple that. Anyone actually have an answer? Thanks.
jamesbond_28_007 said:
Tell Apple that. Anyone actually have an answer? Thanks.
Click to expand...
Click to collapse
You can hit the multi task button and open a recent app. Keep your email client open in recents and check it at stoplights.
Sent from my Nexus 6P using Tapatalk
ireknole said:
You can hit the multi task button and open a recent app. Keep your email client open in recents and check it at stoplights.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
That's it! Brilliant thank you. So simple but hadn't tried that. I've now installed the caffeine app which also keeps the screen on permanently when connected to a USB. That way the email notification LED light now works when in Android Auto mode.
Thanks again
jamesbond_28_007 said:
That's it! Brilliant thank you. So simple but hadn't tried that. I've now installed the caffeine app which also keeps the screen on permanently when connected to a USB. That way the email notification LED light now works when in Android Auto mode.
Thanks again
Click to expand...
Click to collapse
You're welcome!
Sent from my Nexus 6P using Tapatalk
jamesbond_28_007 said:
Is there a workaround yet to stop Android Auto from disabling the phone.? Once I'm connected to the car I can't see any email notifications (sound/vibrate/LED). It's really irritating and means I have to disconnect my phone every 15 minutes to check email!
Thanks.
Click to expand...
Click to collapse
Or not. That's kind of the point of Android Auto in the first place is to get people off of messing with their phones while they're driving.
The only solution that I am aware I was to buy an Android Wear watch. All notifications still come through on the watch even when connected to Android Auto.
Press multi task button then press home, quickly select app or open app drawer.
I use this method with Note 4
Sent from my SM-N910V using Tapatalk
jamesbond_28_007 said:
That's it! Brilliant thank you. So simple but hadn't tried that. I've now installed the caffeine app which also keeps the screen on permanently when connected to a USB. That way the email notification LED light now works when in Android Auto mode.
Thanks again
Click to expand...
Click to collapse
After reading this I also installed Caffeine, it was the perfect app I was looking for to prevent my screen from turning off.
I enabled my email on Android auto unit, and I receive email notification on that..
Sent from my SM-G935F using Tapatalk
Hello and sorry for reviving such an old thread.
I have used for some time the trick suggested by @ireknole with a phone having hard buttons. My new phone, however, has soft buttons and Android Auto disables on purpose the multi-task button. (Mate 10 Pro, Android 8.0).
I have no other option left now to check my phone while AA is connected to the car and running. I need to check the phone for searching for a song or my wife needs to change the song while i'm driving - plus search the internet or whatever else she feels like on long roadtrips.
However, I can still access the notifications drawer and all the shortcut buttons found there (i did not give AA permission to draw over other applications).
Does anybody know:
1) How to place a custom button in the notifications drawer which specifically does that: activate multi-task function or any other function to just put AA in background and allow me to access other apps?
2) How to forbid AA to disable my multi-task button in the first place?
Thank you!
catalin.marin said:
Hello and sorry for reviving such an old thread.
I have used for some time the trick suggested by @ireknole with a phone having hard buttons. My new phone, however, has soft buttons and Android Auto disables on purpose the multi-task button. (Mate 10 Pro, Android 8.0).
I have no other option left now to check my phone while AA is connected to the car and running. I need to check the phone for searching for a song or my wife needs to change the song while i'm driving - plus search the internet or whatever else she feels like on long roadtrips.
However, I can still access the notifications drawer and all the shortcut buttons found there (i did not give AA permission to draw over other applications).
Does anybody know:
1) How to place a custom button in the notifications drawer which specifically does that: activate multi-task function or any other function to just put AA in background and allow me to access other apps?
2) How to forbid AA to disable my multi-task button in the first place?
Thank you!
Click to expand...
Click to collapse
I haven't found a way to get the multitask button to reshow, but I have a built in app on my Samsung S8 that allows me to swipe from the edge of the phone and select the "shortcut" "recent apps" that acts like the multitask button. There may be an app that's similar in the play store that lets you open it with a swipe and map a "recent apps" shortcut as an option.
Sent from my SM-G950U using Tapatalk
another way is to install AAWidget. it display a widget on your Android auto screen.
but this only work for AA2.9 since google disable third party apk in AA3.0
AA widget will list down mails, whatapps messages etc as long as theres widget for those apk.
make a clone and aawidget and you can havemultiple widget to read your email/whatsapp etc
but you cant read full email or messages if the email or messages too long. just good enough to check what are the incoming email/messages
Thank you for your answers!
I did not try your solutions because in the meanwhile I found a way to gain complete control over my phone using Tasker.
For anyone interested, create a new profile in Tasker, set the trigger to Apps->Android Auto and the task to "Go home".
What this setup achieves is showing the home screen whenever AA tries to pop up on screen, which solves all the problems
I can use my phone as if AA was not running at all, while AA is completely functional on the car's screen.
I use AA 2.9.57xxxx.
If you are on Nougat you can add a custom tile using the regular android api to launche the home launcher activity. But please don't post any source code or ready to use apk somewhere. This should be something for the "pros" if its too easy to use they come up with a way to block the notification drawer
ktwo said:
If you are on Nougat you can add a custom tile using the regular android api to launche the home launcher activity. But please don't post any source code or ready to use apk somewhere. This should be something for the "pros" if its too easy to use they come up with a way to block the notification drawer
Click to expand...
Click to collapse
Thank you! I will also try this approach when I'll have a few hours, as I have some Android development background
catalin.marin said:
Hello and sorry for reviving such an old thread.
I have used for some time the trick suggested by @ireknole with a phone having hard buttons. My new phone, however, has soft buttons and Android Auto disables on purpose the multi-task button. (Mate 10 Pro, Android 8.0).
I have no other option left now to check my phone while AA is connected to the car and running. I need to check the phone for searching for a song or my wife needs to change the song while i'm driving - plus search the internet or whatever else she feels like on long roadtrips.
However, I can still access the notifications drawer and all the shortcut buttons found there (i did not give AA permission to draw over other applications).
Does anybody know:
1) How to place a custom button in the notifications drawer which specifically does that: activate multi-task function or any other function to just put AA in background and allow me to access other apps?
2) How to forbid AA to disable my multi-task button in the first place?
Thank you!
Click to expand...
Click to collapse
I just started using AA on my Nexus 5X running 8.1. AA hides the multi-task button, but if you swipe up from the bottom of the screen; the buttons re-appear for a few seconds and you can select it again.
My problem is that AA sets the screen timeout to 15 sec. So when I pull over to check/write an email; the screen constantly shuts off. The Nexus 5X is no longer a "fast" phone, so starting OWA (outlook) takes more than 15 sec. I've gone into the phone settings after connecting the phone and changing it back to 2 min., but this setting will re-set the next time I plug the phone in again.
Latest version and the version before it (3.1 is latest, can't remember exactly what the previous version is) has changed this.. you can now just swipe up on the phone and access it normally when it's connected to Android auto.

New to Tasker: toggle Mobile Data + GPS on non-rooted device

Hi,
New to Tasker and am absolutely amazed by it's capabilities!
Got a new Galaxy S7, which I am unable to root at this point in time.
I really need a way to toggle Mobile Data and GPS on/off.
Did quite a bit of reading and searching and only found info for rooted devices. Even tried Secure Settings, which of course needs root to toggle them.
Is there ANY way I can toggle mobile data on/off without root???
GPS will be nice as well but less critical.
Will appreciate any help.
Y.
It can be done by using AutoInput but it would require the screen to be on.
I would also appreciate some help on this too, especially the autoinput method. I got parts of it to work, like opening location settings and clicking location on if off. But I'm having trouble creating the task if location is already on. Also, the exit task is giving me fits too because every time the task runs when I open maps, it exits the app to location settings to click the on location, thus activating the exit task before I even get to use the maps haha. It basically goes on a loop for me and can't figure it out. Any help on how to configure this would be appreciated.
svampsson said:
It can be done by using AutoInput but it would require the screen to be on.
Click to expand...
Click to collapse
Thank you!
Is there a way to turn the screen on with Tasker?
If so, perhaps I can use the combination of Tasker and AutoInput to achieve toggling mobile data on off?
(I found Turn On under Display in Tasker but it has a cross on it so I don't think I can select it. Is there another plugin that will turn the screen on?... that is without root)
yud said:
Thank you!
Is there a way to turn the screen on with Tasker?
If so, perhaps I can use the combination of Tasker and AutoInput to achieve toggling mobile data on off?
(I found Turn On under Display in Tasker but it has a cross on it so I don't think I can select it. Is there another plugin that will turn the screen on?... that is without root)
Click to expand...
Click to collapse
AutoInput has that feature built in
Task => Plugins => AutoInput => Unlock Screen
Sent from my HTC One using Tapatalk
svampsson said:
AutoInput has that feature built in
Task => Plugins => AutoInput => Unlock Screen
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Thanks heaps!
This means I can achieve what I want to do. Right?
yud said:
Thanks heaps!
This means I can achieve what I want to do. Right?
Click to expand...
Click to collapse
It should yes.
Sent from my HTC One using Tapatalk
---------- Post added at 08:56 AM ---------- Previous post was at 08:55 AM ----------
Faint Paradox said:
I would also appreciate some help on this too, especially the autoinput method. I got parts of it to work, like opening location settings and clicking location on if off. But I'm having trouble creating the task if location is already on. Also, the exit task is giving me fits too because every time the task runs when I open maps, it exits the app to location settings to click the on location, thus activating the exit task before I even get to use the maps haha. It basically goes on a loop for me and can't figure it out. Any help on how to configure this would be appreciated.
Click to expand...
Click to collapse
This should help
svampsson said:
AutoInput has that feature built in
Task => Plugins => AutoInput => Unlock Screen
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Only works if screen lock security is set to none or swipe.
I have fingerprint unlock setup.
Back to square one.
svampsson... That XML file is only for screen Brightness. I did try tinkering with it to have it work for location Toggle instead but it still gave me trouble. The global action on it would not go back to the app after toggling location on. Any ideas? Thanks for the help tho.
Hi,
I just installed tasker app on my Galaxy S7 Edge.
I tried to create a task to switch on GPS when running Pokemon App and then switch off once app is closed.
Task:
1. Launch App
App Pokemon Go Data %LOC
I run the task, as expected, it opens pokemon go app and 4G(gps) icon appears on the upper-left corner of my phone. But the icon won't disappear when I manually turn off the Location on Quick Settings.
Please help how to restore Location icon on-off.
Thank you
Sent from my iPhone using Tapatalk
rxk said:
Hi,
I just installed tasker app on my Galaxy S7 Edge.
I tried to create a task to switch on GPS when running Pokemon App and then switch off once app is closed.
Task:
1. Launch App
App Pokemon Go Data %LOC
I run the task, as expected, it opens pokemon go app and 4G(gps) icon appears on the upper-left corner of my phone. But the icon won't disappear when I manually turn off the Location on Quick Settings.
Please help how to restore Location icon on-off.
Thank you
Click to expand...
Click to collapse
Do you have root? It is very easy to turn high accuracy GPS ON/OFF with Secure settings-plugin. If no root you can do it with Autoinput.

Tasker accessibility issues with Waze

Hi all, I am using Xiaomi Max 2 (Miui Eu rom), rooted and had installed both Tasker and Waze.
I had set auto rotate to be off, and only trigger when certain app (waze) is selected.
However, there are times whereby the profiles do not get activated. Instead, I will need to access the accessibility tab, unselect and reset the app, then the system will prompt me to accept before working.
Can anyone share with me on why is it as such? Thanks.
Any advice on anyone? Thanks.
Sent from my MI MAX 2 using Tapatalk
I've had the same problem.
The only way to solve it was to use another automation app (now I cannot recall which one) that allowed me to set the orientation of the screen to "landscape" when I launched some apps.
Tasker can only turn on, off or toggle auto-rotation which often creates problems. For me the problem was if the phone was not 100% in landscape mode the trigger locked the rotation in portret.
Sent from my LG-D855 powered by Aosp Extended and Tapatalk.
I found the App.
But being a Tasker forum I'm not sure if I can post the name.
Sent from my LG-D855 using Tapatalk

Categories

Resources