Smarttags, nfc and Tasker - Sony Xperia P, U, Sola, Go

The built in smart tags app is great, but its lacking a lot of the more powerful features of Tasker (which is already used by many), however tasker doesn't include support for nfc tags (yet?).
So I put together a little app which allows you to combine the two, smarttags app allows you to open a url when it senses a tag so this app allows you to use urls in the format tasker://<taskname> to call your tasker tasks (where <taskname> is the name of your task defined in the tasker settings).
This also allows you to use writeable tags written with the tasker:// url to launch tasker actions directly.
If anyone wants to try it out its available here-
https://play.google.com/store/apps/details?id=com.aledthomas.taskerurllauncher
note: task names are CASE SENSITIVE, and (obviously) you must have tasker installed before installing this app or it wont work
Hopefully tasker will have nfc support someday but until then this works.

What a great idea
There's also an app called nfc retag which can call tasker tasks, the app works worth read only tags as well ( basically it just remembers the unique id of the tag react on that).
Now the downside of nfc retag is that the sony app associates itself with the smart tags and therefore launches a dialogue box and asks which app to use... With your app one could simply just use the build in app when using rewritable tags
//M
Sent from my LT26i using xda premium

Thanks - this was really useful

Related

how to edit NFC tags

how to change settings for tags?
when I choose tags in application it shows "no scaned tags"... but they work...
If you go to your apps, there is an icon that says 'liveware'. In the app you can choose smarttags and edit them.
If you use the smart tags, DL from market the xperia smart tags App. When it's Ok creat a widget for smarts tags xperia and tap on it. Now you set option for each tags.
Tell if it's that you wan't because i just have App, no smart tags in my package
Alternatively, look into NFC Task Launcher or NFC Tag Writer which work with NFC tags not through the smarttags method.
I find SmartTags pretty restrictive but coming from a Nexus S I am really used to using tags for much more automation (check-ins with Foursquare, tasker tasks, sending messages, running remote server commands etc)
plain or restricted NFC API ?
hi 3shirts,
I think you answer indirectly to the question I have yet I need some confirmation.
actually, I'm wondering if this phone has "full" NFC support or if Sony will only allow "NFC restrited" apps like max 4 smartags /per Xperia as up to now?
I need to replace my GalaxyS and I'm hesitating between Galaxy Nexus and Xperia S mainly for this NFC feature.
I plan to develop NFC apps and don't want to be restricted by such "marketing" feature.
can you confirm we can use the plain android NFC API on Xperia S and "talk' to more than 4 SmartTags, and on differents NDEF and not NDEF ones?
all the best
Rico
ze_rico said:
hi 3shirts,
I think you answer indirectly to the question I have yet I need some confirmation.
actually, I'm wondering if this phone has "full" NFC support or if Sony will only allow "NFC restrited" apps like max 4 smartags /per Xperia as up to now?
I need to replace my GalaxyS and I'm hesitating between Galaxy Nexus and Xperia S mainly for this NFC feature.
I plan to develop NFC apps and don't want to be restricted by such "marketing" feature.
can you confirm we can use the plain android NFC API on Xperia S and "talk' to more than 4 SmartTags, and on differents NDEF and not NDEF ones?
all the best
Rico
Click to expand...
Click to collapse
I use the Tag Writer app instead of the smarttag app.
As long as you disable or remove the smart tag app, you have full functionality of your smart tags. I even tested it by trying to write the sony tags, which worked (apparently they arent write protected but they aren't very large, so you can't write much ), but of course you lose the "functionality"(I use that lightly, since the smart tag app is...limited).
So you shouldn't have any problems at all, if you just avoid using the smart-tag app
Edit:
Actually, the creator of the NFC app owns both phones, and can compare the difference in functionality (which I don't think there is) you might want to send him a PM, krohnjw is his name on the forums
thanks a lot shmoejoe !
meanwhile I've found part answers by googleling on NFC ans Xperia keywords;
interesting thinhs on sonymobile dev world NFC page : developer(dot)sonymobile(dot)com/wp/2012/01/10/nfc-support-in-new-xperia-devices
I'll contact krohnjw check it whit him/her
besides, I'm not surprised to see that samrttags ae writable, because (if my understanding is correct) htis is the purpose for the smarttags to write down simplified URIs into them to launch actions (right? )
or is it only the aim of the smart tag app to match the tag Id and associate& store actions ?
cheers
Rico
Hmm, I will check out that link I think
I am rather new to this NFC world so I'm still trying to figure it all out as well (you lost me at the NDEF question). Once I figure it all out though, I believe I will start living off of it .
I currently only use it to mainly change my settings around and to launch a few apps, but I read that in some pleaces NFC is being used to pay for things and such (with Google Wallet?)? Now something like that really interests me .
I tried the Smart tag App, but it's really restricted (no air plane mode action for exemple).
So i bought NFC Task mananger, awsome app, lots of choices and actions.
1.4 euros for the app and 13 euros for 10 tags. Less than the 4 officials smart tags =)
thanks both for your inputs,
Shmojeo, you read right about other NFC features,
currently there're 3 ways to use NFC : reader mode(the one we're discussing about here), P2P (beaming between 2 NFCphones) and card emulation.
the later is for payement, loyalty/coupons etc, and maybe everything we can imagine to get access to the tags stored data.
yet Google doesn't give access to what they call the "secure elements" which is somewhat equivalent to accessing sim card or banking card data.
it's probably because they want to promote the google wallet ;-)
I've read somewhere (may be here on xda) that patches are coming to get around this.
cheers
rico
Incidentally. You don't even lose the functionality of SmartTags because you can write the URI that they use back to them (or any tag for that matter) and get the functionality back.
See this thread:
http://forum.xda-developers.com/showthread.php?t=1544570
I know that
I meant more that you can't use the smart-tag app functions when you rewrite it, which isn't a loss because the NFC writing app does more and works better, you just can't use the sony app for it .
More smat tags in Xperia S
ze_rico said:
hi 3shirts,
I think you answer indirectly to the question I have yet I need some confirmation.
actually, I'm wondering if this phone has "full" NFC support or if Sony will only allow "NFC restrited" apps like max 4 smartags /per Xperia as up to now?
I need to replace my GalaxyS and I'm hesitating between Galaxy Nexus and Xperia S mainly for this NFC feature.
I plan to develop NFC apps and don't want to be restricted by such "marketing" feature.
can you confirm we can use the plain android NFC API on Xperia S and "talk' to more than 4 SmartTags, and on differents NDEF and not NDEF ones?
all the best
Rico
Click to expand...
Click to collapse
I have write 5 SmartTag in my Xperia S (two time favorite) i have try to get more but seems no way, i believe is the Sony application limitation
ze_rico said:
htis is the purpose for the smarttags to write down simplified URIs into them to launch actions (right? )
or is it only the aim of the smart tag app to match the tag Id and associate& store actions ?
cheers
Rico
Click to expand...
Click to collapse
it's only launch liveware, we have instal it in a Nexus S and work exactly like in my Xperia S
PS you need the both app: Liveware & Smarttag and of course NFC enabled mobile

[Q] Can you run macros? With NFC?

Hi,
Is it possible to run macros that would launch a specific application and then perform an action, or actions, in that application?
Then ultimately I would like to be able to launch the macros with NFC tags.
Thanks.
I assume so. Though for specific things like you speak of, NFC task launcher found in the market, which programs the tags automatically, won't be useful to you. You'd have to program them yourself I'd say. I would check out the NFC hacking subforum here under the general section. They have tons of info.
Sent from my EVO using XDA
Okay, thanks. I'll repost my question over there since I don't see anything about it.

[Q] Launching Tasker task or App by NFC UID ( NOT writable tags)

Hello,
I would like to use a couple of my existing NFCable cards to launch some tasks.
I know about popular NFC Task Launcher app, however as far as I can see, it needs to write the task into the tag.
What I would like is to launch an e-banking app when I touch my phone with my payWave VISA, or check the validity of public transport tickets online when I touch the Mifare card. Obviously, I'd rather not write something on these cards.
How can I do this? Apparently the cards have a unique ID stored on them, so it should be possible.

[Q/REQ][$] App/pc software for managing orders/delivery

Hi, to skip right to it.
I need/would love to have:
ANDROID APP 1;
- Possibility to place order
- Possibility for in app payment upon accepted order
-Possibility GPS track order with eta
- And to leave public comment when order is complete
Android APP 2( or implemented in app1 with different login;
-Possibility to view and accept "transport"
- GPS tracking
- Possibility to recive payment after "transport is complete and verified by "app 1"
Pc software or app 3( or implemented in app);
-Recive order from app 1
-Request transport from app 2 users
- Recive/confirm payment from app 1
-Track app 2 users realtime with possibility to activate microphone in app 2 user device
- Inn app/pc software payment of app 2 user
- Log activity for all software.
I think I covered my needs there, I don't know I there is a solution out there wich fulfills my wishes(?) in case not, Would Anyone develop above mentioned software? And for what PRICE?
Sent from my GT-N7000 using xda premium
I saw another app request directed this way when I used the Search button, so hope I did not mess up someone's "place"
Sent from my GT-N7000 using xda premium

[Q] Recommendation for a book about NFC HCE with SE

Hi,
i was wondering if anyone could recommend a book regarding NFC HCE development with SIM based SE. I have gathered some background through online research. However it would be nice to have a single point of reference to some fundamentals.
What i am trying to do.
Well basically where i live there is a NFC Payment App that uses SIM based SE. However the developers of this app claims that the software doesn't work on Samsung Galaxy Note 4. Being a software engineer i find it very difficult to accept this claim that Galaxy Note 4 NFC has some fundamental flow.
I have look around their APP with APK tool. I noticed the AndroidManifest is missing some basic artifacts that should be part of a Payment App. Such as AID for the specific Payment Network. It also relies on a library called org.simalliance.openmobileapi for NFC and i feel this part of the code may also be broken.
for example the APP uses permission org.simalliance.openmobileapi.SMARTCARD (and i have seen all NFC related permissions are packaged in this library under this permission)
The Physical card that is being emulated is Mifare Desfire EV1. I already have the required SIM card with SE from the Mobile Provider.
So basically my idea is to follow some guidelines pointed at android dev /guide/topics/connectivity/nfc/hce.htmlnd try to mimic the functionality from the original APP without using the library they had used.
I have already collected a list APDUs from the original APP that i may need to authorize the payment once the Reader and SE has done their authentication.
My only intent is to have the reader successful communicate with a Authentic SE SIM. (and no monkey business)
So if anyone can recommend me a book that might give bit more background on the matter would be great.
Best Regards
Dev

Categories

Resources