yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] subvertz:
Been playing around with it for about 12 hours now and nothing NFC related has showed up on my battery eaters list. I don't know how they did, but its awesome.

It is giving me any annoying "Unfortunately, Nfc services has stopped" message.

On a more important note, I think I have a lead on the lockscreen issue. Llama location based profiles app (if condition/then action) has the ability to suspend lockscreen if you are within range of your home cell tower. If there were a set of plugins from NFC retag, we could set a similar action based on a tag read...
[Samsung Galaxy Nexus] ascsa:
I never had used Llama, so I´m not sure if we mean the same, but I think there is a similiar function within tasker and the secure settings plugin available ....have a look at the keyguard option within secure settings ...ON/OFF/ Toggle is available ...
[Samsung Galaxy Nexus] comicmuse:
Hi,

I have a problem with NFC Retag on my One x. (Stock) When I try to set up a reader task on a tag, I get the list of tasks, but after selecting one, it flashes the keyboard switcher logo in the status bar and goes back to the tag. I've checked that the allow External option is ticked. I've also tried reinstalling both, tasker first, and countless reboots. I'm out of ideas. Have you any? Can I give you any more information?

C
[Samsung Galaxy Nexus] ascsa:
Hmm, not sure i got your problem ....you get the task list from tasker and when you choose a task the name is not stored in the parameter field ?

I think i had a similiar report from an other HTC one X user .... he wanted to provide a logcat, but I think he had forgotten it ... anyway, could you provide a log, because I think this is a specific HTC issue ....

BTW.: could you add manually the task name into the parameter field ? (by using the back button within the list of tasks)
[Samsung Galaxy Nexus] comicmuse:
Yeah, you've got the problem precisely.

I just tried your suggestion, of pressing back after the Tasker task list comes up. It doesn't leave me back at the "Add/Edit Activity" dialog, it drops me right back to the Tag List, so can't do it I'm afraid.

I took a logcat. I think the Task Edit window is dying before it gets feedback from Tasker. (I'm going on the stack dump below, but I'm no developer ;) ) Full log file is attached, but I don't see anything else interesting in it. Let me know if you need different filters/flags to logcat.

C

E/WindowManager(16124): android.view.WindowLeaked: Activity com.widgapp.NFC_ReTAG_FREE.TagEdit has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@4101f030 that was originally added here

E/WindowManager(16124): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:396)

E/WindowManager(16124): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:372)

E/WindowManager(16124): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:320)

E/WindowManager(16124): at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:152)

E/WindowManager(16124): at android.view.Window$LocalWindowManager.addView(Window.java:557)

E/WindowManager(16124): at android.app.Dialog.show(Dialog.java:301)

E/WindowManager(16124): at com.widgapp.NFC_ReTAG_FREE.TagEdit.a(Unknown Source)

E/WindowManager(16124): at com.widgapp.NFC_ReTAG_FREE.bn.onClick(Unknown Source)

E/WindowManager(16124): at android.view.View.performClick(View.java:3538)

E/WindowManager(16124): at android.view.View$PerformClick.run(View.java:14330)

E/WindowManager(16124): at android.os.Handler.handleCallback(Handler.java:607)

E/WindowManager(16124): at android.os.Handler.dispatchMessage(Handler.java:92)

E/WindowManager(16124): at android.os.Looper.loop(Looper.java:156)

E/WindowManager(16124): at android.app.ActivityThread.main(ActivityThread.java:5005)

E/WindowManager(16124): at java.lang.reflect.Method.invokeNative(Native Method)

E/WindowManager(16124): at java.lang.reflect.Method.invoke(Method.java:511)

E/WindowManager(16124): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

E/WindowManager(16124): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)

E/WindowManager(16124): at dalvik.system.NativeStart.main(Native Method)
[Samsung Galaxy Nexus] ascsa:
Thx!

I will have a look at the logs.....unfortunatelly I currently have no HTC one X available for testing ...so it could take some time ..... I´m curious is the tasker task saved as a new activity with a blank parameter ?
[Samsung Galaxy Nexus] bakskj:
Is it possible to add my work access card to the app so i can open Doors with it? Phone reads the card well, now i would like to open Doors with the phone.

Btw i have tried to have the reception resend signal from their read/write station to the Phone but no response on the Phone.

Thanks!
[Samsung Galaxy Nexus] ascsa:
NO, it´s not possible with NFC ReTag and afaik it´s not possible with any available app!

I had used NFC badges for 24/7 access to some high security areas --> swyping your access card to your phone (or the access card of your neighbor!), copy it to the phone and use the phone to open doors will only work in hollywood movies :cool: or very unsecure implementations ..! ;)

I know, this would be the killer feature for nfc phones, but from my point of view, this use case is not going to happen unless Google adapted the NFC implementation .... ( I think some guys hacked a gingerbread rom and got the emulation working...http://www.nfcworld.com/2011/02/13/35913/uncovered-the-hidden-nfc-potential-of-the-google-nexus-s-and-the-nokia-c7/) ... AND the manufacturers of these access solutions provide a secure android solution. From the technical point of view, your phone could do that and it should be no problem to implement, but again, you would need some help from google and the access solution providers (or at least the right decryption keys ..) ....

Within a secure access solution your access card (or at least the relevant information) will be encrypted with 3DES or AES-128 (--> mifare classic crypto1 was hacked some years ago, so this is NOT a secure solution!) .... So without the right decryption keys, you will be not able to read the relevant information, or copy it .....and without google you will not be able to emulate such a card....

I know there are some unsecure nfc access implementations out there, so you may have luck and find a simple solution, but again, a proper access solution will not work without the decryption keys ....

EDIT: ... the idea that you use the read/ write station make sense, but i think here lacks android the possibility to provide a secure emulation mode ....
[Samsung Galaxy Nexus] migliorare:
Popups

Hi! I bought Your great app, but just a question:

I programmed a task on rfid called "auto" (toggle wifi, toggle BT, toggle autorotation, tts Hi!) but when i try it a popup appears with a selection "NFC ReTag PRO ver 1.5" or "New tag found" (or something like that, i'm italian and don't know how it could be in english... :p)

How can i have the task without a popup to choose? (there's no "use always this one" to check... :()

Thanks by now and sorry for my english... if You don't understand me i will retry somehow... :)
[Samsung Galaxy Nexus] ascsa:
Hmm something I do not understand :confused:.... I have a 4 digit number of downloads from the HTC one X ... the ratio of active installs is similiar to other devices ... and only 2 reports, that Tasker integration isn´t working on this specific device ...

Anyone else with a HTC ONE X and similiar issues (click on Tasker task list, does not save task to parameter field) ?
[Samsung Galaxy Nexus] ascsa:
I exactly understand what you mean .. so no problem ;-)

I assume you have a writeable tag ... then simply use the "write special NFC ReTaG tag" option --> have a look at the "more" button :D
[Samsung Galaxy Nexus] migliorare:
Wonderful!

Thank You for Your fast reply!

I did it and it works now!!! :D

Just the tts doesn't work if i select "Do not show"... do You know why? (not so important, but nice... ^^)
[Samsung Galaxy Nexus] ascsa:
Yes I know why --> "do not show" directly closes the app after processing the activities .... and it´s obviously to fast for the tts to say "hello World" ;-)

i´m aware of it ... currently the "Do not show" option is not perfect ... e.g. there is a short blink, and the fixed portrait mode ... so it´s something I want to change in the near future, anyway ... but I also don´t want to add a battery draining service or something like that ...... so it needs some additional hacking ;-) .... I will find a solution that solves the tts behavior, too ... at least I hope so ....:rolleyes:
[Samsung Galaxy Nexus] migliorare:
OK!

No problem! Seems legit! ;P

If You know and You will fix it i'm fine for now... 5 stars for You and my compliments for this up that will grow up and prosper! ;)

Good weekend! ;)
[Samsung Galaxy Nexus] comicmuse:
No, it doesn't create the activity at all. There's a screen flash just after you select the tasker task - not certain what's happening there, but I just have a tag with no activities. (adding other activities before I try the tasker activity doesn't change the situation).

Colm
[Samsung Galaxy Nexus] sunsettomatoes7:
Is it possible to connect to a specific wifi network?
[Samsung Galaxy Nexus] ascsa:
Yes, had a look at your logs ... I think, now I know what happened, but I´m not sure if I can solve this without testing on a real HTC one X device ....anyway, worst case I will add a quick "fallback solution" for tasker within the next update .... you will be able to add your tasker tasks manually ... not the perfect solution... but should work until I find additional time to fix this htc sense issue ....
[Samsung Galaxy Nexus] ascsa:
Hmm, I implemented the Wi-Fi toggle, because I couldn´t imagine a "connect to a specific wifi network" use case which makes sense with NFC ReTag --> Remember: the Data is stored in an app internal database.

Sure I could imagine a use case in which you provide a tag for your friends to join your home wiFi network ...but you would have to store the data (SSID, KEY) on the tag, and thats something currently not in focus of NFC Retag.

I know, there are some use cases in which writing data to a tag makes sense and btw. NFC was originally designed that way ...Perhaps I will add some additional writing features (writing a special NFC Retag tag for better dispatching and a smarttag writing option is already available) in the future, but currently I like the concept with the internal database for device automation much more ... it´s tag size independent, the tag reading is faster and more reliable and you could even use your nfc library card as tag...

Again, the downside is that some use cases related to public access to a tag makes no sense ... but there are some other good apps available doing just that ....
[Samsung Galaxy Nexus] mptpro:
Update: I found the answer. I was looking in preferences, the its in the bluetooth parameter.

Ok, what is the solution?

I see the message every time that ReTag wants to turn on bluetooth

ReTag Pro 1.5

Galaxy nexus gsm

Rooted

By the way, I don't rooted/not rooted is the issue because NFC Task Launcher app didn't ask for bluetooth permission and I used it before I was rooted.

Ps I really nice app
[Samsung Galaxy Nexus] roman89:
Hy ascsa,

I've an Parrot AR Drone. It works with wifi. And flying near an other wifi (in the garden in front of the house), i've to select whitch wifi I'd like to join.

It would be awesome to turn on the drone, scan a tag and it turns on gps, wifi, connect to the drone's wifi and start it's app.

Is this a scenario, which makes sense?
[Samsung Galaxy Nexus] sunsettomatoes7:
I'll explain you why I'd like the function. I live in an house with 3 floors. For several reasons I have in each floor a different wifi network. All the time I go down or up I have to change on my phone the network and that's pretty boring. So I'd like to put an NFC tag on every floor and the just scan it when I arrive there. Is weird that you didn't think about it, because also the app NFC task launcher has this option :) Of course would be also great to store on the card the password for a guest network (or just the main network) and give it to friends.
[Samsung Galaxy Nexus] ascsa:
Hmmm, seems that there is a strong need for this wifi choosing feature ...no problem, will add it within the next update -->release: probably next weekend, together with some additional functions, settings and bugfixes

Ok, got it.

Hmm, would makes sense if you have several paired bluetooth devices in range at the same time.... never happend to me ... but I will have a look ... the problem will probably be the so called "bluetooth standard" ... it´s a mess !

Added the activity "enabled WiFi Hotspot" to one of my prototypes ...just enables the preconfigured wifi hotspot ( I disabled the SSID and Key settings)..... works great on my testing devices ...but some serios hacking is envolved ... so perhaps I will add this as some BETA function ...

GPS Toggle is only available on rooted devices ... currently I don´t want to make NFC ReTag a device administrator .... but, at some Point, I think I will have to do it....have you tried tasker with the secure settings plugin? .. I think there is a GPS option ... never tested by myself ...

btw. on all my devices GPS is always ON ...if it´s not needed android turns it automatically off .. and from my personal experience I do not see a significant impact on battery life with GPS alsways ON ...But sure, I understand this feature request.

Yes ,got it ;-) ... GPS as mentioned above.

Yeah, got it :laugh:

I have a look at other NFC apps,frequently .... some are good, some are bad ... nfc task launcher is a good one I think, but anyway, I will not add every feature from every other app ... the features must make sense to me ... or at least there is a strong user demand ;-) ... and I always prefere to implement some new and unique features, rather than these "me too" features ....

As mentioned, not in the near future...it´s something for the mid or longterm ....
[Samsung Galaxy Nexus] JAMJAMAL:
Is there the possibility off adding the option that when the app cant see the tag it reverts back to the setting before a tag triggered some actions?

example.

When you put your phone into your car cradle with a tag on it, gps comes one with the other options you select, the app keeps scanning to know its still in the car cradle. Then when you remove the phone from the cradle the phone reverts back to the settings before the tag triggered your gps settings?

This would be great instead of having another tag to change your settings back :)

Hope this makes sense

Thanks
[Samsung Galaxy Nexus] BlackHoleSlam:
And a battery drainer having the nfc chip keep scanning will drain the battery like crazy

by me, for me and I love you
[Samsung Galaxy Nexus] ascsa:
Yes, BlackHoleSlam is right, there is no event or broadcast "tag lost" available ... so you would have to check the tag constantly ....and lots of battery drain... wouldn´t make sense without a power supply ..btw: gps is only available with tasker and secure settings or some other 3rd party apps ...perhaps you could define a profile : (e.g something like: when power supply unplugged and bluetooth on and gps on --> go back to standard settings) in tasker

... the best solution would be, that google improves some of the nfc apis ... and adding a tag lost broadcast ... google I/O starts tomorrow ... and I expect some changes within the NFC API (AGAIN!) ... but hopefully, this time they make it right ;-)
[Samsung Galaxy Nexus] mattmanwrx:
Hi,

I have just purchased some NFC Tags, and had your app installed on my phone.

The app will tag the tags with what I want, however, when swcanning the apps, the "mute pop ups", and "Do not show" options, in both the free and paid app (now refunded)...

I have a HTC One X, running LeeDrOiD One Xtreme 6.4 rom...

There is also another pop-up - please see the screen shot that is attached...

Is there anything that can be done??

Kind Regards,

Matt
[Samsung Galaxy Nexus] ascsa:
Yes, sure ... use the "write a special NFC Retag tag" option ... (--> Have a look at the MORE button ;-))))
[Samsung Galaxy Nexus] mattmanwrx:
Thank your for the very quick response.. will try it now... If successful, will buy pro again :)

Can I ask why I need that one? Is my tag "the wrong kind"?
[Samsung Galaxy Nexus] mattmanwrx:
Hi, I tried that but I get write error, with both the optionss (fallback solution too)...
[Samsung Galaxy Nexus] ascsa:
Hmmm, then please try to write some plain text with a 3rd party applications first... (E. G. Nxp tagwriter).. And then try the nfc retag write option again...
[Samsung Galaxy Nexus] mattmanwrx:
Thanks again... I had a modified NFC.apk and just restored the standard One with rom, and it works fine now.. thanks... :)

Will buy pro when I get time... :)
[Samsung Galaxy Nexus] Mumpitzstuff:
Leave nfc area action missing

I miss the possibility to add an action if the phone leaves the nfc tag area. Let me explain it with an example:

I have an NFC tag at work and want to lay the phone directly on this tag. Now i can add actions like modify ring volume. But if i remove the phone e.g. to go home, i have to use another NFC tag to reset the volume to its defaults. It would be much more comfortable if the app would scan periodically for the presence of the nfc tag and would run an action if it is missing. So there is no way to forget the reset of the settings if i leave my workplace.
[Samsung Galaxy Nexus] ascsa:
Ok, it's a long thread, and I don't expect everyone to read it all... But a similar request was answered the last time approximately 8 posts above.... ;-)

But anyway: there is no tag lost broadcast available in Android... Periodically scans would drain battery and wouldn't be 100% reliable...probably a lot of false alarms.... A toggle function would make much more sense for this use case... Toggle volume is not natively available in nfc retag, but with Tasker and a toggle variable easily manageable...

Btw. : I use a solution with a "default settings" key fob....
[Samsung Galaxy Nexus] cecilia:
I just got a Samsung Galaxy S lll

and it came with some "tecTiles" as they call their tags. The software they suggest (Samsung TecTile app is really very basic. I mean, I'm new to this but even I can tell that. :D

So, I have been doing some experimenting and discovered that the Samsung app didn't seem to let me toggle airplane mode. And that's why I went looking for other apps that would. I found some interesting ones but while it would turn on airplane mode , as you know it turned off NFC which kinda defeats the purpose, ya know?

and then saw your app. Well, used your app and was still having the same problem. I found this thread and kept reading until I saw these last posts. I used one of the other NFC apps to fully "delete" the tag. And now the tag works the way i want it. NFC is not turned off! WOOT!

I think there was a URL saved on the tag (from the previous app writing on the tag). Anyway, I wrote all this out because this phone is new and this way you have at least some info about it.

thanks
[Samsung Galaxy Nexus] ascsa:
Hi cecilia, many thanks for your feedback!

Toggle Airplane mode with nfc could be strange... it's working without problems on all my devices, but some users reports issues like you... I did some analysis, couple of weeks ago.. Found out that android support a internal setting which specifies the radios turned off in airplane mode.. So I hacked together a prototype, which can read and change this setting..... Then found out that a couple of airplane mode setting apps are already available ;-)...

Ok, bottom line, I think sometimes this setting does work in some devices. .. Perhaps manual enabling of radios (--> nfc) while in airplane mode fixes this... But could not test/confirm this yet.....
[Samsung Galaxy Nexus] BlackHoleSlam:
If you could release the prototype I am having my nfc turned off when activating airplane we have discussed this before earlier in the thread. I did not know you had a hack to fix this

by me, for me and I love you
[Samsung Galaxy Nexus] Mumpitzstuff:
Toggle action

The problem with such a toggle action is that i forget to activate the toggle most of the time and miss some calls because the ringer volume is to low. You are right that it needs some battery if you would periodically scan for nfc tags, but i think it is not that much if the cycle would be 10 or 15 minutes adjustable by the user. False positives can be reduced if you scan 3 times for the nfc tag if you got the nfc tag missing status the first time. Most of the time the phone do not lay hours and hours on the same place, so the drain battery issue is not the problem. The much bigger problem is that i and i bet other users too forget to toggle the action!
[Samsung Galaxy Nexus] ascsa:
As mentioned, it´s a prototype --> no UI, changing the settings in code etc. .. and beside that, seems that this is one of the settings, every manufacturer, rom dev etc. implements different or even ignores ..... never had a problem with toggling airplane mode via NFC on my testing devices, so i decided to reschedule this... --> mainly because I had a look in the playstore, and found other apps were available for this ... never tested them by myself, but the description points exactly to the settings mentioned ... have a look at "Airplane Mode Modifier" in Playstore for example ... "nfc" is the string to exclude/include ...without the quote signs
[Samsung Galaxy Nexus] BlackHoleSlam:
Thanks for this

by me, for me and I love you
[Samsung Galaxy Nexus] ascsa:
Sorry, but the problem is, that it is not as simple as you describe it.

" You are right that it needs some battery if you would periodically scan for nfc tags, but i think it is not that much if the cycle would be 10 or 15 minutes adjustable by the user." --> have you had a look at your logs with the device taped to a tag ... the nfc adapter is doing a lot of stuff in the background and periodically (approx every second !) repeats this. ... a lot of cpu activity, even without a scan ... and scanning every 15 min means that you need something like a scheduler/service working permanently in the background , again battery drain ...

"False positives can be reduced if you scan 3 times for the nfc tag if you got the nfc tag missing status the first time. " --> there is even no real API available for re-scanning a tag ...!

And the biggest issue is the standby mode ... which disables NFC ... no way on an unrooted phone to do something NFC related while phone locked and display disabled. .... and after returning from standby your device will detect the tag again ....

Sorry I like the idea, but it´s not as easy as you describe it ... and by the way It would be a completely different app ...

nfc is not designed to act as a two way trigger, and changing this would needs some serious hacking and will probably never work the way you expect it .....Anyway, i will keep it in my feature request list, but at the moment, i don´t think there is a realistic way to implement this ...
[Samsung Galaxy Nexus] ascsa:
Update 1.6

Update 1.6 just uploaded to the playstore ... just some new features ... re-design is still in progress ;-)

Version 1.6

* Set Alarm Volume

* Connect to a specific WiFi SSID

* Enable/ disable Mobile Hotspot

* New toogle parameter for Mobile Data

* Enable/ disable Car Mode (BETA)

* Added format option for NOT formated tags

* Added additional smarttag write option (Favourite tag)

* Added Tasker fallback setting (for manual adding of tasks)

* Added setting for disabling "http://" prefix within browse activity

* UI improvements and bugfixes

:D
[Samsung Galaxy Nexus] Zoidy:
Hi,

is there any way of turning the alarms off with ReTAG? Cannot see an option in the app anywhere, only to turn them on.

Edit:

Actually just found a problem, when setting alarms ReTAG adds new alarms rather than using the existing alarms I had set. Is there any way I can use ReTAG to just enable my alarms (and disable them)?

I also tried setting 3 alarms in ReTag and it created 3 alarms but only set one to enable.