yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] ascsa:
Yep, that´s exactly why I answer every request for a re-order option of the activities with the remark, that after firing the activities, the standard android multitasking kicks in ...and ReTag hasn´t any control over it. So Android 4.3 changed the Airplane mode request ...you needed also root for 4.2 Airplane mode, but with 4.3 it seems it needs a lot more time and they added some additional timeout ...and then it overrides the wlan activity, order or wait parameter doesn´t seem to matter ...

Sorry kantjer, but you can indeed turn on Wlan or Bluetooth or NFC while in Airplane mode ... strange, but that´s standard android ...there is even an basic api (if I remember it right, you need root) to configure the radios the airplane mode should affect ...

As mentioned above, sure it´s possible with 4.2.2 ... and should also work with 4.3 ....but I think the power toggles just wait till the airplane mode is finished and then starts the wlan request ... something completely different with the nfc retag fire and forget approach ....I did some quick testing with 3 cycles to give the airplane mode some additional time :

cycle 1. airplane on

cycle 2. wlan on

cycle 3. airplane off /wlan off/ bluetooth on

works without problems....but you would need an additional swipe ;) ... give me some additional time to think about it, I will have a second look and perhaps I could find a better solution
[Samsung Galaxy Nexus] 320flyboy320:
OK, thanks for your help :)

As you said above it works with an addition swipe, airplane mode stays on and then WiFi gets turned on. That's my workaround for now, just do two swipes of the tag.

Oh, and good for you, your are the only one that has even gotten close to being able to use tags and airplane mode in 4.3....:good:
[Samsung Galaxy Nexus] ascsa:
Hmm, I released the new nfc retag expert plugin version, which solves the JB 4.3 Airplane issues, two weeks ago, so enough time for the others to catch up ;)

Ok, did some tests and a detailed analysis of your special use case (I don´t think, a lot of people uses this combination of Airplane ON + WiFi ON, but anyway .. ;) .) ....and as expected NFC ReTag processes the activities way too fast for your contrary activities (Airplane = wifi off & Wifi on) ...therefore the airplane mode overrides always the wifi on ....and the wait activity doesn´t matter, because the airplane mode communication with the plugin needs some extra time with JB 4.3, and it´s absolutely impossible to do the right timing via the wait activity ...

However,I fixed some similar GPS + Navigation issues a while ago, so I did some fine tuning especially for your use case (without slowing anything down !)....and it works for me without problems ... I think, I could include this in the next update ...:cool:
[Samsung Galaxy Nexus] ilex.chesnokov:
I'm have rooted Philips W336, but GPS toggle not work (Plag-in is installed, SU seems available, but Root request failed.)

Function "wifi hotspot off " turn on wlan.
[Samsung Galaxy Nexus] ascsa:
Hi ilex,

seems that your devices is not fully rooted or your root app doesn´t approve the root request ....you could check it and manually request root for the plugin within the ReTag app "settings/ expert plugin" ... if this doesn´t work, please have a look at your root app (e.g. SuperUser, SuperSU ...) and allow root access for the ReTag Expert plugin ...should work without problems

Yep, by design (from my point of view, it´s more comfortable this way ), just add an additional Wlan off activity if you prefer it off !
[Samsung Galaxy Nexus] ilex.chesnokov:
Hm. Re-rooted phone by instrustion, but it's don't effect. Root rights given plugin, but he did not get them.
[Samsung Galaxy Nexus] ascsa:
Hmm, strange!

Have you checked, if root works with other apps or a root checker app? Never had issues with the root request, so I would still bet, it´s something with your device ...perhaps some additional "security" software, permission manager or a strange firmware (Philips W336 ?! ) is blocking the root activities ....

However, is it possible, that you generate a log file, while processing the GPS activity? ... without more information (firmware, logfile etc. ), I could only guess ...
[Samsung Galaxy Nexus] ascsa:
Yep, please try a root checker app ...

Many thanks for the log, but with the GPS filter, it´s unlikely that we find out something new ...;)... we already know that GPS toggle doesn´t work without root;)

OK, as expected, no permission for the plugin ... but nothing new ....everything on the plugin side seems fine, but the interesting part would probably be the non-retag part ...

Could you generate a log without any filter (a freshly rebooted device would be great)?
[Samsung Galaxy Nexus] ilex.chesnokov:
root checker result and logs in attachment
[Samsung Galaxy Nexus] ascsa:
OK, thx, Had a quick first look ....nothing found so far, but I´m currently a little bit busy, so give me just a little more time, and I will have a second look!

BTW.: Anybody else out there with a rooted Philips W336 and the same GPS issues ?
[Samsung Galaxy Nexus] ilex.chesnokov:
Also, if it's help, logs on/off gps manualy
[Samsung Galaxy Nexus] ascsa:
Hi, again thx for your effort .... I have send you a pm, including (hopefully) some manual workaround.
[Samsung Galaxy Nexus] ascsa:
Update 2.6

Update 2.6 just released to Google play ....

OK guys, this update is basically an update just for geeks :cool: ...

No, i´m just kidding ... sort of ....

It contains a lot of improvement, tweaks and some bugfixes, but beside the usual stuff, it introduces new write options for "special NFC ReTag tags" and "Activity tags" ...depending on your personal needs and your configuration , you can choose between 4 different tag options ....especially nice if you want to share the tags with your friends ;)

The geek feature is the support for the "Tag Lost" message of the NFCLockScreenOffEnabler ( Have a look: http://xdaforums.com/showthread.php?t=2122019 ) mod ....

Root and Xposed framework is required and you have to install the NFCLockScreenOffEnabler apk , and I had some issues (nfc crashing) on my testing device with the "screen is of(regardless of lock state)" option on Android 4.3 ,but the "phone is locked, but the screen is on" option works just fine for me ...so I decided, to add some support and additional settings for this ....

This "tag lost" topic was discussed here several times, with several possible solutions and hacks, and from my point of view, this Xposed approach makes a lot of sense ...so just try it out if you want ;) ....

Btw, "Tag lost" support is disabled by default, so you have to enable it ....after adding your "lost tags" you can disable it for new tags ... and you can disable the tag lost message, when the screen goes off ....

Update 2.6 (2.6.x = fixes)

* New additional write options for "special NFC ReTags tags" and "Activity tags"

* Experiemental support for Tag lost message from Xposed NFCLockScreenOffEnabler module

* A lot of additonal improvements, tweaks and bugfixes
[Samsung Galaxy Nexus] alexshef71:
Change NFC action

Hi,

I want automaticaly synchronise files from android phone to windows tablet.

For this need activate accordingly applications on phone and PC.

I want activate these applications across nfc sensors in phone and PC.

Now NFC ReTag activate Internet Explorer with reference on Google Play.

Can I change this action on activation necessary applications?

Best regards,

Alexander.
[Samsung Galaxy Nexus] ascsa:
Hi Alex,

very interesting question!

I assume, you use the market tags option for your special NFC ReTag or Activitiy tags, right ? ...Because we created these tags with as much as compatibility in mind as possible , these tags should also work on every other nfc forum compliant os ...currently these tags will just open the NFC ReTag website on Google Play.

NFC forum compliant is nice, but like nearly every other standardization organization, the NFC Forum, struggles for years to finalize some more sophisticated api´s ...Basic features like opening a website, compose a sms , initializing Bluetooth pairing etc. should work cross OS, but for every more sophisticated feature, we had to invent our own framework and parsing the nfc messages within NFC ReTag.... Even on Android, relative simple actions, like toggling WiFi, needs a lot of hacking and workarounds to let the magic happen ;) ....

We frequently look at other OS, but always the same conclusion: without some possibilities to trigger settings etc. like in Android or some more sophisticated nfc forum apis, porting NFC ReTag to an other OS wouldn´t make sense. But we always keep other operating systems in mind, even doing some prototyping or including some long term compatibility (market tags ;)) ...perhaps eventually, some day .....:D

So back to your questions:

Afaik no, not with NFC ReTag not available for Windows ... you would have to find some Windows app, that does the magic ...to be honest, I´m not sure, if it´s possible within Windows at all.
[Samsung Galaxy Nexus] ascsa:
OK, just one remark, as I´ve been asked again and again:

The ONLY way to get the PRO version is Google Play. There is NO apk download or whatever!

EVERY OTHER VERSION YOU COULD FIND IS AN ILLEGAL VIRUS INFECTED PIRATE VERSION!
[Samsung Galaxy Nexus] alexshef71:
Ascsa,

thanks for your answer!

I bought PRO version ReTag with hope I can connecting my devices for automaticaly synchronization. I didn't think that so bad.

There is very strange situation.

Producers of hardware make many devices with supporting nfc tags, but this gadgets can not be used. Android devices are not so bad but there are not programms for nfc on windows market place.

Best Regards,

Alexander.
[Samsung Galaxy Nexus] ascsa:
Hi Alexander,

My PRO comment has nothing to do with you or the posts above. Sorry, if this was misleading....

And yes, it's a strange situation... Nfc has a lot of potential use cases and killer features but it struggles even on Android for years...putting nfc chips in every device should push nfc a bit, but 3rd party apps always depend on powerful APIs, so let's hope the nfc forum /windows API improve over time...
[Samsung Galaxy Nexus] lucianus_luciferus:
hi.

if i program a tag with this app, will the tag work on any other phone or just my phone?

as in if i program it to switch wifi on, will it do it on any phone?

or does this app need to be installed in order for the tag to do its job?

thanks

:)
[Samsung Galaxy Nexus] ascsa:
Hi,

as I explained 4 posts above ;) .... standard android (and afaik any other operating system !) only supports some basic nfc forum actions like open an URL or vCard etc ...every more sophisticated activity (like wifi on) needs an additional 3rd party app. And NO unfortunately these 3rd party apps are not compatible ...

So, your second question: Yes, NFC ReTag must be installed!

BUT it´s not as bad as it sounds, if NFC ReTag is not installed, scanning a special ReTag tag or Activity tag should open the download page for NFC ReTag on Google Play ...and you can download the free version (very small, currently ~ 0,56 MB!) and use it within seconds ....

The answer to your first questions depends on how you created your tags ...if you created your tags as "special NFC ReTag tags" no activities are saved on the tag... so you can use the same tag for different activities with different devices or users .....great for personal use, but I think you would like to setup a tag for more public use ....

For more public use, just create an activity tag (write option in the action bar on the tag screen): An activity tag stores all activities and parameters on the tag, every android device who scan the tag, start the same activities ... for example you could write your wifi credentials via the "add ssid" activity on an activity tag, and all your friends can scan the tag and log in your wifi network without any pairing hassle ...

.. for both tag options, keep in mind, NFC ReTag must be installed ...

EDIT: Ah and something I forgot to mention: You can even ANDROID BEAM your activites from one device to another ... just open a tag on your device, tap the 2 devices together with their NFC sweet spot, and touch to beam ;)
[Samsung Galaxy Nexus] lucianus_luciferus:
very detailed :)

thank you
[Samsung Galaxy Nexus] deian:
nfc problem

Hi,

I have your NFC ReTAG Pro version...

It seems on my quad core, Galaxy S4 4.2.2 XXUBMEA rooted Deoxed slim(med) ROM, that the app thinks my nfc hardware is not there on not on (it is on, i promise you). Not only your app but that NXP NFC Writer too, yet the phone detects the tag and opens the launcher thing for me to choose the program to open.

I have Xposed installed, with that nfc screen off module, that was deactivated, nfc re-tag pro was uninstalled along with the others, your app was then reinstalled only and it's still doing it. Do you have any idea whats going on?

Thanks,

Deian
[Samsung Galaxy Nexus] ascsa:
Yep, saw one or two times the same behavior on my Xposed testing device ....NFC ReTag checks if the NFC adapter is working, when it´s not working you get this nfc disabled message ....enable and disable the NFC adapter via settings should fix it and perhaps a reboot would make sense ... seems like there is somewhere a nfc hiccup with the xposed framework, the screenoff module, your rom or even the standard nfc stack ...the NFC Adapter seems to crash sometimes --> on standard android the adapter is restarted everytime your screen goes on .... with the Xposed framework and especially with the always nfc on option these restarts/ resets are missing ....and after a while the adapter crashes ....nothing I can influence with NFC Retag ...but from my personal experience, the NFC ON while Screen On option works without problems ...and manually disable and enable NFC fixed always the problem ;)
[Samsung Galaxy Nexus] deian:
Hi. Thanks for replying, no luck in putting NFC off and back on. It seems permanently crashed, tried doing that over resets, uninstalles programs, also disabled the nfcscreenoff module in xposed, cleaned cache, cleaned Dalvik, installed and a combination of the above. Unlessbthere you have another suggestion I'll have to resort to resesting the phone followed by a fill wipe and reinstall ROM. NFCscreenoff module works a charm though. NFC ReTag even detects the tag removal and ask for the NFC tag code_LOST to be eaved. Very frustrating.

Regards, Deian
[Samsung Galaxy Nexus] ascsa:
Hmm, weird ..."NFC permanently crashed" .."but the phone detects the tag and opens the launcher thing"....sound a bit like the internal nfc state is out of sync ...but manually disable/enable nfc or a reboot should probably fix any sync issues...so, perhaps some issues with the combination of your rom, xposed and the broadcom nfc stack ...

ok, silly question: Are you sure NFC is working? taping a tag fires a tag ID1234 found messages and removing the tag fires the ID1234_LOST message?

And which error message do you get from Retag (NFC disabled?)?

One of the good things with NFC ReTag, the app should also work on devices with nfc disabled and even on devices without NFC ...so. if you cancel the error message, you should be able to use the app ...obviously the NFC related parts wouldn´t work with nfc disabled , but you said the device still recognizes the tag, so theoretically it should work ....again, weird !
[Samsung Galaxy Nexus] deian:
More details: The ROM is pretty much samsung stock, it's deoxed, and slimmed from bloatware. It's from here... [ROM] WORLD PREMIERE: I9505 XXUBMGA DEODEX [4.2.2] - Pre-Rooted Stock ROM's Odin/CWM: the red one modified stock(XXUMBEA). I put the stock on first, rooted, put philzrecovery, then flashed the pre-rooted one. (It does mention not to root the pre-rooted one, I did it inversly so I guess it was ok) It mentions something about " Patched NfcNci.apk - working NFC Payment / NFC Tags".

I put on it Tasker, Xposed framework, NFC LockScreenOff Enabler 1.1, and your NFC Re-Tag Pro. I enabled third party apps in tasker.

So getting nfc screen off module to work was fine, it works, the phone alone has nfc enabled, and this is confirmed by the phone detecting the tag, even with the screen off, and it also detects tag lost, this extends to the initial prompt from your program, it then flags up a disabled detector.

NFC Re-Tag Pro is one of the programs that pops up in the application launcher thingy, I click it to open your app, it says new tag detected, and the program opens with message saying 'No NFC adapter detected', i get to give it a name give it a sample action (speak time i choose). I then usually want to write to the tag to avoid the program chooser to come up and just do the action. But because the program NFC Re-Tag Pro detects the NFC adapted disabled this writing part doesnt work.

I should point out it's not your program specifically, the NXP Tag Writer also doesn't detect the NFC adapter, even though the phone does.

But I think you are one of the few people who knows what is going on underneath.

A quick update:eek:n the Xposed Installer program (the one that installs modules), I went to the Framework tab, and clicked Uninstall, which removed 'app_process' and the 'XposedBridge.jar', and your program worked fine again, NFC Adapted was detected (i.e no disabled message), sadly can't tag with screen off and tag lost detection, ...so I guess it's something to do with those two (more than) the NFC LockScreenOff Enabler. I don't really know.

If you have any ideas on a workaround, even if it's some combination of things in a certain order that get it working it would be much appreciated. I don't know if my problem is mine alone or whether others have come across it too. Other than that, I could go to the Xposed developer and let him know what happened, he may then contact you.

Anyway, I'm going to have another plat with settings things up in a certain order before I wipe the phone and ROM it with a cleaner rom.

Thanks for replying. And great program by the way. If there are tests I can do to help you out let me know.

Regards, Deian
[Samsung Galaxy Nexus] kantjer:
The ROM you are using already uses a patched NfcNci.apk so it's probably conflicting with the Xposed mod.

You can try to pull the unmodified NfcNci.apk from a stock ROM (make sure you use the same build version) and copy that to system/app and reboot.
[Samsung Galaxy Nexus] deian:
That could well be it, I will replace it and take it from there. Silly me! Thanks for that suggestion. I'll reply back either way anyway for other peoples sake.
[Samsung Galaxy Nexus] ascsa:
"Patched NfcNci.apk - working NFC Payment / NFC Tags" ...hmm suspicious

hmm, could be that the nfc adapter crashes after firing the Tag detected intent ?! .... What happen, when you open NFC ReTag from the launcher ?

ReTag and probably all other properly implemented nfc apps shows this "'No NFC adapter detected'" message, when NfcAdapter.getDefaultAdapter(Context) is NULL! so something is seriously wrong ;-( ...Android did some NFC Api changes in 4.1 but even more likely the Broadcom NFC Stack in 4.2 has some issues ...nothing a normal user would recognize, but you can e.g. crash the Adapter easily by scanning some tags with some exotic tech definition on it ...the nfc stack even includes some standard recovery procedures to fix a broken nfc service ... to make it short, it´s always tricky to work with mods, and if you use several mods for the same content based on an instable standard implementation,it´s a lot of gambling ;)

THX :eek:

Disabling the LockScreenOff module doesn´t fix it, but uninstalling Xposed fix it, did I understand this right?

So it´s probably the combination of Xposed and your rom (especially the Patched NfcNci.apk) ...

You can always try to patch the nfc.apk manually ... instructions within the original "Detecting NFC Tag removal hacking thread (first post) ...or ask the rom guys if they could add the tag lost message mod within their patched nfc.apk ...

Or you could have written your "special NFC ReTag tags " while the Xposed framework was disabled ... or write these tags with an other device ...if tag writing is the main problem ....

Happy if I can help, but better let the Xposed guys talk with your rom guys ...the only relevant info from me would be, that the adapter is null. My "Xposed screenoff tag lost" testing device :eek: is running the latest Android 4.3 version and that´s not officially supported by the xposed framework yet, beside that, it has a NXP NFC chip, so it´s quite different from your 4.2 GS4 with the broadcom chip ...and I can not reproduce your issues, so sure they can contact me, but i´m not sure if I could help ...
[Samsung Galaxy Nexus] ascsa:
Ok, you were faster than my answer;)

I´m not a rom guy, but I thought about that, too . If I remember it right, you would need a patched NfcNci.apk because your rom is deodexed ...or something like that ... so I´m not sure, if the stock apk would work, at all.
[Samsung Galaxy Nexus] deian:
Well i'm going to put a stock rom back and start afresh and then see how it is, I think Kantjer is right, it must be that modded nfc. I didn't think of that tbh. A silly oversight on my behalf and I come crying to you.

With all being said, I appreciate your help (both of you). And ascsa as a developer top notch support.

Thanks again.
[Samsung Galaxy Nexus] ascsa:
You are welcome ;) report back, if you found a stable solution or have further issues ...
[Samsung Galaxy Nexus] deian:
Hi, it works fine, it must have been that modified NfcNci.apk. Sorry for the false alarm. But yea your app works lovely. If only Xposed found a way to get the lost tag to work with screen off. Thanks again.
[Samsung Galaxy Nexus] loloso:
feature

can you add a feature to start change wallpaper or change random wallpaper :laugh:

nice app
[Samsung Galaxy Nexus] ascsa:
Hmm not sure, must have a look at the APIs... I will put it on my to do list... But don't expect it as top priority...

... Sent from mobile...
[Samsung Galaxy Nexus] yorkey:
Just bought a few NFC tags and decided to try this app as it doesn't require me to program the tags.

However, every time I scan a know tag it performs the configured activities and then tries to open the play store app. Is this normal for the free and pro versions or just a feature of the free one?
[Samsung Galaxy Nexus] ascsa:
Nope neither normal for free, nor pro version... Seems something is wrong. Have the tags something pre-written on it? Have you tried to write a special NFC ReTAG tag?
[Samsung Galaxy Nexus] yorkey:
These were bought as blank writable tags. I hadn't tried creating an NFC ReTag tag...

I now have. FYI it said "tag is write protected, blocked or not formatted". So Ive formatted it using "Format as NDEF tag (BETA)" and wrote a market tag to it (the default was too big)

Still opens the store even if I switch to the browser before scanning the tag.

Edit: Just retested and its not opening the the store anymore even with the "blank" tags! Not sure what changed as Ive not used my phone since I last tried this!
[Samsung Galaxy Nexus] ascsa:
Ok, so it works now. ... I'm glad, because to be honest, I would not have a clue, why the app should open Google Play with blank tags ... Nothing within the app that could /should cause this... So perhaps the firmware nfc dispatching process had a hiccup and reboot, or whatever, cured it... weird

:banghead:
[Samsung Galaxy Nexus] spacebar2011:
The best NFC app yet. It works beautifully! But (I left a review on Play about this too), the app icon and those brightly coloured buttons in the app are just .... Could you please overhaul those two things? I can help with an icon if you wish. And the buttons, well, how about standard Android Holo?

Thanks! :good: