an app working like sony smart tags and... - NFC Hacking

and it can detect ANY NFC tags as functional cards.
when it's detected a certain card. it will change the settings programmed.
i solved the codes of
wifi switch on/off
auto brightness on/off
auto sync on/off
set brightness
launch vpn settings
connect to a certain wifi hotspot
here is the examples.
with Card A - Company Card (used my canteen card)
wifi on, auto sync on, dim brightness, and launch the vpn,
try to connect to my personal wifi hotspot.
with Card B - Outdoor Card (used my traffic card)
wifi off, auto sync off, auto brightness on,
with Card C - Home Card
wifi on, sync on, dim brightness.
so when i go outdoor and don't need to find the widget to turn on auto brightness, just tap the traffic card. done!
but this app is too personalized, not suitable for everyone. all the tags used now is static data in the codes.
anyone wants to expand the app to have settings, menus, and nice UIs?
XD

Bankichi5 said:
and it can detect ANY NFC tags as functional cards.
when it's detected a certain card. it will change the settings programmed.
i solved the codes of
wifi switch on/off
auto brightness on/off
auto sync on/off
set brightness
launch vpn settings
connect to a certain wifi hotspot
here is the examples.
with Card A - Company Card (used my canteen card)
wifi on, auto sync on, dim brightness, and launch the vpn,
try to connect to my personal wifi hotspot.
with Card B - Outdoor Card (used my traffic card)
wifi off, auto sync off, auto brightness on,
with Card C - Home Card
wifi on, sync on, dim brightness.
so when i go outdoor and don't need to find the widget to turn on auto brightness, just tap the traffic card. done!
but this app is too personalized, not suitable for everyone. all the tags used now is static data in the codes.
anyone wants to expand the app to have settings, menus, and nice UIs?
XD
Click to expand...
Click to collapse
hi the app's it's working yet ??
we have design an UI for a NFC app's let me see how your app's work maybe we can cooperate in some way

Related

[Q] Turn on bluetooth when in airplane mode

I use my phone with wifi for streaming video at home, if I put the phone into airplane mode and then turn wifi on I obviously save battery but then can't turn on bluetooth to use my BT stereo headphones anyone know of an app that will either just turn off the phone radio or let me turn on both wifi and bluetooth when under airplane mode.
I have spent hours in the market and tried a bunch of apps but nothing lets me turn off the phone radio and not lock bluetooth off.
Anyone know of an app that will handle this?
That is the purpose of airplane mode, to turn off BT and mobile network. You may want to save yourself trouble and turn off airplane mode. Besides, if you plan on using your phone on wifi as well as BT headphones, then you aren't saving any battery. What/who suggested you to regularly turn airplane mode on while using wifi as a battery saving technique? That just makes your phone useless for calls/text though I understand you can use the home phone for calls.
Check out an app called "Better Locale Airplane Mode" in the market. Its 99 cents. I havent used it but you can try it and see if it works.
Cm7 has this natively
-My life is a shooting range, people never change-
"Better Locale Airplane Mode" in the market, does work on my two Android 2.2 phones HTC Incredeble and LG Revolution.
The app sets the behavior options when airplane mode is enabed but does not act as a toggle itself, you use the toggle widgets to change the state of wifi and bluetooth on or off.
There is a nice battery savings to using this when not actually flying and only needing wifi and/or bluetooth

Using Tasker to save that battery

Just thought I would post some of my tasker setup to make my battery last a very long time!
First you need Tasker
You also need Secure Settings
And lastly you need Synker
if you want to make my settings super easy to install just download the two attached files and place them on the Sdcard in the Tasker folder.
userbackup.xml
userbackup.xml.txt
then start Tasker, click on the menu button and select Data then restore. This will place all my prebuilt settings in for you.
The first profile I have is Mobile. I have this profile made for when I am in my car but its settings are for anytime power is plugged in.
The things it does is: Turn on GPS, Turn off auto brightness, turn display brightness to max, turn auto sync on, turn media volume to full, turn display time out to one hour.
When unplugged from power it does the following: Turn off GPS, display turns off after 30 seconds, Auto brightness on, Auto sync off, wifi off.
The next setting turns on GPS automatically once maps or navigation is started then turns it off once you exit those apps.
The next one is the big battery saver! When the display is off it Turns off mobile data and wifi.
When the display turns on it will wait five seconds and then turn on mobile data.
lastly I have it setup to turn on mobile data every 2 hours and sync gmail then turn mobile data back off.
I have had tasker for a long time but never really dug into it until I got the SG2. I think this will make your battery last much much longer.
If anyone has better suggestions please add your input.
18.4009
i have the same setup but use juice defender to do the same thing as tasker and synker. it can actually more, like sync more or less at certain times of the day. but i've been thinking about switching to tasker, might be more battery efficient.
i'm using secure settings to turn gps on\off too, based on what applications get run. i noticed the little tray icon only turns on when an app is actively using the gps tho. does that mean gps only uses battery when actually in use? but it seems like i get more battery with it turned off completely.
for mobile, i'm going to attach gps to my car's nfc sticker instead of when plugged in. might be a little faster for charging at home.
i guess you could use secure settings and tasker to only turn nfc on at the lockscreen. although i'm not convinced nfc uses much battery.
lets see... i'm also using tasker to immediately turn off the display if upside down (in my pocket).
it turns data off if i'm reading an ebook or watching a video.
i use it for 1 click switching between 2g and 4g.
i use it to switch cpu max between 192000, 918000, and 1728000. you can get crazy battery life by running 192000 all day, but everything will run slow. usually i keep it at 918000 and play games at 172800.
there are lots of other things, but that's the battery stuff.
18.4009 said:
Just thought I would post some of my tasker setup to make my battery last a very long time!
First you need Tasker
You also need Secure Settings
And lastly you need Synker
if you want to make my settings super easy to install just download the two attached files and place them on the Sdcard in the Tasker folder.
userbackup.xml
userbackup.xml.txt
then start Tasker, click on the menu button and select Data then restore. This will place all my prebuilt settings in for you.
The first profile I have is Mobile. I have this profile made for when I am in my car but its settings are for anytime power is plugged in.
The things it does is: Turn on GPS, Turn off auto brightness, turn display brightness to max, turn auto sync on, turn media volume to full, turn display time out to one hour.
When unplugged from power it does the following: Turn off GPS, display turns off after 30 seconds, Auto brightness on, Auto sync off, wifi off.
The next setting turns on GPS automatically once maps or navigation is started then turns it off once you exit those apps.
The next one is the big battery saver! When the display is off it Turns off mobile data and wifi.
When the display turns on it will wait five seconds and then turn on mobile data.
lastly I have it setup to turn on mobile data every 2 hours and sync gmail then turn mobile data back off.
I have had tasker for a long time but never really dug into it until I got the SG2. I think this will make your battery last much much longer.
If anyone has better suggestions please add your input.
18.4009
Click to expand...
Click to collapse
Hey ,I just wanna say thanks I was getting 8 hours on a Verizon extended battery but now using your settings and tasker plus extra apps I'm getting 14 to 15 ,I just wanted to add that it in order to use secure setting you have to root your phone but it worth it.
Sent from my SGH-T989 using XDA
I just check my battery stat and it up to 21 hours,I cant believe it thanks again
Sent from my SGH-T989 using XDA
Do you still have these backup files? The links are dead when I try them. I would like to try out your settings.
Reupload please
Sent from my SGH-T989 using Tapatalk 2
Code-hunt
First post and it's a necro asking for something. I swear I used to have an account here in high school.
Anyway, I think those files are gone. Every time I come back to Tasker I try to start from the group up and a day later I'm fiending for backup.xmls/txt just whatever you use for your battery, please, just a quick string of code.
Re upload
Backup files

AOKP ROM wifi and screen off

Is there a way to shut your screen off but let apps/wifi (ie airsync, syncing your music files through wifi) run with your display off. Currently shutting off my screen while airsync is syncing files makes my screen blink on and off. I was wondering if its possible to just shut my screen and have airsync run in the background.
Bonus: How would I set a timeout for the wifi?
Anyone have a quick solution to this?
For Wifi Go to Wifi Settings>(Press Menu) Advanced> Keep Wifi On During Sleep> Never > Wifi Idle timeout, and set to what you wish.
DarthDerron said:
For Wifi Go to Wifi Settings>(Press Menu) Advanced> Keep Wifi On During Sleep> Never > Wifi Idle timeout, and set to what you wish.
Click to expand...
Click to collapse
i dont have the idle timeout...rom is from 11/13. Guess it just got added.

Night light doesn't auto activate.

I have the settings set to turn on at sunset and off at sunrise automatically but it doesn't seem to ever do it on its own. Is there some other setting where I have to set my location or turn my location on to make it work?

disabling the screen-wake upon movement (external)

disabling the internal screen-wake involved disabling the system app "moto display"
but as you might imagine, the internal screen-wake isnt really much of an issue for a foldable phone, and this doesnt disable the movement screen-wake on the external screen
i'd like for the external screen to stop turning on everytime i walk by or move, and for it to only turn on when i click the power button
is there a way? do i need root?
Turn off peak display in the display settings.
aha!
peek wasnt in my display settings at all with moto display disabled, (not sure why outside display peek functioned without it) but by re-enabling it and toggling peek off via settings > display, both screens have peek off
tested disabling moto display afterwards and it keeps this non-peek for both screens, but disabling moto display app is no longer needed regardless. still not sure why disabling the app without first detoggling only deactivated peek for the 1 screen but doesnt matter anymore ty

Categories

Resources