yashsingh1/xdaforums huggingface dataset:
[Nexus S Themes and Apps] krohnjw:
Since it's a 5 minute addition it's done and will be in the next release.

Also done:

1x1 widget for toggling NFC On / Off

Checking that NFC is on when app starts and prompting the user to enable if it is disabled (and then enabling if OK)
[Nexus S Themes and Apps] the7thson:
That's awesome! Btw - are you still going to have that nag screen to ensure that no one accidentally locks the tag?

I'm still waiting for my tags in the mail so I still haven't had a chance to test anything :(
[Nexus S Themes and Apps] krohnjw:
No nag screen currently. You will have to manually tick the box every time after hitting write and before writing the tag. I stuck a message there that it is not reversible so hopefully this stops people from accidentally checking it.
[Nexus S Themes and Apps] tevey:
Thanks for an awesome app.

It would be nice to be able to add smart url to a task list and also foursquare checkin to predefined venue.
[Nexus S Themes and Apps] telfer:
Tasker and NFC Task Launcher problem

Hello! I'm new to both Tasker and NFC Task Launcher, so I *may* be doing something wrong.....

I've created a "home" tag to scan on my way in, which is in turn supposed to fire my "Home" Tasker task.

When I scan the tag, NFC-TL launches, and in the notification bar it says "Launched Task Home". But nothing actually happens -- Tasker doesn't do anything.

If it's not just me doing something wrong, I would be happy to bug-test.

I'm using a Nexus S GRJ22, Android 2.3.4, Launcher Pro, rooted standard ROM.

Any ideas?
[Nexus S Themes and Apps] krohnjw:
All my app does is fire an intent with the task name via the shared class tasker provides. Everything else is handled by tasker. If you want to capture a logcat while it runs I'll take a look, however there isn't much the app does other than send tasker the task name to start.
[Nexus S Themes and Apps] telfer:
Here's the relevant logcat.

05-15 09:33:06.640 D/dalvikvm( 308): GC_EXPLICIT freed 174K, 56% free 2962K/6727K, external 1625K/2137K, paused 80ms

05-15 09:33:16.030 D/dalvikvm( 530): GC_EXPLICIT freed 246K, 55% free 3148K/6855K, external 1625K/2137K, paused 30ms

05-15 09:33:29.323 I/ActivityManager( 110): Starting: Intent { act=android.nfc.action.NDEF_DISCOVERED typ=text/scriptlet flg=0x10000000 cmp=com.jwsoft.nfcactionlauncher/.NFCActionLauncher (has extras) } from pid 197

05-15 09:33:29.374 I/ActivityManager( 110): Start proc com.jwsoft.nfcactionlauncher for activity com.jwsoft.nfcactionlauncher/.NFCActionLauncher: pid=1086 uid=10110 gids={3001, 3002}

05-15 09:33:29.495 W/ActivityManager( 110): Permission Denial: broadcasting Intent { act=net.dinglisch.android.tasker.ACTION_TASK dat=id:2460925338534266669 (has extras) } from com.jwsoft.nfcactionlauncher (pid=1086, uid=10110) requires net.dinglisch.android.tasker.PERMISSION_RUN_TASKS due to receiver net.dinglisch.android.taskerm/net.dinglisch.android.taskerm.ReceiverStaticRunTasks

05-15 09:33:29.550 W/InputManagerService( 110): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4097fc20

05-15 09:33:29.569 I/ActivityManager( 110): No longer want com.roflharrison.agenda (pid 724): hidden #16

05-15 09:33:30.890 D/NativeNfcTag( 197): Tag lost, restarting polling loop

05-15 09:33:37.370 D/dalvikvm( 205): GC_EXTERNAL_ALLOC freed 1242K, 50% free 3691K/7367K, external 5945K/6148K, paused 42ms

Not sure why "permission denied". Only thing I can think of, weird as it is, is that I installed NFC Launcher first, and Tasker second. So I re-installed NFC Launcher, reset the Tasker to "Allow External Access" (which didn't help before), and it now works 100%.

So thank you! Problem solved!!!
[Nexus S Themes and Apps] krohnjw:
2.7.0 up:

- Added 1x1 Widget for toggling NFC on and off

- Checks for NFC enabled on startup and allows user to enable NFC if disabled

- Allow tags to be write locked when written
[Nexus S Themes and Apps] gkrawiec:
Hi, does this application allow changing presence status on instant messenger apps? (google talk, skype, whatsapp, etc)?

Is there a way to automate that?

Also, can it enable alarms...of the wake up in the morning type...i could have a tag next to bed and have it disable the ringer and volume and enable the alarm...or something like that. Can it do that?

thanks,

-gk
[Nexus S Themes and Apps] krohnjw:
Status in apps, no. The apps themselves would have to have accept an intent with extra data. I don't know if any do, it's something to look in to.

Ringer, volume and alarm yes.
[Nexus S Themes and Apps] Vulpix:
Hey krohn, any chance you will add support the the SGS II variant that might come with NFC?
[Nexus S Themes and Apps] krohnjw:
Unless they do something wonky with the API then there's really no reason it shouldn't work. Not having a device to test with may prove more difficult, but this is all pretty standard stuff from an API standpoint, so in theory it shouldn't break.
[Nexus S Themes and Apps] krohnjw:
Coming up some time next week:

Done:

-Start/Stop media playback

-BT Discoverable

-Cleaned up some of the Task pages to make them less cluttered

Hopefully I'll get time to look into the display options as well (Timeout/Brightness).
[Nexus S Themes and Apps] chrlswltrs:
I just bought the app and some tags. Looking forward to what I can do with them and Tasker once the tags get here!
[Nexus S Themes and Apps] 3Shirts:
Will you be implementing shortcuts at some point?

It would be awesome to be able to check in to foursquare etc from a tag
[Nexus S Themes and Apps] vansmack:
Loving this app, thank you very much.

Just had a thought....any way to toggle NoLED with an NFC chip? It would be nice to do that at my desk, and swipe on the way out of my office.
[Nexus S Themes and Apps] krohnjw:
What kind of shortcuts specifically? I don't use most of the social media service, so you'll have to enumerate a bit of a wish list and I'll see what I can do

I'll have to look into noLED and see what it accepts as far as incoming intents.
[Nexus S Themes and Apps] vansmack:
Thanks - don't put it too high on your list. I just think out loud sometimes...
[Nexus S Themes and Apps] the7thson:
I'll cast my vote for noLED as well, cheers!
[Nexus S Themes and Apps] unknownkwita:
Just received my tags in the mail. your app is AWSUM. Keep up the good work.
[Nexus S Themes and Apps] bucketheadmn:
Hopefully I did not miss this somewhere earlier in the thread.

Would it be possible to add "exit car home" as a step?
[Nexus S Themes and Apps] krohnjw:
If you connect via BT to a device you can have it auto close - otherwise that falls under killing apps programmatically which is really not "supported" in recent releases of Android. It's something I can look at doing (like the task killers do).

Outside of that it looks like I won't release the updated version until next week. Look for an update next week.

Changelog so far:

- Added Bluetooth Discoverable as an option

- Reorganized Wireless & Connection page for easier navigation

- Reorganized Sounds & Volume page for easier navigation

- Added Start / Stop media playback via headset button press emulation

- Added initial NFC share support (touch to another NFC device from main screen and they will be taken to the market screen for the app).

- Fixed potential issue with deprecated method for NFC (received crash report but no details - please send some comments with these if possible).

There may be more added on to this depending on how much time I get, but these are already done and tested.
[Nexus S Themes and Apps] vansmack:
Yep - check the settings for Car Home and set it to automatically disconnect when bluetooth paring ends. For whatever reason, "Immediately" doesn't work for me, but the 5 seconds option works beautifully (this is not fault of NFC Launcher either, it's a Car Home problem with my car's Bluetooth).
[Nexus S Themes and Apps] shizz45:
Hey thought id add that if tethering is enabled and you try to use a nfc tag it wont work for wifi or anything else.

I bought some tags and throughly tested it. Otherwise its great but

There is no option to disable tethering so i have to manually do it then swipe the tag to get it to function

hope it helps in debugging

To recap:

if tethering is on and i have a tag set to cut on wifi then change the sound profile it wont get past enabling wifi and not activate it, do to tethering being enabled i looked for a way to have the tag shut off tethering but no luck
[Nexus S Themes and Apps] krohnjw:
Gentlemen, this is how you describe a bug :)

I'll take a look at that when I get back next week.
[Nexus S Themes and Apps] LiuAnshan:
I was wondering about the feasibility of using this app either by itself or with tasker to change DSP settings. The reason I ask is that when using regular headphones and the like I have bass boost enabled in my dsp manager, but when I get in my car I have to turn it off when I connect my phone to the system in my car.

I have no idea if this would be doable via tasker or your app having never used them myself yet.
[Nexus S Themes and Apps] krohnjw:
Tasker has a seven day trial if you go to their website.
[Nexus S Themes and Apps] jkurl:
Hey I am getting fc now. I am on 2.7 and using nscollab 1.0.30 w/ netachary 1.3.4 kernel. I have uninstalled the app, reinstalled and still getting fc's.

Not had any issues until this point
[Nexus S Themes and Apps] krohnjw:
Send a logcat please
[Nexus S Themes and Apps] 3Shirts:
I meant the list you get when you long press the home screen and select 'shortcuts'

For me it allows me to select audiomanager profiles, bookmarks, LauncherPro Activities, direct dial and direct message, foursquare places, Music Playlists, Settings etc.

I thought there was a way to hook into this list.

Thanks
[Nexus S Themes and Apps] krohnjw:
I'll take a look.
[Nexus S Themes and Apps] jkurl:
Hey my NFC is back up. Your app working like a champ. Thanks again for the awesome support.
[Nexus S Themes and Apps] AaronN322:
I downloaded NFC Task Launcher yesterday to use with some mifare classic tags I bought. Everything works fine except for launching tasker tasks.

I am new to tasker though so maybe it is just me.

I have created a few simple tasker tasks and when I test them, or even if I set them as a widget they work perfectly. However when I use this program to launch the task from an nfc chip it does not work. The notification pops up saying it launched the task but the task does not actually get ran.

What could I be doing wrong?
[Nexus S Themes and Apps] krohnjw:
Was tasker installed first? It needs to be. All my app does is start an intent with the task name through the shared class provided. I can't control anything other than the name sent. Grab a logcat when it runs, that will potentially show any issues
[Nexus S Themes and Apps] AaronN322:
I uninstalled both and then reinstalled tasker first and that fixed the issue.

Thanks! Great product!
[Nexus S Themes and Apps] krohnjw:
I think I may stick some help text on the tasker page as this is not an uncommon issue and there's not much I can do about it. Glad to hear you got it sorted.
[Nexus S Themes and Apps] gkrawiec:
finally got my tags. Been playing around with them and your app during

the day...pretty cool :)

A few notes/ideas...

1) If I try to write a tag to an unformatted tag, I think iit gives me

an error but the error does not stay on the screen long enough

to be read.

2)On app opening but when coming from the notifier, it should say what the last

tag read was, since it disappears from the notifier and on the notifier it doesnt show the saved name nor the complete set of tasks it just did.

3)I think adding a task (pressing the plus sign) should not automatically return to the previous page. It should allow me to add more things from that page. For example when I am setting around the things from the volume page, i might want to change both media and ringer volume. As is right now, after adding media it returns to previous page and i have to go back into the volume page. (this is just a thought...i dont expect to be creating new tasks so often that it makes much of a difference)

4) conditional tasks. For example. I made a tag that will turn off bluetooth. Can it be turn

off bt ONLy if there are no bluetooth devices connected?

5) change screen brightness as an action?

6) screen/pwd lock unlock OR (probably simpler) screen time out settings. I made a tag for my desk setting. I dont have a "dock", and (from

what I can tell) android cannot natively change profile based on being charging or not. Can the tag change the screen timeout? that way at my desk it will always be on (disables screen timeout), but on my way

out it locks the screen? (sets the time out)

thanks! very useful app!

-gk
[Nexus S Themes and Apps] Clusterfunk:
I'm actually starting to see a lot of these NFC tags around. I'm glad to see that the technology is expanding.
[Nexus S Themes and Apps] krohnjw:
2.8 Up - Changelog in OP
[Nexus S Themes and Apps] GWilsonSnead:
Awesome application! I am currently using it for NFC demonstrations for my company and it is definitely the best app on the market for design.

I have a question about the new update though, I was wondering if you could explain the 'Launch Custom Task' under the application field, maybe a little on what it does specifically and how to use it properly.

Thanks
[Nexus S Themes and Apps] krohnjw:
Essentially when you pick an application to launch it uses Package Manager and selects the appropriate task. For most applications this works fine as they only have 1 "main" task. However, there are some apps that have multiple "main" tasks. For these apps the package name will only return 1 task, making subsequent tasks unable to be launched via an NFC tag.

An example of this is the Aura GPS app. It contains a downloader as well as the main app. When you query the package name it will always launch the downloader, and never the main app. As a result the custom Task field was added to allow the user to differentiate between the two.

When you select an app from the drop down it looks at the task it launches - if it differs from the default package then it will populate the Custom Task field. If they are the same the field will remain blank as it is unnecessary.

If you know of a specific task that can be launched via an intent you could always manually enter it there as well (to launch to a specific page within a package for example). The format would simply be package.name.task
[Nexus S Themes and Apps] GWilsonSnead:
Hi again,

I'm working on using tags for opening network files. Everything works fine and dandy except one thing. the only way i have figured to write a file location to be opened by the browser is using the smart url option, only problem with that is it automatically ads the "htp://" in front of the bookmarked file location which causes it to not be found. I simply need it to have the file:/// prefix without the "Htp://" prefix being thrown before it. Any ideas on what to do?

~Wilson
[Nexus S Themes and Apps] krohnjw:
Currently it will check for known prefixes and assign the correct byte and omit that from the tag - if none is found it will prepend http://

I can add file:// as an accepted prefix so that it will not strip it or stick anything else in front of it.
[Nexus S Themes and Apps] GWilsonSnead:
That would be awesome, it could open a lot of possibilities for using tags, seeing as tags do not have very much space but they can act as a bridge between large files such as pictures or videos located on a wifi drive that could be accessed via the browser. Thanks!
[Nexus S Themes and Apps] chrlswltrs:
So I got my tags and have made a couple already.

The thing I would like to do is have one for a car dock. Is it possible to use a tag to trigger a tasker profile and leave it active while in contact with the tag and then when I remove it from the dock the profile exits?
[Nexus S Themes and Apps] krohnjw:
The issue I see here is that there is no handler for the file:// URI. I have the changes made already, but the default tags app doesn't do anything with it because it has no idea what to do. Do you have an app to handle this URI?

No - Android doesn't issue any broadcast when a tag is disconnected that I could use to fire events off of.
[Nexus S Themes and Apps] GWilsonSnead:
Yes, I have an app that handles the URI, its a file browser for your phone and it makes a browser just like one on a windows compute allowing me to type in the file source into the browser to locate files.
[Nexus S Themes and Apps] krohnjw:
Ok, you should be good to go on the next update then, it will allow all defined URIs properly.
[Nexus S Themes and Apps] 3Shirts:
There are a couple of ways to do this depending on your set up.

The way I do this is to have a task which sets a variable %InCar to true. This is the task that swiping the tag fires.

I then have a profile which becomes active when %InCar is set AND the phone is charging (my car holder also charges). The exit task from this profile clears that variable.

Since all conditions must be met for the profile to become true, disconnecting the power will end this profile, fire the exit task and clear the variable.

The other option is to have the tag somewhere away from your holder where you manually swipe it on entering and leaving the car. You can have two tasker tasks and use the 'Create Profile' feature of NFC Task Launcher to have it fire one on entry and one on exit.

It's important to keep in mind that if the tag is constantly in range of the phone, it will read it every time you wake the screen up. That works ok in my first example as setting the variable over and over is harmless but in the second, it would keep toggling on and off hence why you'd need to relocate the tag.
[Nexus S Themes and Apps] eddieras:
i ordered tags the other day and just downloaded this app- i'm new to all this - never rooted anything (had a root canal once) or messed around with programming, but hope i can get this going - sounds amazing - thanks!
[Nexus S Themes and Apps] krohnjw:
It should be fairly straight forward - no root or anything else required. Everything is done using the available Android APIs. If you have any issues just let me know.
[Nexus S Themes and Apps] eddieras:
thanks - i ordered these RFID Tag - Transparent MIFARE 1K (13.56 MHz) from sparks fun but i keep getting "unknown tag type"
[Nexus S Themes and Apps] krohnjw:
Where are you getting that message?
[Nexus S Themes and Apps] eddieras:
i figured it out- i wasn't writing it properly! this is SOOOO cool! btw what i meant by the 'root' comment was that i don't tinker at all - with anything- i'm not a handy guy at all and this worked perfectly! thanks for a great app!!
[Nexus S Themes and Apps] krohnjw:
Good to hear. Let me know if you run into any issues.
[Nexus S Themes and Apps] crachel:
Really liking this app..

I wrote a tag (25 mm penny) to fire a Tasker task that shuts the screen off. I have a little wooden box that I keep my phones on at the office. The tag is actually inside the box, but when I set the NS down on it, it reads it through it and my screen shuts off!

Now, to find a way to embed one in my pants pocket...
[Nexus S Themes and Apps] instigator008:
I just ordered a few, too. Looking forward to testing ur app :-)
[Nexus S Themes and Apps] krohnjw:
One caution - look at the size of the memory on the tags. I got 1k tags personally. The tags for $1 are 64 bytes.

For things like Hotspot configuration (Command, SSID, Encryption Type and Key are stored in the tag. For Example E:hotspot:AndroidAP:WPA:123456789 - I did a "default" setup and it came out to 38 bytes) this may not be enough when paired with other commands (especially application launches as the packages can have long names).

I'll make some changes for 64 byte tags to make it easier for them.

1.) Shorter adapter names (they will resolve internally, but the tag will be less descriptive when read by a person)

2.) Eliminate the need for hotspot config info (I'll set defaults to AndroidAP, WPA and 1234567890) so those don't *have* to be written if they are non default values. This will save considerable space. If they are changed to non defaults (e.g. Open, a new SSID or a new Key then they will write down).

Unfortunately I think we are stuck with package names for now.
[Nexus S Themes and Apps] instigator008:
Yes, I bought the 1k tags too. They're a $1.30 each. Its great that they allow you to order small numbers. I grabbed 5.

I have an idea for NFC I.D. tags, specifically for children and pets, that I'd like to see. You could trigger a phone call home just by swiping a pendant or bracelet. Uses are only limited by our imaginations.
[Nexus S Themes and Apps] krohnjw:
It seems that NFC is really under utilized in this respect. Hopefully as more phones come out with NFC technology it will become better utilized for things like this. Current uses seem limited to promoting your business or payment related only.
[Nexus S Themes and Apps] instigator008:
Hate to say it but I think it needs the iPhone/Apple to buy in! Then it would really take off.
[Nexus S Themes and Apps] krohnjw:
I do believe the next iPhone is supposed to have NFC. I don't keep up with any apple news though so I could be misremembering.

I did make some of the changes above.

- Shorten adapter names to save space

- Set sane defaults for hotspot and only write config into to tag when non default.

This saves 2 bytes for Wifi, 5 for hotspot (in adapter name only).

Smartly writing necessary values now has a default hotspot setup taking 8 bytes - AndroidAP as the SSID, WPA enabled, Key of 1234567890 - instead of 27+ bytes. I don't want to alienate users with 64 byte RFID tags, so I'll try to keep things trim moving forward.
[Nexus S Themes and Apps] Amon_RA:
Awesome app idea!

I'm ready for testing :

- bunch of tags : Check

- Nexus S : Check
[Nexus S Themes and Apps] instigator008:
Wonder what happens if the phone remains in constant contact with the tag? Battery drain?

I'd like to stick a tag in my car holder that turns on car home and gps etc. Could put another in my case that turns it off...worried about the effects.
[Nexus S Themes and Apps] krohnjw:
Good Deal. Once I get my tags and can confirm the read/write I want a few people to test it for me before it goes up on the market.
[Nexus S Themes and Apps] krohnjw:
I cleaned up the UI a bit - new SS in OP. Still waiting for my tags to arrive >.>
[Nexus S Themes and Apps] adi90:
If you can update an alpha version here we can already try and give you a feedback while you wait for your tags ?
[Nexus S Themes and Apps] krohnjw:
If someone wants to test things early I could put something up.

I will issue 2 warnings. The primary being that I have no real way to test the write code until I get tags, so if you are using a Mifare card and it's ndef formattable (or even if it is and the API doesn't do it correctly) then it might end up formatted and effectively broken. The second being that there's no support right now for non ndef formattable tags.

If you're interested in testing shoot me a pm with the gmail account it will be used under and I'll set it up and send an APK.

I'll be headed out of state for the next 4 days, hopefully I'll have tags when I come home (if not tomorrow before I leave).
[Nexus S Themes and Apps] fesar:
Hi,

Can we see if we can enable the security option also with it. I have ordered my set of Tags from Finland which are 1.30 Euro each at 1K capacity, I can also be part of your testing to make sure everything you do it works.

Regards,

Francis.
[Nexus S Themes and Apps] sikorski:
Beta Tester

Hi, this app sounds very interesting!! and I want to participate as a tester.

I live in Mexico and want to introduce the use of NFC tags, they are not very well known and not to much devices and knowledge but will be excellent to help with this app.

I have 2 Nexus S and some Mifare tags with different sizes for testing

Please consider me for the testing of the app

Thanks :D
[Nexus S Themes and Apps] fesar:
Recieved Tags

Got my tags. Just waiting for you to release the app for testing to go ahead with the testing.