How to play a sound ? - NFC Hacking

OK got me some nfc tags. got me NFC launcher. Got me an S3 and best of all got me a mod to use it screen off.
problem is zero feedback. Example.
I have a tag programmed to set an alarm for 0700. I energize the tag and poof alarm is set for 0700. perfect.
problem is with the screen off mod I get no "feedback" that it actually "WORKED" so I figured ok add a task to also play a sound.
alas I don't see a way to do this. how do I make a command so when I scan the tag it also "PLAYS" a sound. custom sounds would be ideal so I can make them relevant. energize tag phone sets alarm and then says "0700 alarm set".
or maybe use the TTS engine so the "message" is actually IN the tag as text and the phone TTS's it aloud.
anything.
screen on I at least get a "tone" when I energize a tag but screen off I get zero feedback at all.

Related

[Q] Any way to Turn off Smart Alarm by DEFAULT?

Ok while I applaud Samsung for providing an option to help people wake up... I do not need a #$#@ "Fairy Fountain" alarm playing every time I set an alarm.
I use my alarms for all sorts of things, none of which include waking up.
While I can manually turn off that stupid "Smart Alarm" feature... is there any way to make it turn off PERMANENTLY.
The reason I need this, is I have several 3rd party apps which insert alarms into my phone... but since the Smart Alarm is not standard android API, they have no way to disable it and every alarm wakes up my phone 3 min prior to needing the actual alarm, and I get this stupid water trickling, forest nymph loving sound spiting out from my phone. It's quite annoying.
Please tell me there is either a simple way to disable the "Smart Alarm" feature entirely, or if someone knows which files to edit either in the alarm apk somewhere, features.xml or anywhere.. I'm pretty good at editing my own apks if I know where to look.

[Q] New to NFC. Couple of Qs.

I'm not new to android but this is my first phone with NFC. I got some tags from tagstand and have been using the NFC Task Launcher with great success but I have a couple of questions.
Is there any way to silence the notification when reading an NFC tag? Its usually ok but when I use the tag next to my bed to turn off sounds etc. and my wife is already asleep and it makes that sound it drives her nuts. I have the notification ringtone set to silent in the NFC Task Launcher app.
Is there a mod that works with CM10 to allow for scanning nfc tags with the screen off? Having to turn on the screen and unlock the phone defeates most of the purpose of using the NFC tags. I found this thread with a mod but it only works for the stock rom (I tried it and it killed all NFC for my on CM10).
Thanks for the help!

NFC proximity app?

Is there an NFC tag writer that will allow a tag to work in proximity? What I'm looking to do is to mount a peel and stick tag to my car's windshield mount. Then when the phone is in the mount, it will trigger the tasks I've programmed. When i remove the phone from the mount, I'd like the phone to toggle back to the way it was before it was placed into the mount.
I thought i had an app a while ago that would allow this, but i can no longer find it.
I personally haven't tried it, but I did a quick search in the play store for " tasker nfc" and this sounds like it may do the trick for you:
NFC Retag freehttps://play.google.com/store/apps/details?id=com.widgapp.NFC_ReTAG_FREE
Sent from my Optimus G Pro using xda app-developers app
CapnPez said:
I personally haven't tried it, but I did a quick search in the play store for " tasker nfc" and this sounds like it may do the trick for you:
NFC Retag freehttps://play.google.com/store/apps/details?id=com.widgapp.NFC_ReTAG_FREE
Sent from my Optimus G Pro using xda app-developers app
Click to expand...
Click to collapse
I have that app and i don't see a proximity setting. BTW, that app allows you to set what i would call macros on your phone. Unlike other NFC apps that write directly to the tag, this one stores the tag's ID on your phone, and then you associate a bunch of commands with that tag ID. So when the phone "sees" the tag, it then executes the stored commands that were stored on the phone, without anything having to be stored on the tag itself.
andygold said:
I have that app and i don't see a proximity setting. BTW, that app allows you to set what i would call macros on your phone. Unlike other NFC apps that write directly to the tag, this one stores the tag's ID on your phone, and then you associate a bunch of commands with that tag ID. So when the phone "sees" the tag, it then executes the stored commands that were stored on the phone, without anything having to be stored on the tag itself.
Click to expand...
Click to collapse
Oh, I see what you mean. I hadn't understood what you meant by the "proximity setting" (I've never used NFC tags). Just to be clear, is the difference in that the profile is changed depending on whether the tag is either in contact or not, i.e. car mode when in contact and then detects the loss of connection when removed and restores to previous profile?
Again, I'm not sure if this helps, but I found this thread from a GS3 forum:
http://forum.xda-developers.com/showthread.php?t=2171952
It sounds more like what you were asking, but I'm not sure if it's only for the GS3.
CapnPez said:
Oh, I see what you mean. I hadn't understood what you meant by the "proximity setting" (I've never used NFC tags). Just to be clear, is the difference in that the profile is changed depending on whether the tag is either in contact or not, i.e. car mode when in contact and then detects the loss of connection when removed and restores to previous profile?
Again, I'm not sure if this helps, but I found this thread from a GS3 forum:
http://forum.xda-developers.com/showthread.php?t=2171952
It sounds more like what you were asking, but I'm not sure if it's only for the GS3.
Click to expand...
Click to collapse
Yeah, I saw that when I searched. That is basically what I'm looking for. The thing is, I could have sworn that at one point I had an app that had proximity built in as standard. Maybe it was just for rooted phones, I don't remember...
I hadn't actually used it back then for proximity, but I thought it was there to be used.
To answer your question, Yes! With proximity, you could set your phone for the normal day to day operation. Then for example, at bed time, you could place your phone into a charging dock that has a peel and stick NFC tag on it's face, and when the phone gets near enough, the tag would activate the tasks you have programmed into the tag. For example, you could turn off WiFi, turn off the ringer, Turn the brightness down to minimum, set a wake alarm/volume/tone, etc... Then, in the morning, when you remove the phone from the dock and it loses proximity with the NFC tag, the tasks will revert to their "daytime" mode, and the brightness will come back up, the WiFi will turn back on, etc...
I realize that all of this can be done by setting the tag to "toggle" functions in that the first swipe of the tag could turn WiFi off, and the next swipe of the same tag would turn it back off, but obviously I don't want to "toggle" by using multiple swipes. I want proximity. (another way would be to use two separate tags near each other and one would be the daytime tag and the other would be for nighttime...)
for the car, I want to turn brightness down a bit (I do most of my driving at night), turn on bluetooth (to sync with my handsfree device), turn WiFi off while driving, start my music app and play a specific playlist, turn the volume up to max (my cassette adapter has very low volume, and the phone automatically lowers the volume when the headphone jack is plugged in), and announce each thing as it is happening (yes that's currently an option)....
i dont use NFC
phamtung8xhd said:
i dont use NFC
Click to expand...
Click to collapse
Thanks for posting your helpful and insightful comments. They truly add to this thread!!
Anyone else have any thoughts as to whether or not an app exists that allows NFC to work with a proximity setting?
Might this help you?
I understand that what you're probably looking for is an app to "program the NFC tag" itself but I hope you find this helpful until you find what you are looking for.
You can try using an app like Llama (the location aware Brazilian camel ...) to set different profiles (with settings and all) for home, work, CAR,etc. Have Llama identify the Areas first (Don't worry about car at this point just tweak the settings for the car profile). In the events tap you can define a condition (NFC tag detected) to an action (activate profile A: Car).
For when you arrive to your destination and want your phone settings to change to suite your new location i.e. activate a different profile, you can create an event -also in the events tab- triggered when the condition (Enter/In Area)is met. Llama will then alter your settings to the ones you have set for the new area you arrived to i.e. change Car profile to Home or Work. The reason why you have to create another event to change profiles after you get out of the car, after NFC tag disconnected, is that Llama can't detect when a certain NFC tag is disconnected -my understanding- so you have to create a new trigger to bring about a new event.
Keep us informed of your progress as I am really interested in Automation myself. Cheers.

Alarm and timer functionality

I am looking to get Huawei watch. The app that I would use the most is alarm and timer functionality since I work at home and would like to see timer countdowns for my breaks and lunches .
Is it possible with the native app timer to have multiple timers set up and choose the one I want accordingly? like 15 mins and 30 mins one so I don't have to set it everytime.
Also with alarms can I have multiple ones?
When an alarm or timer is up does it beep or vibrate?
If I start a countdown timer does it show it in ambient mode in numerical format not watch face?
Would appreciate if you can post pics. Thanks.
I see no one has replied yet. I think I would suggest you look at Android Wear apps and see if something will meet your needs. I find the Alarm function with the watch to be pretty limiting. I downloaded an Alarm and Timer application, but really haven't used it yet. I don't think you can have multiple timers set up on the native app, and I don't think even the one I downloaded has that capability. I think you can have multiple alarms, but there in no functional speaker on the watch (or any Android Wear watch), as I understand it, Android Wear does not yet support a speaker. Need an Apple watch for that..
Leo90604 said:
I am looking to get Huawei watch. The app that I would use the most is alarm and timer functionality since I work at home and would like to see timer countdowns for my breaks and lunches .
Is it possible with the native app timer to have multiple timers set up and choose the one I want accordingly? like 15 mins and 30 mins one so I don't have to set it everytime.
Also with alarms can I have multiple ones?
When an alarm or timer is up does it beep or vibrate?
If I start a countdown timer does it show it in ambient mode in numerical format not watch face?
Would appreciate if you can post pics. Thanks.
Click to expand...
Click to collapse

NFC unlock - I must be doin' it wrong

I set up NFC unlock using one of those tags. It seemed like it took a lot of tries to get the phone to see the NFC tag. Now that I have it set up, it seems next to impossible to unlock using the tag. Is there a trick or special movement that will get this done reliably?
Eventually I'd like to put a tag on a dock so I can set the phone in the dock and have Dock Clock start up.
I also notice that when it does unlock, it opens up the Play store to Tigger. (Maybe because I wrote the tag using Trigger from my N5 in the distant past.) Trigger sure wants a *lot* of permissions.
Thanks!

Categories

Resources