NFC URL handling - NFC Hacking

Tonight, while trying to make any NFC "launcher" (NFC Task Launcher, NFC ReTAG and AnyTAG NFC Launcher) work with locked tags, I've discovered this:
Tags encoded with URLs are just not working. They trigger a URL opening (through whichever browser(s)) and nothing more. It's like the intent never reaches the "launcher", but it's captured somewhere on the way.
Is this normal? Does anybody knows of a way to change this behavior (maybe put the "launcher" before the browser, and let the intent reach the browser only if the "launcher" doesn't intercept it)?
Thanks!

daniel_loft said:
Tonight, while trying to make any NFC "launcher" (NFC Task Launcher, NFC ReTAG and AnyTAG NFC Launcher) work with locked tags, I've discovered this:
Tags encoded with URLs are just not working. They trigger a URL opening (through whichever browser(s)) and nothing more. It's like the intent never reaches the "launcher", but it's captured somewhere on the way.
Is this normal? Does anybody knows of a way to change this behavior (maybe put the "launcher" before the browser, and let the intent reach the browser only if the "launcher" doesn't intercept it)?
Thanks!
Click to expand...
Click to collapse
Android works by cascading from specific filters down to more generic filters. For picking up a locked/read-only tag on which you can't write application specific content you fall into two categories. Listen for the most generic broadcast (Techs) or NDEF messages with filters, wildcards for the parameters (mime */*) for example.
Android is going to dispatch that intent out to the most specific matching filter. If there exists more than one match at a specific level you'll see the chooser.
So, how to get around this?
You could do this by running the app first in the foreground and having it becom the sole receiver of all tags. This is inconvenient though if you want to use some sort of launcher.
Another take would be to try to use wildcard on the URI filter to grab these URLs. The issue here is that host doesn't appear to accept wildcards, just the path. So the app would need to register a filter for each URL scheme + host (http://example.com) that you want to receive.
What URL is on the tags?

I'd say the easiest solution is to just buy some readable/writable tags. if you just want the cheapest ones and don't care what they look like you can get really cheap plain white ones on ebay...

krohnjw, I have 5 tags reveived from NFC NetStore. One has http://www.nfcnetstore.com/ hardcoded (the one that I tried with). The other 4 have subpages of http://www.nfcnetstore.com/.

Related

[Q] What app would you like developed?

I'm a developer and I want to develop my first official market app. I've developed a couple of applications but just for personal use and experience. I have gathered a group of very talented developers and we are onto something big.
What would be an app that you would like to see developed? The app (or apps) with the most popular demand will get started on immediately.
We've been considering a couple of ideas. Anyone down for Airplay for android? tun tun tuuuuun..or maybe not. Maybe a crazy cross platform game?
We are open to suggestions.
Thanks
oblivior72 said:
I'm a developer and I want to develop my first official market app. I've developed a couple of applications but just for personal use and experience. I have gathered a group of very talented developers and we are onto something big.
What would be an app that you would like to see developed? The app (or apps) with the most popular demand will get started on immediately.
We've been considering a couple of ideas. Anyone down for Airplay for android? tun tun tuuuuun..or maybe not. Maybe a crazy cross platform game?
We are open to suggestions.
Thanks
Click to expand...
Click to collapse
This is an easy one
Develop and apk that fully integrates your Contacts with your Calendar. So if I want to schedule an appointment with John I just go to is contact record and select "make appointment". It then creates a link between John and the Calendar for that appointment. So if you are looking at the appointment you can easily call John, navigate to using address or add notes to his record.
Sent from my PC36100 using XDA App
Thats not a bad idea. I understand where you are coming from. It would actually come in handy. It would have to be an extension to the original android operating system. Unless I were to make an entire new contact app that would integrate these features easily.
Towards the end you say "..looking at the appointment you can easily..."
do you want to be able to just click his address from the calendar and open up navigator?
I'm too lazy to pick up the books and relearn what all I need to know, but, I've had this idea tossing around in my head for awhile.
Make an app to basically create a data set and determine your battery estimated maH, and if you need to recallibrate it. Once you have all that data, there are tons of things you can do with it as well, its just a matter of making the program light weight enough to run in the background so it doesn't re-do calculations and eat up juice.
Laurentius 26 Roms
bstok001
An actual tv remote
animal7296 said:
An actual tv remote
Click to expand...
Click to collapse
Considering most TVs use IR, and the evo lacks an IR port, there is quite a substantial hardware limitation.
How about a torrent app? Utorrent?
here you go look read this one >>>>>>>>>>>>>>>>>>>>>>>
you make this app AND ILL SCRATCH UR BUTT AND CALL U DADDY LOL
make a app that prints me real 100 dollar bills lol jk
oblivior72 said:
Thats not a bad idea. I understand where you are coming from. It would actually come in handy. It would have to be an extension to the original android operating system. Unless I were to make an entire new contact app that would integrate these features easily.
Towards the end you say "..looking at the appointment you can easily..."
do you want to be able to just click his address from the calendar and open up navigator?
Click to expand...
Click to collapse
The concept is so that you can create an appointment for a contact in your calendar that is linked between the contact and the calendar.
For instance, when I make an appointment with Joe, Joe's information such as his phone number and address are instantly accessible from the calendar. That way if I need navigation to Joe's address I can access it directly from the appointment without having to manually type it into the calendar program.
These links could also easily allow me to say "show me all appointments for Joe". Or if I am on way to Joe's and running late I can call or text Joe from the appointment record instead of having to look it up.
The idea is to automate and reduce duplication of effort. Never type the same information twice - link to it instead. There is an app called "Contact Event" that comes close to doing this the but it doesn't actually create a link, it just pastes contact data automatically into the calendar record when creating it. The difference would be the link which would make it a relational database concept as opposed to just cut and paste.
When creating a new contact your app should also generate a Primary Key that uniquely identifies that contact. Then when you make an appointment for that contact, you simply drop their Primary Key into the appointment record, link the two tables and you are done.
Sent from my PC36100 using XDA App
jhoffy22 said:
How about a torrent app? Utorrent?
Click to expand...
Click to collapse
There's already torrent apps. AndTorrent and Swarm.
Sent from my PC36100 using XDA App
animal7296 said:
An actual tv remote
Click to expand...
Click to collapse
Phajen is absolutely correct, the problem comes with the hardware limitation. It's almost ipossible unless the tv itself is on wifi
krazydude4g said:
here you go look read this one >>>>>>>>>>>>>>>>>>>>>>>
you make this app AND ILL SCRATCH UR BUTT AND CALL U DADDY LOL
make a app that prints me real 100 dollar bills lol jk
Click to expand...
Click to collapse
Trust me if I knew how to develop something like this I wouldnt be looking for ideas on forums.
What you CAN do is take one dollar bills remove the metallic ink they have on them if you put them to soak in sodium combined with carbon...ehhhh.....never mind.
mitchellvii said:
The concept is so that you can create an appointment for a contact in your calendar that is linked between the contact and the calendar.
For instance, when I make an appointment with Joe, Joe's information such as his phone number and address are instantly accessible from the calendar. That way if I need navigation to Joe's address I can access it directly from the appointment without having to manually type it into the calendar program.
These links could also easily allow me to say "show me all appointments for Joe". Or if I am on way to Joe's and running late I can call or text Joe from the appointment record instead of having to look it up.
The idea is to automate and reduce duplication of effort. Never type the same information twice - link to it instead. There is an app called "Contact Event" that comes close to doing this the but it doesn't actually create a link, it just pastes contact data automatically into the calendar record when creating it. The difference would be the link which would make it a relational database concept as opposed to just cut and paste.
When creating a new contact your app should also generate a Primary Key that uniquely identifies that contact. Then when you make an appointment for that contact, you simply drop their Primary Key into the appointment record, link the two tables and you are done.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Interesting...I'm gonna check Contact and Event and see what it's like, I would just have to beef it up a little bit. I will get back to you one this but I like the idea.
An app that lets you add on to the existing code to your liking.
Or a series of apps, a basic twitter client, a home launcher, a clock widget. Something easy we could build on *from the phone* without the use of Eclipse. If that's at all possible.
We now have Stericson's Signapktic app that allows us to sign zips, apks, and jar file from our phone so we're slowly getting closer to something like that.
Stericson's apps are pretty awesome.
How about and app that lets you dynamically re-arrange your homescreens without havin to drag icons around?
You can do this in the MIUI Rom but I hate the apple-like interface so I dont use that rom.
I know u woild get rich off the apl alone lol
Sent from my PC36100 using XDA App
in line call recording
please create an evo ap that will record calls without the speakerphone activated.

[Q] MP3 Tagging

Morning all
I'm getting a bit frustrated my the inability of the Samung music library to pick up and sort my mp3's into the correct albums
I have one album split into two albums, one with 6 tracks on, the other with 2 tracks on and then a number of individual songs with no artist name associated just a track number?
I've tried retagging them but can't really find a decent app for it... what do you guys use?
On my PC I use EasyTAG (Linux only I think) and MusicBrainz Picard (cross-platform). The latter has the ability to take a fingerprint of any music file, match it up against its online database, and download complete ID3 information. It's generally accurate and a huge time-saver.
I don't know of any retagging apps for Android, though.
try this...
if you're using windows, try this - it's free :
http://www.mp3tag.de/en/index.html
it's important to make sure that each file only has a single set of tags rather than multiple tags which confuse applications. mp3tag can do all sorts of things like set your tags based on the filename and delete old tags.
Cheers lads, I'll check em all out asap...
If I should only have one set of tags, should they be v1 or v2?
Sent from my GT-I9100 using XDA App
pretty sure i've gone for v2 and my files are identified correctly ...
make sure the album title is exactly the same as a tiny differences (e.g. caps) might result in your situation.
mp3tag is great in recognizing and editing tags and i think it changes them all so you dun have to worry about v1/v2=)
mrdo said:
if you're using windows, try this - it's free :
http://www.mp3tag.de/en/index.html
it's important to make sure that each file only has a single set of tags rather than multiple tags which confuse applications. mp3tag can do all sorts of things like set your tags based on the filename and delete old tags.
Click to expand...
Click to collapse
+1. The only tagging software you'll ever need. Customisable to the nth degree, never let me down after 4 years.
Any ideas if i should use ID3v1 or ID3v2.3? From a quick Google search Android 2.3.3 seems to have an issue with reading id3 tags and correctly sorting mp3 files.
stBlueJay said:
Any ideas if i should use ID3v1 or ID3v2.3? From a quick Google search Android 2.3.3 seems to have an issue with reading id3 tags and correctly sorting mp3 files.
Click to expand...
Click to collapse
v2.3
10 char
sckc23 said:
make sure the album title is exactly the same as a tiny differences (e.g. caps) might result in your situation.
mp3tag is great in recognizing and editing tags and i think it changes them all so you dun have to worry about v1/v2=)
Click to expand...
Click to collapse
I love this software Thanks man....
I tagged a load of alums with ID3v2.4 and they are being recognized.. happy days
I personally use mediamonkey myself I found it with my own creative zen so I could add album art to the Id3 tags i got a licence just offering another option
Sent from my GT-I9100 using XDA Premium App

Some Ideas for Google Now

Google is probably holding back with Google Now, not wanting to scare people away by releasing too many features too soon that show just how much it knows about us. Here are my ideas:
1. Send to Now – As you browse the web or read a book, you could highlight words or people’s names to Google Now so it loads up information about them for you to read through later.
2. Photos – when you take a photo of a landmark, Google Now could load a card with information about the landmark. I think Google Goggles already does this but now would be a better platform.
3. People – when you take or scan a photo of a person or their business card, Google Now could load up a card in the background with their LinkedIn or G+ profile.
4. Things – scan a barcode or object and Now loads up information (price, retailers etc) about it. Again, just like Goggles but better.
5. Rules – Google could let us write rules to trigger cards. For example, I could ask Now to pop up a card reminding me to take my groceries from the fridge in my office when I start my car (connect to my car’s Bluetooth) at work on a Friday evening. I already kind of do this with an app called Automate It by the way – it’s similar to Tasker.
6. Networking – Google Now could load profile cards of people nearby who have opted in to the networking feature.
7. Second Screen – Google Now when prompted could listen to what’s playing on your TV and offer more information about the programme. It could even offer links to purchase products advertised on TV or radio.
8. Related Articles – As you browse the web, Google Now could build up a list in the background of other articles related to those you have read and you could later review the list at your leisure - rating, reading and/or discarding the suggestions as you see fit.
9. Conversations - This one is a little scarier than the others and I’m not sure I would opt in to it myself, but Google Now could listen in on your phone and email conversations and provide related information – links to products you discussed or articles about concepts or news mentioned. As I say, I think I’d pass on this one.
10. Custom Cards – Google could let retailers or even websites build custom cards that are loaded when you check-in to their stores or visit their websites. These cards could include special offers and promotions, best-selling items etc. I imagine Google could even charge businesses for such a service if it were so inclined.
In all of this it would be important that they are opt in only – opt out wouldn’t be good enough. Also, Google Now should always remain non-intrusive but perhaps one should be allowed to set which cards should pop up as notifications, cause the phone to vibrate or simply load in the background. I might want a reminder to trigger a notification by the way but for others I may be happy to ignore or review at my convenience. By the way, I haven’t seen or used Google Now yet so if I’ve completely misunderstood how it works or could work, this is my excuse.
Oh and I apologise in advance if this is not the right forum – I couldn’t immediately find a better one and I see others have posted about Google Now here too, I guess since the G Nex is one of only two devices with it on at the moment.
What are your ideas for Google Now?
How about more integration with GAPPS? (I'm looking at you Calendar!)
anton2009 said:
How about more integration with GAPPS? (I'm looking at you Calendar!)
Click to expand...
Click to collapse
Isn't Calendar already integrated? I see reminders for my calendar entries in Now. Don't know about setting events via Now though, since it isn't completely functional in German / other languages than US english.
On topic, OP has some great ideas! Hope to see some of the less scary integrated
Really? I thought reminders were only within the alarm app... I will have to double check...
anton2009 said:
Really? I thought reminders were only within the alarm app... I will have to double check...
Click to expand...
Click to collapse
I see a reminder for this evening right now, it's definitely integrated
there was a interview with matias, and he confirmed that there is calendar feature, only reading from it.
there isn't any feature to create a calendar entry from NOW. but he emphasise that the API exist and all down to developers.
maybe hinting that its possible for 3rd party developer to write some custom card that can be installed?
I would love to be able to teach Google Now how to pronounce my name, placenames in my area etc. so that dictation works better.
Having said that, I find the accuracy of the dictation to be outstanding for most other things. I love GN!
There are so many possiblilities to this feature. I can't wait to see how it evolves over time. I actually use it quite a bit more than I thought I would. It makes a simple task so much easier, such as setting an alarm! Being able to set calendar appointments would be amazing though!
qwer23 said:
I see a reminder for this evening right now, it's definitely integrated
Click to expand...
Click to collapse
I think they're referring to that you can't use now to create a calendar event. If you want it to remind you of something, it can only set an alarm for you.
Music, it should tell you when an artist you like has a new single or album coming out, and if they are going to be playing a show withing X miles of your location. Or have just announced a tour etc.
Media, it should tell you when a new movie or video game is being released and give ratings for it and such.
I like idea number one, maybe adding in a dictionary for certain words, although that may be part of what your talking about.
That's one of the nice things I like about reading books on my Ipad. You can highlight a word in a book you're reading and, it will define the word.
WiredPirate said:
Music, it should tell you when an artist you like has a new single or album coming out, and if they are going to be playing a show withing X miles of your location. Or have just announced a tour etc.
Media, it should tell you when a new movie or video game is being released and give ratings for it and such.
Click to expand...
Click to collapse
Well for the concert notification, I stumbled upon an app called song kick. Which will scrap your Google music and pandora ( maybe something else too) and email you when an artist you liked or own content from is touring near you.
Sent from my Galaxy Nexus using Tapatalk 2
It should show a card every monday, wednesday, friday morning when I first unlock my device with the day's XKCD comic and the mousover text.
Keeping tabs on movie releasedates would be nice too. Google "The dark knight rises" and on the release day it shows up on a card with the theatre times for your cities movie theatres.
Connect with (Google) TV to give you a tvguide card when your watching tv.
Shows a card with directions to the nearest florists on your anniversary
BrianDigital said:
Well for the concert notification, I stumbled upon an app called song kick. Which will scrap your Google music and pandora ( maybe something else too) and email you when an artist you liked or own content from is touring near you.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I will check it out, thanks!
WORPspeed said:
Keeping tabs on movie releasedates would be nice too. Google "The dark knight rises" and on the release day it shows up on a card with the theatre times for your cities movie theatres.
Click to expand...
Click to collapse
Excellent idea. The more media related info the better imo.
One more feature I'd like to see is the ability to send a time or location based reminder to someone else. The person can then choose to accept the reminder or not. I suspect Apple will do this soon if they haven't already. The reminder could then appear in Google Now along with any notes the sender included.
Sent from my Galaxy Nexus using Tapatalk 2
Integration with Tripit.
Integrate with Tripit directly to send reminders of all the little tripit events you have, check-in, check-out, flights, etc.
I want there to be an actual notes app for which Google Now can create a note and save it.
Sent from my Galaxy Nexus using xda premium
A card to nearby news!

[Q] Check if logged in with facebook by a NFC tag

I'm just asking this question to get more information before I buy NFC tags. Is it possible with a NFC tag to open my app that is in development and check if the user is logged in with Facebook? If the user is logged in, then the app will write something to the database. If user isn't logged in then he should be prompted a facebook login screen.
Is this technically possible? If so what type of NFC tags are best suited. I assume, I won't be needing a nfc writer/reader, as my samsung galaxy s3 can do that?
If your app uses a library to check for Facebook login onCreate(), then this will suffice.
But your user must have your app installed to launch the app from the tag, or you could alternatively link them to your Play Store listing.
As for writing to the tags, all tags come blank. So you will need an ap on your GS3 to write the requied code to the tag.
Then you can test it, and if oyu set it up correctly it should launch your app/take the user to the play store.
Because NFC Tags have limited storage, it is better to have the Facebook authentication in your actual app.
Peace,
shandy1996

[Q] How to assign application to other?

I even don't know what keywords to use in search to find what I want.
I'll tell my question in descriptive way.
I have tourist application which shows me point to see.
When I click 'go to it' - I have choice. I can pick up Google maps or navigation.
Problem is that I have two navigations and would like to use the other but it is not on list.
Somehow application knew that I have navigation. Why didn't it pick up both?
Does user has any way to intervene and add extra choice?
This is real life example but this situation occurrs on other areas.
For example I want share a file, picture or something else.
One app allows me select AndSMB to send file, other doesn't have it on list however both use sharing feature and must be able to review phone to know what they have till hands..
It is general question but i preferred to stick to my phone model, just in case if it is significant..
Any ideas?
Choose the apps you mention, open in Settings -> Apps and click on Clear Defaults!
Not sent by me.
Yes but later you still can assign as default only one of suggested.
Question is - how to add one which doesn't appear on screen.

Categories

Resources