[Q] ICS NFC Toggle? - NFC Hacking

Possible for anyone to create an NFC toggle widget? I saw some work done on the Nexus S, but that's no longer available

I'd like to see one as well...NFC sounds like amazing tech but I'm slightly paranoid about the same sort of exploitation that was possible with credit card RFID. That or even just battery life would make it worth while to use a toggle app.

jordo_99 said:
I'd like to see one as well...NFC sounds like amazing tech but I'm slightly paranoid about the same sort of exploitation that was possible with credit card RFID. That or even just battery life would make it worth while to use a toggle app.
Click to expand...
Click to collapse
NFC may have/has a maximum range of 4cm by specification, so I honestly doubt that this is really necessary

Does anyone know the battery drain for having NFC on vs off? Seems like just having it on would cause some sort of drain. That is once reason why I would like to have some sort of toggle.

I digged into this widget you've probably seen on a Nexus S.
With use of Reflection it's possible to turn the NFC chip on and off, but only on Android versions 2.3 and 2.4. After that a special permission is needed (can only be included if you make your own ROM). So there's no way, afaik, to enable/disable NFC from your own widget or app on Android 2.5 and up.

the problem is if you turn your NFC off , you must manually turn it on … it’s why most of the app’s don’t have plane mode toggle for the plane app’s …
By the way we are working on universal app’s for NFC enabled device

ive had some tags which ive made use of, of late and so recently had my nfc turned on permanently since getting them a couple weeks ago. I haven't noticed any battery drain really.
Worth noting that, nfc is turned off when your screen is turned off

elmo61 said:
ive had some tags which ive made use of, of late and so recently had my nfc turned on permanently since getting them a couple weeks ago. I haven't noticed any battery drain really.
Worth noting that, nfc is turned off when your screen is turned off
Click to expand...
Click to collapse
I agree with you NFC doesn't drain the battery i have 3 device NFC enabled i use for testing i charge them once a week

PieterAelse said:
I digged into this widget you've probably seen on a Nexus S.
With use of Reflection it's possible to turn the NFC chip on and off, but only on Android versions 2.3 and 2.4. After that a special permission is needed (can only be included if you make your own ROM). So there's no way, afaik, to enable/disable NFC from your own widget or app on Android 2.5 and up.
Click to expand...
Click to collapse
Can you tell me where to find Android "2.4" or "2.5"?
Bardamuz said:
I agree with you NFC doesn't drain the battery i have 3 device NFC enabled i use for testing i charge them once a week
Click to expand...
Click to collapse
NFC shouldn't drain a noticeable amount of battery power; It's based off of RF-ID, which works by using induction to produce a minuscule charge in a stand-alone microchip that has no other power source, which uses that small amount of charge to echo out a preprogrammed response. The only difference is that, with NFC, the response isn't preprogrammed, and both devices can keep the channel open as long as there's another device in range, exchanging much more than a simple ID code. This whole process requires less energy than the vibrate motor uses in a single pulse.

dstruct2k said:
Can you tell me where to find Android "2.4" or "2.5"?
NFC shouldn't drain a noticeable amount of battery power; It's based off of RF-ID, which works by using induction to produce a minuscule charge in a stand-alone microchip that has no other power source, which uses that small amount of charge to echo out a preprogrammed response. The only difference is that, with NFC, the response isn't preprogrammed, and both devices can keep the channel open as long as there's another device in range, exchanging much more than a simple ID code. This whole process requires less energy than the vibrate motor uses in a single pulse.
Click to expand...
Click to collapse
Exiliar reports an approximation of:
Orientation sensor: 7.8mA
Magnet: 6.8mA
Light sensor:0.75mA
Accelerometer: 0.2mA
However, the light sensor I find actually uses a lot of battery so I don't use it.
If these sensors could be disabled would much battery be saved or is the orientation sensor only using that 8mA when the phone is rotated to a new position? Is the magnet sensor in use when there's no GPS being used?
If we could permanently disable the sensors in build.config for testing would there be any battery saving?

Bardamuz said:
the problem is if you turn your NFC off , you must manually turn it on … it’s why most of the app’s don’t have plane mode toggle for the plane app’s …
By the way we are working on universal app’s for NFC enabled device
Click to expand...
Click to collapse
You can actually toggle NFC using Tasker if you have the secure settings plug-in installed. I was thinking of creating a profile that will kill my NFC after the screen has been on a few seconds. That ways I don't need to worry about it taking juice while I've go the screen on for an extended period of time and also wont need to turn it back on when I want to use it.
Oh yeah and I've verified it does indeed actually work to toggle the NFC.

Sushibagel said:
You can actually toggle NFC using Tasker if you have the secure settings plug-in installed. I was thinking of creating a profile that will kill my NFC after the screen has been on a few seconds. That ways I don't need to worry about it taking juice while I've go the screen on for an extended period of time and also wont need to turn it back on when I want to use it.
Oh yeah and I've verified it does indeed actually work to toggle the NFC.
Click to expand...
Click to collapse
Let me explain simply: if you turn plane mode on : you cut all radio emission& transmission this include NFC as it’s a radio technology ….
Tasker and a few have plane mode on/off but in my eyes is non sense as you can’t switch on with a NFC Tag can only be made manually, yet no API or way to only turn off the cell phone part …

I'd really like to disable all those other sensors too just for testing...

Bardamuz said:
Let me explain simply: if you turn plane mode on : you cut all radio emission& transmission this include NFC as it’s a radio technology ….
Tasker and a few have plane mode on/off but in my eyes is non sense as you can’t switch on with a NFC Tag can only be made manually, yet no API or way to only turn off the cell phone part …
Click to expand...
Click to collapse
Hmm, I added the plane mode on/off/toogle feature to NFC ReTag without disabling the NFC Service ... so I think it´s possible (at least on 4.0.4 ) ;-)

ascsa said:
Hmm, I added the plane mode on/off/toogle feature to NFC ReTag without disabling the NFC Service ... so I think it´s possible (at least on 4.0.4 ) ;-)
Click to expand...
Click to collapse
In two device with different version it’s exactly the same
but if you made a custom mode in a rooted device you can do everything you want …. in stock version plane mode mean all radio service are cut this include NFC
PS: and i have all existing apps in NFC in my device and all act the same
{
"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"
}

have you tried nfc retag ?

NFC don’t work in plane mode
ascsa said:
have you tried nfc retag ?
Click to expand...
Click to collapse
I guess i told you i have all app’s and i have try all existing app’s ….
if you read my signature you will know we are developing some app’s in NFC , so let say i know what i am talking about
PS: the one in orange is one of the app’s we have made but not yet published , if have a legal and simple way to have plane mode and NFC activated i will be the most happy guy in this forum (and surely hugely rich)

Bardamuz said:
I guess i told you i have all app’s and i have try all existing app’s ….
if you read my signature you will know we are developing some app’s in NFC , so let say i know what i am talking about
PS: the one in orange is one of the app’s we have made but not yet published , if have a legal and simple way to have plane mode and NFC activated i will be the most happy guy in this forum (and surely hugely rich)
Click to expand...
Click to collapse
Hmm again ,works for me on stock 4.0.4 nexus s ... without any problems!
And if you read my signature you will know I´m the dev of NFC ReTag ...
http://forum.xda-developers.com/showthread.php?t=1477138
..published a couple of month ago...
Anyone else who can confirm it working or not working ?

NFC / Plane Mode
ascsa said:
Hmm again ,works for me on stock 4.0.4 nexus s ... without any problems!
And if you read my signature you will know I´m the dev of NFC ReTag ...
http://forum.xda-developers.com/showthread.php?t=1477138
..published a couple of month ago...
Anyone else who can confirm it working or not working ?
Click to expand...
Click to collapse
Glad to know we are in same field
i have not catch your signature sorry : in my Xperia S in 2.3.7 don’t work , also in the HTC ONE X and the LG L5 (4.0 Both) same when you go in plane mode no NFC enabled
Hope that help, if you find a regular way , please let me know

Bardamuz said:
Glad to know we are in same field
i have not catch your signature sorry : in my Xperia S in 2.3.7 don’t work , also in the HTC ONE X and the LG L7 (4.0 Both) same when you go in plane mode no NFC enabled
Hope that help, if you find a regular way , please let me know
Click to expand...
Click to collapse
No problem,
but perhaps we didn´t get each other ... sure if you enable the plane mode via the power button or some widget or other apps ... nfc will be disabled !
But have you tried the toggle airplane option in my app?

Related

[Q] ATT Samaung Galaxy Note

Hello,
This is my first post to EDA. I have an unlocked Galaxy Note 717 and was wondering is their any way to use the NFC feature?
I think this feature is locked on the phone.
This may be helpful.
romanelli said:
Hello,
This is my first post to EDA. I have an unlocked Galaxy Note 717 and was wondering is their any way to use the NFC feature?
I think this feature is locked on the phone.
This may be helpful.
Click to expand...
Click to collapse
Not sure if your version have or not the NFC chipset , but the simplest way is try to download any NFC related app, eventually try AirDroid as some app’s wont be installed thru the marketplay …
Hope that help
On the I777, it was possible to get NFC (minus Google Wallet) with some smali hacks in Settings and a permissions XML.
I believe the ICS leaks enable it.
This is better discussed in your device-specific forum.
Most of the roms I've tested have the option available to enable in settings. If not, you can check this thread
http://forum.xda-developers.com/showthread.php?t=1545751
Sent from my Galaxy Note using xda premium
so can you use google wallet on ATT Note now?
ernims said:
so can you use google wallet on ATT Note now?
Click to expand...
Click to collapse
No. The nfc function of Google wallet isn't supported by the note or att
Sent from my SAMSUNG-SGH-I717 using xda premium
neevz said:
No. The nfc function of Google wallet isn't supported by the note or att
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
well that sucks.
cause my buddy bouth ATT note.
and i was playing and i saw if you want to turn on the NFC
Tried my new Moto NFC enabled headset today, my Note says something about unknown tag. Apparently this phone doesn't support NFC pairing for headsets.
sweet!
jbird951 said:
Tried my new Moto NFC enabled headset today, my Note says something about unknown tag. Apparently this phone doesn't support NFC pairing for headsets.
sweet!
Click to expand...
Click to collapse
hi no it’s you don’t have the apps for made the action requested by your headset. NFC need app for made the action writing in the tag/products it’s like you open a word file in your PC but no M$word or text editor ….
your Galaxy note is NFC enabled
try the app’s by Sony : Liveware can work with yout HeadSet or try to know with NFC Moto have in their mobile
hope that help
[edit] the apps is My Moto Speak
And the Apps is here
please let me know if that work
Bardamuz said:
hi no it’s you don’t have the apps for made the action requested by your headset. NFC need app for made the action writing in the tag/products it’s like you open a word file in your PC but no M$word or text editor ….
your Galaxy note is NFC enabled
try the app’s by Sony : Liveware can work with yout HeadSet or try to know with NFC Moto have in their mobile
hope that help
[edit] the apps is My Moto Speak
And the Apps is here
please let me know if that work
Click to expand...
Click to collapse
I have the Moto App installed and still get the unknown tag error message. If what else I've read is true, NFC has different profiles, sort of like how some of my BT headsets don't support A2DP even though it's Bluetooth.
I will try the Sony one in a bit though, thanks.
*EDIT* just tried the sony one, didn't work either.
jbird951 said:
I have the Moto App installed and still get the unknown tag error message. If what else I've read is true, NFC has different profiles, sort of like how some of my BT headsets don't support A2DP even though it's Bluetooth.
I will try the Sony one in a bit though, thanks.
*EDIT* just tried the sony one, didn't work either.
Click to expand...
Click to collapse
interesting, what is exactly the model of your headset ….
Normally your H-Set should be AD2P …
I will try the Moto App’s and try to see what type of NFC code he his waiting ..
for the sony is normal it doesn’t work as what the app’s have to read is writing only in the sony accessories … i have made working the speaker Nokia 360 with the HOX i have and work like a charm … so i didn’t see why your H-Set Moto won’t work with your Note …
let me see that case
Bardamuz said:
interesting, what is exactly the model of your headset ….
Normally your H-Set should be AD2P …
I will try the Moto App’s and try to see what type of NFC code he his waiting ..
for the sony is normal it doesn’t work as what the app’s have to read is writing only in the sony accessories … i have made working the speaker Nokia 360 with the HOX i have and work like a charm … so i didn’t see why your H-Set Moto won’t work with your Note …
let me see that case
Click to expand...
Click to collapse
The model's the Elite Flip, maybe it doesn't work because I'm not sure if the NFC's offical, I'm running an ICS leak, and I know AT&T for whatever reason doesn't want NFC enabled in the i717. I don't have the international version if that makes any difference.
jbird951 said:
The model's the Elite Flip, maybe it doesn't work because I'm not sure if the NFC's offical, I'm running an ICS leak, and I know AT&T for whatever reason doesn't want NFC enabled in the i717. I don't have the international version if that makes any difference.
Click to expand...
Click to collapse
That don’t made any change, the biggest difference is you have the NFC enabled or not … in the other hand i have see the MotoSoftware is not that much open in AD2P like he must be. But let me figure out , how give a kick in the nuts to both ATT & Moto and made the things work like a Charm.
i will get back to you soon

[App] Wave Control - Control your phone without even touching it

Wave Control uses the proximity sensor to detect hand gestures to control music playback (free version) and more (paid version).
Update (10/11/2012): Half of proceeds from app sales from October will be donated to Breast Cancer Research
More Info Here
Update (9/7/2012): New Tasker Support for changing profiles in Wave Control!
Update (31/08/2012): Jelly Bean users are getting force closes in the Play Store app when navigating to Wave Control -- The free version's apk is available to download on this post. Please if it's working for you in Play Store download from there.. I need the install count
I developed this on the Note and luckily it happens to have one of the best proximity sensors (at least for my uses). Works best on the Note and Galaxy Nexus. Not so great on HTC phones and SGSII due to their particular sensors (much slower).
There are 4 basic gestures:
-Hover
-1 Wave
-2 Waves
-3 Waves
By default they correspond to Play/Pause, Next, Previous, Enable/Disable Controls respectively.
In the Pro version, they can be remapped to any of those plus: Turn Screen On, Volume Up, Volume Down, Launch Google Voice Search, Alt Play/Pause (for MX Video Player), and do nothing.
Popular uses are:
When driving, don't have to take your eyes off the road to try to hit a button
When your hands are dirty so you don't smear crap all over your phone like when cooking or working on car
While on the computer, you don't have to bother waking the phone to change the song (works even when the screen is off)
I'd like to see what you guys think of it. If you have any suggestions for new features or any feedback, I'd love to hear it.
Google Play Store Links:
Free Version
Paid Pro Version
Here are a couple youtube video demos:
and more of the Pro features:
I've got an identical post in the Galaxy Note forum. I'm limiting the call for feedback to these two devices for now since they have the most responsive sensor.
Holy crap, this is awesome.
Sent from my Galaxy Nexus using xda premium
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Meep70 said:
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
Click to expand...
Click to collapse
Yeah been rolling this idea around for some time. I've been kind of lazy about implementing it. I think I'll start coding it up to include in the next update unless a bug pops up first.
Thanks for the support!
kickr said:
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Click to expand...
Click to collapse
If I used just the light sensor then, yeah it would have that limitation. The proximity sensor (on the same chip) uses an IR LED to light up the near object and the light sensor to detect the IR reflection.
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Pat123 said:
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Click to expand...
Click to collapse
For me, it's been a little under what the music player uses. The system broadcasts on state changes of the sensor so I don't have to poll. Which is quite nice.
This is phenomenal. I like the potential!
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Blazing on my Nexus Prime using xda premium
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
15israellai said:
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Click to expand...
Click to collapse
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
I would love a sensitivity toggle. For me, the response time seems slow.
MarksThinkTank said:
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
Click to expand...
Click to collapse
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
ArmanUV said:
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
Click to expand...
Click to collapse
Yeah perhaps that could be a replacement for the pocketmode.. just disable the wakelock.
Pocket Mode was a user request. I guess the person had fairly baggy pants such that the controls were getting reenabled and music started playing while they were walking. So all it does is prevent that from happening. It's raised more support questions than it addressed so it does need to change.
The headphones unplug exit is an auto exit of the app when you unplug your headphones. It used to just be the way the app behaved but I had a request to be able to disable it.
Having to have the app in front is more of a carryover from before I had the notification icon change with enable/disable. It was just to make the user see the status change. I had kinda forgotten about it.
All good points! Thanks for the feedback.
I think I'll change Pocket Mode to something like Only Work With Screen On and then just toggle the wakelock. More straight forward.
Thanks again!
Pocket Mode
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
200mpx said:
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
Click to expand...
Click to collapse
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
------
So this fun... it still works without the wake lock. Now I'm thinking back to why I put it there in the first place.
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
MarksThinkTank said:
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
Click to expand...
Click to collapse
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
MarksThinkTank said:
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
Click to expand...
Click to collapse
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
200mpx said:
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
Click to expand...
Click to collapse
Yeah that might a good way to activate it.. hmm.
I ended up just settling on Wake Lock.. see how many questions I get about it.
I just posted V1.50:
-Wake Lock as an option, default is off
-Pocket Mode now disables everything when the screen is off
-Tweaked the timing for the SGSII
-Fixed a bug for the play/pause on MX Video (forgot to put this in the app's changelog)
-Pro gets Screen Off command
Thanks for great feedback guys! It's helping me quite a bit.
Still to come:
For Pro: Launch any installed app
Adjustable timing for the gesture window
Ingenious.
Sent from the future.
This is awesome.
Sent from my Galaxy Nexus

[APP][4.+][NFC] NFC Hotspot FREE -> the coolest way to connect your WiFi Hotspot!

While still waiting for my Nexus 7 (not sure if I will get one before the official european start .......) I imagined that I will use the Android Hotspot feature a lot to connect the Nexus 7 to my phone for tethering .....
So I was searching a pragmaticall way to open a WiFi Hotspot on my Galaxy S3 and connect the Nexus 7....
And I found probably the coolest way ......:laugh::laugh:
Just BEAM your WiFi Configuration from one NFC device to another ...
(.... and open the Hotspot automatically and connet the WiFi- network automatically on the receiving device ....and add an Hotspot tag option for people with only one NFC Device and... and... and ....)
The implementation was a pain, but I finished it yesterday
{
"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"
}
My new app NFC Hotspot
https://play.google.com/store/apps/details?id=com.widgapp.NFC_Hotspot_FREE was released a couple of hours ago within the Google Playstore ....
I know the US carrier have some issues with WiFi hotspots and tethering, but check it out ....
It´s the initial release, so I would expect some issues/ bugs (especially with some carrier brandet roms) ... works perfect with my NFC testing devices ...., but again, not tested by myself on the Nexus 7 --> Feedback highly welcome !
******For Android BEAM feature, you need 2 NFC devices !*********
Known Issues:
- Hotspot doesn´t open on some HTC device with some (stock) firmware versions!
-------------------------------------------------------------------------------------------------------------------------------
Change log:
Version 1.3: Improved beaming and tag writing + fixes for Android 4.3 issues
Version 1.2: Improved performance and minor bugfixes
Version 1.1: Added toggle option and some minor bugfixes
Version 1.0: Initial Release!
Be aware that this is some kind of sparetime/ hobby project ....mainly to test / demonstrate a cool NFC feature ...It´s stable, but don´t expect any eye candy or lot´s of new features or additional development
ascsa said:
While still waiting for my Nexus 7 (not sure if I will get one before the official european start .......) I imagined that I will use the Android Hotspot feature a lot to connect the Nexus 7 to my phone for tethering .....
So I was searching a pragmaticall way to open a WiFi Hotspot on my Galaxy S3 and connect the Nexus 7....
And I found probably the coolest way ......:laugh::laugh:
Just BEAM your WiFi Configuration from one NFC device to another ...
(.... and open the Hotspot automatically and connet the WiFi- network automatically on the receiving device ....and add an Hotspot tag option for people with only one NFC Device and... and... and ....)
The implementation was a pain, but I finished it yesterday
My new app NFC Hotspot
https://play.google.com/store/apps/details?id=com.widgapp.NFC_Hotspot_FREE was released a couple of hours ago within the Google Playstore ....
I know the US carrier have some issues with WiFi hotspots and tethering, but check it out ....
It´s the initial release, so I would expect some issues/ bugs (especially with some carrier brandet roms) ... works perfect with my NFC testing devices ...., but again, not tested by myself on the Nexus 7 --> Feedback highly welcome !
******For Android BEAM feature, you need 2 NFC devices !*********
Click to expand...
Click to collapse
Will give it a go, do I need to install it on my Phone, My Tablet or Both?
Just tried it, installed it on both my Galaxy Nexus and Nexus 7 - Works great!
Would be good if you could tap them together again to de-activate the WiFi tethering and go back to previous state?
Good work mate!!
PS I love the description drawings!!
StuMcBill said:
Will give it a go, do I need to install it on my Phone, My Tablet or Both?
Just tried it, installed it on both my Galaxy Nexus and Nexus 7 - Works great!
Would be good if you could tap them together again to de-activate the WiFi tethering and go back to previous state?
Good work mate!!
PS I love the description drawings!!
Click to expand...
Click to collapse
THANKS!
The on/off toggling is no problem, I think I will add a additional setting ....as default behavior you will run into issues with toogling when you want to connect more than 1 device (not sure if anyone is out there with more than 2 NFC devices yet ) ... and I have one or two additional ideas to make it even more fun ....so I think the next feature update (not bugfixing) will come with a toggle option ....
PS I love the description drawings, too! It was at first a joke during development/ testing , but anybody who tested the app liked them, so I will keep them
ascsa said:
THANKS!
The on/off toggling is no problem, I think I will add a additional setting ....as default behavior you will run into issues with toogling when you want to connect more than 1 device (not sure if anyone is out there with more than 2 NFC devices yet ) ... and I have one or two additional ideas to make it even more fun ....so I think the next feature update (not bugfixing) will come with a toggle option ....
PS I love the description drawings, too! It was at first a joke during development/ testing , but anybody who tested the app liked them, so I will keep them
Click to expand...
Click to collapse
Yeah I guess that makes sense. I would imagine the average user would only be tethering one tablet to one phone though?
Keep up the good work!!
What are the advantages of going Pro?
StuMcBill said:
Yeah I guess that makes sense. I would imagine the average user would only be tethering one tablet to one phone though?
Click to expand...
Click to collapse
Yes, so toogling would be standard ....and having a setting for disabling toogling would make sense to me .....
Keep up the good work!!
What are the advantages of going Pro?
Click to expand...
Click to collapse
Pro: No Ads and you could fully customize your Hotspot settings --> give it an other name, change the security to none or WPA2 and set an own password ....
Standard/ Free
SSID: NFC Hotspot
Security: WPA-PSK
Password: 10 chars randomly generated on first start of the app ...
ascsa said:
Yes, so toogling would be standard ....and having a setting for disabling toogling would make sense to me .....
Pro: No Ads and you could fully customize your Hotspot settings --> give it an other name, change the security to none or WPA2 and set an own password ....
Standard/ Free
SSID: NFC Hotspot
Security: WPA-PSK
Password: 10 chars randomly generated on first start of the app ...
Click to expand...
Click to collapse
Ah OK, cool. Not sure if I need those features - might just get it to support development though!
I like this so much.....I just bought PRO!!
Thanks
Stewart
Don't have a nexus 7 nor do I plan on getting one but this is probably one of the coolest things I've seen on xda. Good job OP
Sent from my SGH-T989 using xda premium
JPOKeefe said:
Don't have a nexus 7 nor do I plan on getting one but this is probably one of the coolest things I've seen on xda. Good job OP
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Thanks!
btw. you don´t need a Nexus 7 ... works with every NFC device ... and you even don´t have to BEAM ... --> write a Hotspot tag (the little tag symbol in the action bar ... between "?" and "PRO") ... stick it to your laptop .... and every time you tab your phone against the tag on the laptop it opens a hotspot ....or connect to the specified Wlan ...(you can select if the device should react as sender or receiver via setting)
StuMcBill said:
Ah OK, cool. Not sure if I need those features - might just get it to support development though!
I like this so much.....I just bought PRO!!
Thanks
Stewart
Click to expand...
Click to collapse
You are welcome !
If you encounter any problems ... just post it here, or write a pm or an e-mail ..!
Hi. For those of us who have to deal with the US carriers would it be possible to add an option to choose the hot spot app (such as wifi tether)
Great work.
Sent from my SPH-L710 using Tapatalk 2
this is awesome. now i just need to retrofit an NFC chip in my Razr Maxx!
This is great, using it right now with my nexus hooked up to my one x did have to wave my phone around a bit as I forgot the NFC is near the battery area heheheh.
Pro version purchased in support of the dev! Just a small suggestion or personal idea - any thoughts on maybe giving it a more minimal look jelly bean settings menu style? Or just a little more polished look?
Early days I'm aware but this is a great app imo and should look the part
Buy it folks!
Sent from my Nexus 7 using xda app-developers app
Moricon said:
Hi. For those of us who have to deal with the US carriers would it be possible to add an option to choose the hot spot app (such as wifi tether)
Great work.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Launching an app is no big deal ... but I doubt that i could pass the login data to an other app ...if the app doesn´t provide any api, it would be hard ... I will have a look, and put this on my toDo list ...
twistedh said:
This is great, using it right now with my nexus hooked up to my one x did have to wave my phone around a bit as I forgot the NFC is near the battery area heheheh.
Pro version purchased in support of the dev! Just a small suggestion or personal idea - any thoughts on maybe giving it a more minimal look jelly bean settings menu style? Or just a little more polished look?
Early days I'm aware but this is a great app imo and should look the part
Buy it folks!
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yeeah, design ... my kryptonite ... not my top priority during development, but sure your right, I could polish the app a little ....currently it has the nerd/ trash look
What a great idea. I'm gonna give this a try later.
Just loaded it up on the gnex and the n7 and it works like a charm. Nice work!
Forgive me. Installed on both Nexus 7 and Verizon Galaxy Nexus.
Beam and NFC enabled on both devices.
app opened on both devices.
Touch backs and nothing happens.
Do I need to turn on WiFi hotspot on Galaxy Nexus first? ......or is this app supposed to actually do that?
Sent from my Nexus 7 using Xparent SkyBlue Tapatalk 2
You only have to open the app on your galaxy Nexus..(but you can open it on both, doesn't matter) ... Then tap the two device together... You should hear the "nfc" sound.... Then tap on your galaxy Nexus the "touch to beam" symbol.... And that's it....
Hotspot opens automatically on galaxy Nexus... Nexus 7 automatically connects to the Hotspot... At least, it should work this way
Sent from my GT-I9300 using xda premium
Please link to the Pro version. I'm wanting to buy it but the Play Store isn't displaying it.
Sent from my Nexus 7 using xda premium
player911 said:
Please link to the Pro version. I'm wanting to buy it but the Play Store isn't displaying it.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
?
The FREE version has a link... Try the "PRO " button... Beside that, it's nearly the same link... Change FREE to PRO...
Sent from my GT-I9300 using xda premium
This is way cool. I have a GS2 phone with no NFC at the moment but will be upgrading soon. I'm going to buy this app to support your work even though I won't be able to use it for awhile.
Sent from my Nexus 7

[GUIDE] Getting the most out of your HOX (Inc Battery/Speed)

Over the last few weeks, I've been looking into the most productive ways of saving battery on my HOX. Please note you don't have to follow this guide Step-by-Step, you can simply pick and choose which tweaks/tips you want to use to try and improve your battery.
Some of the tricks I used, were extremely effective, others have little effect but which ever ones you choose, is up to you:
Optional (BUT MADE A HUGE DIFFERENCE):
Click to expand...
Click to collapse
Before I went about getting the most out of my battery, I made a complete factory reset, to make sure anything left from previously used rogue apps etc, were gone and werent causing issues.
First (Optional) - Get a new launcher:
Click to expand...
Click to collapse
The first thing I did was get Nova Launcer, as I think Nova is clean, smooth and looks very similar to stock Android, which makes it easier to go from my HOX, to my Nexus 7 without getting confused. This is also great if your one of the many out there that aren't a fan of Sense. There are other launchers to choose from, so make your choice:
Nova
Apex
GoLauncher
LightningLauncher
I can only comment about Nova, which uses next to no battery.
Second - Creating some useful toggles:
Click to expand...
Click to collapse
For this, I used HD Widgets. Create toggles for your brightness and then use this toggle to set your brightness to a point where you find it nice. I left it at 50%. Also create a toggle to FORCE SYNC.
{
"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"
}
HD Widgets
Beautiful Widgets
PowerToggles (Free Alternative)
Third - Disabling all / Un-used Syncs:
Click to expand...
Click to collapse
Auto syncing in my eyes, is pretty useless, as everything re-syncs/updates when you enter it, including mail and calendars etc. So I turned most of them off, leaving a couple such as Play Updates. Then, if needsby, use the toggle widget you created earlier and force-sync when you need to.
THE BIGGEST SYNC DRAINER IS FACEBOOK, COMPLETELY DISABLE FACEBOOK's SYNCS, Unless this is important to you !
Goto:
Settings -> Accounts and Sync -> Choose each profile and un-tick any Sync's that you don't use.
Fourth - Using Tasker to its potential ! (MOST EFFECTIVE):
Click to expand...
Click to collapse
For those of you who don't know, Tasker is an EXTREMELY powerful automation tool for your phone, which you can program to do almost anything you wish. Tasker is known to have a learning curve, but I find if you look at it logically you can figure your way around it quite simply. It works like this:
What do I want to happen
What is going to cause it
What I want Tasker to do once that has happened.
YOU CAN FIND TASKER HERE
Tasker Profile 1 - This has got to be one of the best Tasker profiles I've done yet, as it saved me pretty much 20% battery, A DAY.
Profile One:
Set the Context to - Display State ON
Set a wait period of 10 seconds
Set the Task to - Enable Wifi
Profile Two:
Set the Conext to - Display State OFF
Set a Wait period of 10 seconds
Set the task to - Disable Wifi
The wait is so that when you flick the screen on and off, to check time/date, it doesn't enable/disable Wifi straight away.
Another method of this, to save even more battery, would be to disable WiFi altogether, and then set tasker to enable WiFi by App per App basis (Such as Facebook/Browser/Youtube) etc
Bedtime Ritual?
Some Android Phones/Versions support tools to allow you to disable almost anything between certain times. This is often called "night-mode". This can save rucks of battery, but isnt useful to many as lots of people charge during the night. If your one that doesn't, either use the in-built funtions, or again use Tasker, to disable all features and functions you see fit between the times you sleep and wake up. Such as 12PM to 6AM.
Fifth - Changing to GSM Only (When no Data needed):
Click to expand...
Click to collapse
Although I don't use this one much myself, it can make almost a 20% different in battery between GSM and GSM/WCDMA Auto. If possible, changing it to GSM only can save alot of battery:
Step 1: Tap on settings in the notification panel.
Step 2: Then tap on Mobile network and the network mode.
Step 3: Tap on GSM only.
Sixth - Monitor your battery, to check whats unique to you:
Click to expand...
Click to collapse
Monitoring your battery, to see whats draining your battery in particular can be a very good method of highlighting, and remove rogue battery eaters etc.
The abolute best tool for this, bar non is BBS (BetterBatteryStats) which monitors Wakelocks etc to see whats eating the battery.
You can find BetterBatteryStats here.
If you like his work and would consider donating find it on the PlayStore.
Seventh - Use Push Notifications where possible:
Click to expand...
Click to collapse
Alot of people have mail clients on their device, this can range from Exchange servers for work, to personal E-Mails such as GoogleMail and HotMail. These often "poll" for updates every so often (usually 15 minutes) this is an absolute killer for battery, luckily, alot of them now support "Push" notifications. If this is an option for you USE IT.
Eighth - Ditch Un-used widgets:
Click to expand...
Click to collapse
Widgets are very useful for most users, and alot of people use them. It is also one of Androids main differences to its competitors.
Ditch the Widgets you rarely use, or those that don't make much difference and could be removed in exchange for simply opening the app.
For example FaceBook's widget in my eye's is useless, its just as easy to go to the Website/App and check their. Lets be honest here, people are on FaceBook multiple times a day, whats the use in the widget?
Also, if your like me, everything is kept on the one page, remove all other Widgets from other pages if possible.
Nineth - Disable Haptic Feedback:
Click to expand...
Click to collapse
Haptic feedback can be an absolute killer to your battery, and is also pretty useless. Haptic feedback basically plays a tone/vibrates each time you press something, so typing "Hello" would cause it to vibrate 5 times. Whats the use? Surely you know when you've pressed it, and also LOOK AT THE SCREEN? to see if you've pressed it.
To Disable haptic feedback:
Haptic Feedback, along with sound feedback, is located under the "Sound" options, at the very bottom. Disable one or both and you will see an improvement.
IF THERES ANYTHING ANYONE CAN ADD TO THIS. LET ME KNOW.
Wilks3y.
Reserved for performance Tweaks.
Good work!! :thumbup: So helpful..
Covered almost all the tips and tricks
Sent from my HTC One X using xda premium
deepak_kutti said:
Good work!! :thumbup: So helpful..
Covered almost all the tips and tricks
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Thanks, will be adding tweaks for performance gain also soon.
(When I get chance)
Thanks for the feedback
Added four more battery tips.
Performance tweaks still to come.
Good one mate!!! ran out f thanks lol!!!:silly:
exocetdj said:
Good one mate!!! ran out f thanks lol!!!:silly:
Click to expand...
Click to collapse
Ta, and gutted
Dno whether to bother with performance tweaks.
Especially all the moaning that goes on when you try and ask/help people.
A few points from me too..
1. Update the apps regularly. The updated apps usually have bug fixes which helps not to drain your battery fast.. It's not so noticeable,,but it works!! :thumbup:
2. Get the maximum signal strength. Battery tends to be more energy sucking while it constantly search for network coverage.. It's not possible for constant travellers,,but try to keep the phone atleast at home where you can get the best coverage..
3. Keep the battery cool. Ofcourse most users love to play games and do much hard usage with their devices,,but remember that a hot battery drains fast.. So keep an eye on the battery temperature..
4. Keep an eye on the autostart apps that unwantedly start up from the boot. Rooted users could disable these apps to minimise battery wastage
(needs suggestions on apps to do so)
5.Last but not the least,, DELETE unwanted apps
Sent from my HTC One X using xda premium
deepak_kutti said:
A few points from me too..
1. Update the apps regularly. The updated apps usually have bug fixes which helps not to drain your battery fast.. It's not so noticeable,,but it works!! :thumbup:
2. Get the maximum signal strength. Battery tends to be more energy sucking while it constantly search for network coverage.. It's not possible for constant travellers,,but try to keep the phone atleast at home where you can get the best coverage..
3. Keep the battery cool. Ofcourse most users love to play games and do much hard usage with their devices,,but remember that a hot battery drains fast.. So keep an eye on the battery temperature..
4. [/B]Keep an eye on the autostart apps[/B] that unwantedly start up from the boot. Rooted users could disable these apps to minimise battery wastage
(needs suggestions on apps to do so)
5.Last but not the least,, DELETE unwanted apps
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Was gonna add all but the first one you just said, but they seem so menial that its not worth mentioning.
Should I add them? Decisions decisions.
Thanks for your contribution though !
Wilks3y said:
Was gonna add all but the first one you just said, but they seem so menial that its not worth mentioning.
Should I add them? Decisions decisions.
Thanks for your contribution though !
Click to expand...
Click to collapse
It's not so noticeable,,but it works !! :thumbup: Don't you think?
Pardon me if I'm wrong..
Sent from my HTC One X using xda premium
I agree, I shall add them when I get a moment.
Thanks bud.
COULD SOMEONE DO ME A MASSIVE FAVOUR?!!?!?!??!?! (I'm at work and don't have time)
Can someone download the images, make them a little smaller and then give me the links.
I think they're slightly too big !! Would appreciate it if someone could.
Wilks3y said:
I agree, I shall add them when I get a moment.
Thanks bud.
Click to expand...
Click to collapse
:thumbup: for the topic!!
Sent from my HTC One X using xda premium
deepak_kutti said:
:thumbup: for the topic!!
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Give it a rate too?
Plus, could you resize the images for me?
Cheeky I know but I've spent ages on this today and am at work, cannot spend much more time fiddling with it, need to get something done
Wilks3y said:
Give it a rate too?
Plus, could you resize the images for me?
Cheeky I know but I've spent ages on this today and am at work, cannot spend much more time fiddling with it, need to get something done
Click to expand...
Click to collapse
Would work on that!! :thumbup:
Sent from my HTC One X using xda premium
Can anybody see the images?
Wilks3y said:
Can anybody see the images?
Click to expand...
Click to collapse
Yup!! :thumbup:
Sent from my HTC One X
Hit 'Thanks' if I helped or amused you
before I went about getting the most out of my battery, I made a complete factory reset, to make sure anything left from previously used rogue apps etc, were gone and werent causing issues.
Click to expand...
Click to collapse
You mean a factory reset from settings menu or do you mean the entire proces eg flashing boot.img then fw in recovery and finally flash rom?
Sent from my HTC One X using xda premium
miniterror said:
You mean a factory reset from settings menu or do you mean the entire proces eg flashing boot.img then fw in recovery and finally flash rom?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Just a soft reset through the Settings mate
Wilks3y said:
I agree, I shall add them when I get a moment.
Thanks bud.
COULD SOMEONE DO ME A MASSIVE FAVOUR?!!?!?!??!?! (I'm at work and don't have time)
Can someone download the images, make them a little smaller and then give me the links.
I think they're slightly too big !! Would appreciate it if someone could.
Click to expand...
Click to collapse
check your inbox mate should be roughly 2/3rds the original size now
Would also be good if there's a little warning at the GSM section that selecting it will deny you 3G/HSDPA speeds for the sake of battery
But since this is posted in XDA, and I would assume that anyone here would have been rooted at least, would you want some suggestions for root users? Since performance tweaks mostly can only be done through root access (mostly)

Ambient Display Fix?

If any of you clever developers / tinkerers know of a 'lite' app to use to fix the non working ambient display issues I.E. pick up to wake doesnt work, a recommendation would be soooo welcome. I looked at apps like gravity etc in the play store, but they are a. rather large and b. the permissions they require are a bit suspect. Thanks in advance
Did not know something was wrong.
So I pick it up it does not wake up, I think is a good thing. When I pick it up and I want a display, I press something and have no problem with that.
This maybe one reason the Pixel XL has an excellent battery life.
At the suggestion of another user here, I installed https://play.google.com/store/apps/details?id=com.tomer.alwayson
It's reminiscent of Samsung's version but has a lot more customisability. There's also an option to turn of the display completely when the proximity sensor is activated. All of the permissions make perfect sense fit the features you select and it doesn't cause a terrible battery hit.
raynan said:
At the suggestion of another user here, I installed https://play.google.com/store/apps/details?id=com.tomer.alwayson
It's reminiscent of Samsung's version but has a lot more customisability. There's also an option to turn of the display completely when the proximity sensor is activated. All of the permissions make perfect sense fit the features you select and it doesn't cause a terrible battery hit.
Click to expand...
Click to collapse
Cool app, appears to hit battery fairly hard in my test.
bmtbandit said:
Cool app, appears to hit battery fairly hard in my test.
Click to expand...
Click to collapse
That's why I said it wasn't terrible... Lol. It's definitely not great on your battery, but I can still make it through a day with quite heavy usage.
Ambient display is only meant to flash notifications on the screen in black and white for a short period then turn off. As far as I know, the pick up and bump to wake is an OEM added feature that Motorola, Samsung, and likely others added, but it isn't in stock Android.
Sent from my Pixel XL
imnuts said:
Ambient display is only meant to flash notifications on the screen in black and white for a short period then turn off. As far as I know, the pick up and bump to wake is an OEM added feature that Motorola, Samsung, and likely others added, but it isn't in stock Android.
Sent from my Pixel XL
Click to expand...
Click to collapse
On the Pixel XL it flashes only once which i find to be a disappointment. Also on the Nexus 6 , 6P and 5X the notification/time flashed once upon picking up or moving the phone a bit. This is not enabled on the Pixel models for some reason.
AstroDigital said:
Did not know something was wrong.
So I pick it up it does not wake up, I think is a good thing. When I pick it up and I want a display, I press something and have no problem with that.
This maybe one reason the Pixel XL has an excellent battery life.
Click to expand...
Click to collapse
I'm the same way.
But obviously the OP feels different so why bother to post.
This feature does not even work for me at all (but I am able to get the light to pulse). After talking to pixel support for about 30 minutes they did confirm that Ambient display has an engineering problem they are currently working on.
kmdavisjr said:
This feature does not even work for me at all (but I am able to get the light to pulse). After talking to pixel support for about 30 minutes they did confirm that Ambient display has an engineering problem they are currently working on.
Click to expand...
Click to collapse
Damn !! I was going nuts trying to figure out why this phone was not acting like my Nexus 6. lol I loved the Moto display then had to end up liking the Nexus 6 version afterwards. Then this Pixel XL only flashing the notice once then never again was aggravating. and of course no good app on the play store to emulate this function with 7.1 lol
well I hope this engineering problem can be fixed with software. :silly:
I've created an app that wakes ambient display when you take the phone out of your pocket or if you have the phone face down and turn it over. The app is in addition to Google's ambient display and does not change your lock screen in anyway.
I added a few other paid features for pulsing at an interval, wave to unlock, and battery percentage display on the ambient display.
I would love to have a few beta testers for the extra features, as it's a work in progress. Message me if you'd like a free code to redeem for the paid features.
Check it out: https://play.google.com/store/apps/details?id=com.compass.ambiturner

Categories

Resources