yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] ascsa:
Update 2.11

update 2.11 released ...:cool:

This update is mainly for the home automation and webserver guys ... new HttpGet and HttpPost activities with server response as pop-up ...:cowboy:

Additional parameters related to wireless charging for the " Stay On while charging" activity + a new volume setting for all retag tts activities ;) ... and as always bugfixes and small tweaks ...

Update 2.11 (2.11.x = fixes)

* New HttpGet and HttpPost activity (Lab)

* Additional parameters (wireless) for "Stay On while charging" activity

* New volume setting for the TextToSpeech activity

* Tweaks and bug fixes
[Samsung Galaxy Nexus] LRail:
HTC one stock 4.4.2 rooted. With current retag free and expert plugin installed.

latest NFC Lockscreen Off enabler module installed and enabled.

Supersu (and Re-tag settings) shows the expert plugin has root access.

I'm trying to setup a car config with retag.

When Tag detected: do nothing, Location GPS (root) SENSOR ONLY, wait 10000, start app "gps status", wait 5000, set music volume 100, ringer mode normal, WLAN off, start voice command app.

Tag lost: do nothing, close app "GPS status", location (GPS) (ROOT) off, close voice command app.

GPS (SENSOR only) does not turn on when tag found. The other activities complete.

GPS successfully turns off, and all other activities complete, when tag lost. (tested this by turning on GPS manually)

I'm not getting a location authorization prompt. Should I see one ? Does retag bypass that now ?

Does the free version have a limitation on the number of activities for a single tag ?

Have logging enabled in the retag app. How do I view the log ?

Retag app features that would be nice:

1) A way to save and load tag activities

2) cut and paste and insert support for single and multiple tag activities. (it seems I have to re-enter/config activities when I want to insert additional activities for a tag ?)

Thanks for the app !
[Samsung Galaxy Nexus] ascsa:
Hmm, unless HTC did some weird things with 4.4.2 your configuration should work. Perhaps we can narrow down the problem a bit :

- Your root seems fine, else the GPS OFF shouldn´t work

- Xposed and the module seems fine, because if not, you wouldn´t get the Tag_lost event

- There is no "number of activities" limit in the free version .... so no problem ( although the "do nothing" and "wait" activities should not be necessary ...)

- Android doesn´t fire a location authorization prompt for the GPS SENSOR ONLY setting, so everything as expected ...

- Checked the GPS activity again on my rooted stock 4.4.2 test device (NOT HTC) and everything seems to work

Are you sure GPS doesn´t go into the "device only" mode ? and your "GPS status" app can handle this setting ? --> btw. I think me or google messed up the naming somehow ... the internal android name for the "device only" setting is "sensor only" :eek:

Does the high accuracy parameter work?

And did you try the old legacy GPS settings (depreciated, but I put them back in the Labs section, and they should still work on 4.4.2 ...)

and btw. you find the Activity/Tag log via the "more" Button

EDIT: hmm I think you added the last lines:

already a lot of possibilities :

- have a look at the template function

- you could also save activities to tags and import them ...you could also send tag cycles via nfc beam from one device to an other device

- you could save the whole database and import it on other devices ...

yep, I know this, but as already stated here a lot of times ... the activity order is in most cases irrelevant because ReTag fires them all within some milliseconds and then the android multitasking kicks in .... however , you could use the template feature for most reordering activities ;) ... and yes , we will consider this for the next major re-design ;)
[Samsung Galaxy Nexus] LRail:
ascsa:

Thanks for the quick reply.

:)

Re: save load activities.

I'm brain dead today obviously. I saw the "Template" function and didn't realize it was meant for that. ugh. My apologies !

Yeah. without wait activities it would be irrelevant. Cool that you may include it though. :)

Since both apps in my activities use the GPS, I was suspecting that some dependency or conflict issue might be happening.

I added the wait activities to ensure each one was running before the next.

I also swapped the order around to see what happened. (hence the cut paste request idea :) )

I have now checked both apps manually and they don't care when the GPS is enabled.

FWIW: those "Do nothing" activities were place holders for text to speech "tag found/lost" alerts to help debug what was happening.

----

I decided to start from square one and rebuild the configuration step by step, testing after each activity was added.

Surprise ! Everything working correctly with the following config:

Tag Found: texttospeech "tag found", Location (GPS) (Root) sensors only, start app "GPS status", WLAN off, Set music volume 100, start app "Dragon mobile"

Tag Lost: text to speech "tag lost", Location (GPS) (Root) off, close app "GPS Status", WLAN on, Close app "dragon mobile"
[Samsung Galaxy Nexus] ascsa:
OK, so everything is fine now?!

(I think before editing your post, you mentioned some "semicolon" issue with the TextToSpeech activity ... shouldn´t be the case with the standard Google TTS engine, but I would like to know if it´s an issue with other TTS engines) :cowboy:
[Samsung Galaxy Nexus] LRail:
UPDATE:

Curious as to what was happening I deleted all activity and loaded old template/version.

GPS not enabling again.

I deleted activities one at a time making backup templates as I went.

Eventually... This DIDN'T WORK:

Location (GPS)(Root) SENSORS ONLY, Start App "GPS Status", wait 5000

But after that, IT WORKED, if I deleted any single activity for the tag other than the Location (GPS) (Root) Sensor.

I then deleted all the activities and recreated them as listed above. It also worked

(Correction: this may be incorrect.. looks like the rebuilt version won't work now. Maybe it's repeatable. :) )

Looks like it was some type of data corruption in the db ?

-----

You are correct about my comment about the text to speech. I deleted that, so the post only covered what worked.

I'll test with some different voices and engines and will report the results.
[Samsung Galaxy Nexus] ascsa:
Hmm, I think the "wait 5000" activity let your device hiccup and skip the gps activity .... weird but possible ... you could try it with wait 2000 or just without the wait activity and it should work, if I´m right ...

and yep, feedback regarding tts would be nice ;)
[Samsung Galaxy Nexus] LRail:
Changing the wait time fixed it.

For: Location (GPS)(Root) SENSORS ONLY, Start App "GPS Status", wait 949

Wait 950 milliseconds was the point of failure. Below that GPS consistently would work. At 950 or above, it was unstable.

For: Texttospeech "tag detected", Location GPS (root) SENSOR ONLY, wait 10000, start app "gps status", wait 834, set music volume 100, ringer mode normal, WLAN off, start app "dragon mobile"

The 2nd wait time needed to be 834. Above 834, it consistently failed.

DELETED: My comment about a 3rd wait activity allowing an increased wait time on the 2nd wait activity, AND my comment about the last wait activity as the one affecting the GPS startup, no matter how many wait activities are listed.

I got inconsistent results with a 3rd wait activity, and don't want to cloud the issue.

NOTE: For clarity for others reading this post later: The problem occurred even when the wait activity is not the last item.

No idea if that helps you (or if it's clearly understandable), but I figured I'd try give you some hard numbers
[Samsung Galaxy Nexus] ascsa:
Lol, I think the comment for others reading this post later should be: "In a similar scenario, don´t use wait activities at all, because you don´t need them and they could cause a lot of issues" ;-) ...:good:

And yep, inconsistent results doesn´t surprise me because android is really a multitasking OS. That means the OS prioritize a lot of threads simultaneously and depending on your current workload and running background services the results based on a few milliseconds could be different with each run and on each device ....
[Samsung Galaxy Nexus] JustinUdderUID:
Writing tags

I've been looking at several NFC apps, readers, writers, Tasker ...

I've got a Galaxy S3, not rooted, and several new MiFare Classic (13.56MHz RFID/NFC) 1KB stickers and charms.

What I'm looking to do is I think fairly simple. I'd like to be able to read data from a tag, send a text or email with the Tag data, append my name, time and date to the data in the tag, prune the oldest data to fit the tag, and write that back to the tag. Kind of a Geo-cache type of thing.

I'm new to this, I have read through some of the pages of this thread, and done several search's. lots of searches come up for writing tags, but I have not found any that look like they allow a write to be triggered. Does anyone have any suggestions?

Justin.
[Samsung Galaxy Nexus] ascsa:
Yep, this sounds simple, but afaik there is no app or tool that could do this. I wouldn´t say it`s impossible, but you would need a custom build app and some serious hacking to do something like that.
[Samsung Galaxy Nexus] JustinUdderUID:
UGGGhh.

Like I said, I'm new to this, so the list of stuff I don't know is large. The list of stuff that I don't know that I don't know I will need is VERY large.

I wanna make it clear I ain't askin anybody to "do this for me".

What you posted makes is sound like this might be really difficult to do - is there a reason beyond "No ones done it before."?

I get that the movement of the ̶p̶h̶o̶n̶e̶ active device is what causes the tag to be energized, starting a transaction between the phone and the tag. It seems like the active device then takes over, driving the field so the tag can respond with the inducted energy. So the phone (reader) reads out the data, does some string functions and then assumes the tag is still in place and writes it back. I guess the app could tell the user to reswipe if it really has to.

What else am I missing?

Justin
[Samsung Galaxy Nexus] ascsa:
Hmmm, don´t get me wrong, as mentioned , I don´t think it´s impossible, so fire up your android sdk and start hacking ...I don´t see a show stopper and XDA is full of "No ones done it before" solutions and even some "this is impossible" solutions ;) .... after all, NFC ReTag is one of them :laugh:
[Samsung Galaxy Nexus] jazper65:
Trying to use the HttpPost activity from the "Lab" but the URL I'm targeting requires authentication. Here's the working Curl syntax:

# curl https://some.place.com/api/request -u <name>: -d method=a -d action=b -X POST

How can I do the same thing with the HttpPost activity?

--

Jazper
[Samsung Galaxy Nexus] ascsa:
Hmm, not familiar with the curl syntax and don't know what your server expects (or what you exactly want to do) , but had some user feedback this pattern "https://username:yourpassword@yourURL.com/action" would work on their setup with basic authentication required...
[Samsung Galaxy Nexus] Unrelated:
NFC ReTAG & Root

Hey,

I recently tried your app and I really loved it. I decided to root my Nexus 5 to use the additional features, but now it only works if I have the app active (on fullscreen). The only option I found that could have anything to do with it was 'Don't keep activities' under Developer options, but that one is turned off.

Any ideas what might cause the issue?
[Samsung Galaxy Nexus] ascsa:
Hmm, root shouldn´t affect the background dispatching in any way ....

Did you simply root your device, or do you use a custom rom or xposed framework? ...(both should also be no problem, but theoretically this could influence the background dispatching ...)

However, most likely rooting has nothing to do with your issues, I assume you have manually and unintentionally disabled some receivers (Settings/ Advanced Settings/Receivers ... e.g. "special NFC ReTag tags" ...just enable them again!) and noticed the different behavior after rooting ...:fingers-crossed:
[Samsung Galaxy Nexus] Unrelated:
Perfect!

That was exactly what was wrong! Thanks for the fast reply, you're awesome ;)

(And sorry for the stupid mistake on my side)
[Samsung Galaxy Nexus] ascsa:
No problem, you´re welcome ;)
[Samsung Galaxy Nexus] yogurblanco:
Hi

I'm sorry if this doubt is already solved but i couldn't find in the thread. When I read an NFC tag with my Nexus 5, it shows the common dialog "Complete action using..." making me choose between NFC Re Tag app and the native NFC reading app that says new NFC Tag detected. But it don't let me choose your app in a permanent way. I can't find any related to this problem in the Settings menu or in the web so please...

Thanks in advance.
[Samsung Galaxy Nexus] ascsa:
Hmm, I think this is already mentioned one or two times within the thread ;-P .... it´s probably the most frequently asked question :confused:

Answer:

With writeable tags, just write a special NFC ReTag tag (more button).

With non-writeable tags, just disable background dispatching within all other NFC Apps (every good NFC App should have such a setting). System Apps like “tags“ can be disabled via the App info screen.

However, I think I should add these 2 lines to the first post ;) ...and btw. thanks for pointing this out.
[Samsung Galaxy Nexus] Julia..:
Hello,

First of all, I wanted to say thanks. This is such a great app, and this thread is very helpful! I found the answer to a lot of my questions here. I recently got a Moto X and it's my first NFC-enabled phone, so I spent the afternoon figuring out what I could do with it. I downloaded NFC ReTag and for me it works on my school ID, hotel key-cards, and also old Disney World passes, which is fun because of the characters on them :D

So I tried different combinations of things with Tasker, and then I used AutoHue to integrate Tasker and Hue lights, and then I had the idea of using my phone to switch Hue lights on and off using NFC tags, which works really well. But then I ran into the only question I haven't been able to find an answer to:

The NFC tag that I use to turn Hue lights on and off has two cycles (turning lights on, and then off), and I have that tag on my nightstand. But I also wanted to have a different tag near the door. I thought about copying the entire thing to be triggered by another tag, but then one tag might be in Cycle 1 and the other in Cycle 2, and if I try to turn the lights off it won't work. Of course it would end up working when it cycles back, but it just seems inelegant somehow. Is there a way to add a tag so that it triggers the same action list as another? Like a "tag_1 OR tag_2" kind of trigger?

Thanks again :o
[Samsung Galaxy Nexus] ascsa:
Hi,

there are 2 simple solutions available:

1.) Use the "Set cycle" (-->Lab) activity, to synchronize the cycles --> e.g.

- add a "set cycle 2 on tag 2" activity to your tag 1 cycle 1

- add a "set cycle 1 on tag 2" activity to your tag 1 cycle 2

- add a "set cycle 2 on tag 1" activity to your tag 2 cycle 1

- add a "set cycle 1 on tag 1" activity to your tag 2 cycle 2

2.)

With Tasker, you could simply define a variable within Tasker and fire the on or off task depending on this variable .... something like :

"if variable = ON then fire OFF task and set variable to OFF

else fire ON task and set variable to ON"

and btw.: Disney World passes :cool:
[Samsung Galaxy Nexus] Julia..:
That worked perfectly! I used the "Set cycle" activity, which I hadn't really noticed before, instead of Tasker Variables since I'm not really sure how to use those very well yet.

Thanks! Now both Mickey Mouse and Donald Duck make my lights go on and off :D
[Samsung Galaxy Nexus] acmer77:
[insert user background text here]

Is there a way to purchase the Pro version without credit card? I really don't want to use G Wallet and prefer PayPal in all internet payments.

[add text here that doesn't matter at all]
[Samsung Galaxy Nexus] ascsa:
Beside purchasing via credit card you can pay in a lot of countries via carrier billing , Google Play gift cards and (since a couple of days:) Paypal.

http://android-developers.blogspot.de/2014/05/helping-you-go-global-with-more.html

So, yes sure you can buy without a credit card, BUT, as mentioned before, Google Play is mandatory.
[Samsung Galaxy Nexus] acmer77:
There wasn't a PayPal option anywhere despite my country should have it, so had to do some digging around. Seems the new Play Store (4.8.19) has it as an option.

All my app purchases so far have been through AndroidPit, because apps are generally cheaper there and it has had PayPal as an option for a long time.

Problem solved :good:
[Samsung Galaxy Nexus] Ranary:
HI all,

i'm a happy pro user and first of all i want to say thanks for this great app.

Im trying tasker advanced integration and read through all 70 pages. I read some talking about the custom variable setting but can't figure out how it works. I tried accessing the value in tasker via %par, %par1, %var, %cvar, %customvariable but had no luck reading a value. Can someone please give me a hint how to set and read the custom variable properly? Thanks a lot.

Second i have a minor bug, i'm using Sony Xperia M Dual runing 4.3 stock rom. The screen where i can choose which kind of ReTag Tag to write only shows two options, although the help mentions more options. I can see that there is some further text but can't scroll the page.

Thank you very much.
[Samsung Galaxy Nexus] ascsa:
The tasker variables are explained on the Tasker task advanced screen. Try %uid for UID, %rid for ReTag ID,%cyc for cycle and %yvr for your custom variable.

And yep, ReTag has 4 write options, seems that your device cuts off 2 options due to the low resolution of your screen and the implemented design. Sorry about that, but Retag is compatible with more than 770 devices (according to Google Play) and it´s sometimes a little tricky to support them all 100%. The good think is, the first 2 options are the most important ones. The 3rd option is quite similar to option 1 (but supports only the free OR pro version) and the 4th option is only a fallback option (when everything else doesn´t work). I would always recommend option 1 .... if tag size is a issue, you could try option 2 ....Nevertheless, I will have a look within the next design upgrade, and check if we could show you all 4 options.
[Samsung Galaxy Nexus] Ranary:
Thanks for the quick reply, worked perfectly. The custom variable %yvr is nowhere to be seen on that screen. Maybe another issue with my resolution? I see "Deine Variable" (Your variable) and the line for input right above the buttons for cancel and so on. The other variable names are there.
[Samsung Galaxy Nexus] FrA1l3:
Is there any way to use the phone like some of the tag saved by passing it through an external reader?

I want to use the phone like a tag which has saved the program.

thank you
[Samsung Galaxy Nexus] ascsa:
The short answer is simple: NO, you can´t use your phone as a tag!

Ok, the long answer is a little bit complicated: Theoretically Android supports tag emulation (but NOT ID emulation) ... so, when you control the complete infrastructure (NFC Reader, NFC Device, NFC TAG, all encryption Keys etc.), you would be able to create a solution in which you could use your phone as a NFC tag .... so, yes it´s theoretically possible, BUT forget the idea to just swipe your company badge or bus ticket and use your device instead ... that´s not possible unless the infrastructure owner provides a special app for that.

And btw. this has nothing to do with NFC ReTag.
[Samsung Galaxy Nexus] lucianus_luciferus:
can i use this app to program a tag to change screen lock from swipe to pin? i could not find this option anywhere. thanks
[Samsung Galaxy Nexus] ascsa:
Nope, no (native) support for this feature because standard Android doesn´t like messing with this and every hack around isn´t stable from my point of view. However, if you want to try a 3rd party solution, try tasker + secure settings and fire the tasker task via ReTag.
[Samsung Galaxy Nexus] fkf5412:
NFC ReTag PRO

Hi,

I am using NFC ReTag PRO because it supports my tags although the Samsung Galaxy S4 mini (GT-I9195) displays that the tags are not supported. It still changes all the programmed settings (e.g. Volume, Connectivity settings etc.) :D

What I want to use is the time stamp (“Zeitstempel“ in the german version) but since it requires ICS 4.X + PlugIn I am not able to use it because my phone is not rooted. At the moment I look up the protocol list in order to get time and date of checking in and out of work. Therefore I would like to know if it is possible to export the protocols from NFC ReTag to a Microsoft Excel file or a .txt file?

With best regards

fkf5412
[Samsung Galaxy Nexus] ascsa:
Hi, you don´t need root for the timestamp (Zeitstempel in deutsch :)) activity. So just download the Plugin and use the timestamp activity to add a timestamp to your calendar (choose calendar via settings).
[Samsung Galaxy Nexus] fkf5412:
Thank you! That it is working perfectly. :good: Now I just have to find a solution for exporting my S Planner entries to an excel file or .csv but thats another story.... Thanks again!
[Samsung Galaxy Nexus] ascsa:
Hi, not sure if you can export a csv from Samsung S Planner, but you can create a new Google calendar (name it e.g. "Zeitstempel"), choose this calendar in ReTag and export the the google calendar in the ical format (German how to: https://support.google.com/calendar/answer/37111?hl=de&ref_topic=1672003)

--> Export a Google Calendar (EN): https://support.google.com/calendar/answer/37111?hl=en&ref_topic=1672003 ....
[Samsung Galaxy Nexus] kai456789:
thank this good APP
[Samsung Galaxy Nexus] ascsa:
Android "L" release

Just started to test the new Android "L" release preview (and already got some user feedback).So far, it seems that the new release handles the permissions a little bit different. Nothing to worry about from my current point of view (in fact, it seems to correct an old permission bug within Android), but you can not install more than one of the ReTag versions/plugin (FREE/PRO/Expert Plugin) at the same time.... seems that the same problem occurs with Tasker : --> you can install either ReTag or Tasker ...

However, I think I could easily fix this within an "L" specific release ... so nothing to worry about for the official release :fingers-crossed:

Btw. I installed a couple of other apps on my "L" testing device, some seems to work fine, some with minor issues and some doesn´t work at all ... so keep in mind the "L" release is just a developer preview, nothing you should try on your productive device :cowboy:
[Samsung Galaxy Nexus] 12gage:
I'm having a problem with Tasker task launching for me and I was wondering if anyone could advise. I'm just trying to get Car Mode to launch (my device/ROM must not allow it) so I made a Tasker task to do it using Secure Settings. I've checked "allow external access" in Tasker, I've tried with and without Fallback mode, and the task ran on simulation in Tasker and when I set it to a toogle in Power Toggles I just can't get it to run in Retag. Any helps would be greatly appreciated. Thanks in advance.