I would like to use my NFC phone to tap against an NFC reader. Basically the phone will act as an NFC tag and will pass the NDEF message to the NFC reader. The idea behind it is that I can build an APP that will specify the NDEC message I want to pass to the NFC Reader.
Example:
URI: https://stackoverflow.com/
I will have my app that has saved this URI. I will tap my phone against the NFC Reader and the reader will be able to read the NDEF message from my phone.
Anyone that knows about this and could give me some direction will be much appreciate it, thanks. This behavior supposed to work fine with NFC payments but I believe that with NFC payments, we need to have a secure NFC SIM card so we can be able to store in the secure element. I am using Nokia Lumia 620.
Add your app to wallet, and make people pay it from there. I think that this'll work, just do it like banks ;).
See this: http://code.msdn.microsoft.com/wpapps/Wallet-payment-instruments-85c2a7a0
Related
So I'm trying to deep link from an app into the Instagram BETA app on Windows Phone. And it's not going well.
First, does anyone know the URI for posting?
Second, when I use the URI "instagram://" it looks to be loading the app, and then bounces back to my app, so I think I'm on the right track. Any chance there is something in the Framework to discover the protocols? I'm sure that the phone has to collect this to deal with URIs with specific file types.
Thanks.
Sheme "instagram".
Information from 325 Windows Phone apps you can launch from your own app
I would like to launch an application using parameters provided from a push notification on Windows Phone 8.
The behaviour I wish to achieve is that as soon as the user receives the notification, the application will be launched with the parameters provided in the notification. I.e. seamlessly present the notification in a more user friendly way.
As far as I understood there are three push notification mechanisms. Toasts, Tiles and Raw.
None of them seems to be able to handle the wanted behaviour.
Toast: The message is shown even if the application hasn't been started. It does not start the application unless clicked on but seems to be closest to the target.
Tile: Message is shown if the application has been pinned. But they may be difficult to notice unless the tile is pinned fairly high on the start screen.
Raw: Works in more power states but requires the application to be running. This doesn't seem to be a match because I want the notification to be received when the application is not running. I couldn't find information about which application states where raw notifications are handled. I would prefer all.
Did I miss something in my research? If anyone has a hint of how to put an application in the foreground from a push notification (without user interaction) it would be greatly appreciated!
My first attempt was to trigger the application start using SMS but that seems to be a no go.
See my post Launch application automatically from an SMS on Windows Phone 8
You can not automatically launch an application on Windows Phone (and neither can you on iOS or Android). What you can do is provide a URI with the Push notification so the user is taken to a page with the needed information
you can not put an application in the foreground from background without user interaction.
Is it possible to create an NFC message that will create a calendar entry on the destination phone, without requiring my app to be installed on the destination phone?
For the moment, I've implemented it by using a custom protocol URI, but I'd like this to work even when the destination phone does not have my app installed. It would be even better if it could work on an Android destination.
You cannot do this on any phone if I am not mistaken. NFC messages at the end of the day are just bytes being transferred from one mobile device to another. If the destination device does not know how (and most of them do NOT have a build in handler for calendar event) to parse that message in order to open a native application what you are trying to do will not work.
Even if you get an NFC reader and read an NFC message design for that purpose and then recreate this in your application it will NOT be universal; meaning it will not work on any device, especially on different OS devices.
Again this is what I know so far. Don't take this for granted.
Have you tried to store a vcalendar item on a tag to see whether/how a phone reacts to this?
text/x-vcalendar or text/calendar
might be the right format to use for the NDEF record. See also this so question.
If this would not work, you might write an app that takes intents from such calendar data and sends it to the calendar app on the phone (however I don't know how that step would work).
My Windows Phone 8 app should react to NDEF-Text-encoded NFC tags, no matter if the user is currently in another app or on the homescreen. On Android, this works by having the app "subscribe" to certain tags (e.g., NDEF-Text, in my case), and the operating system will allow the user to choose from a list of apps if more than one app can process the scanned tag. Is there anything comparable for WP8? At the moment, I am using
ProximityDevice _device = ProximityDevice.GetDefault();
long _subscriptionIdNdef = _device.SubscribeForMessage("NDEF", MessageReceivedHandler);
in my MainPage-class, which works fine, but obviously only if the user has launched my app prior to scanning a tag.
Unfortunately, for the moment NDEF-Text tags can't be handled by third party apps on Windows Phone 8.
If you want the OS to launch your app, you will have to either use the NDEF-LaunchApp record type or register a custom URI scheme.
How to send sms within an iphone and android app using as3. I found this code while googling:
var callURL:String="sms:0-123-456-7890";
var targetURL:URLRequest = new URLRequest(callURL);
navigateToURL(targetURL);
Its working, but it is navigating the app to sms window controller. Can it be done without opening the sms controller window. Is there anything that opens a window within the app itself. Is there any air native extenson which perform this for android and iphone?
Yeah, using navigateToURL is going to pop you over to the phones default SMS app. To get around this you're going to need to use a native extension.
I know of one for Android:
https://github.com/mr-archano/Android-AIR-Extensions
If you have an Android phone you can check out a demo of this ANE inside of the AIRexplorer app. Select the SMS ANE version from the list (the app includes an extension as well as navigateToURL)
I don't know of one for iOS right now so you may have to do a little bit of digging
Oh Also, wanted to add a comment because I'm not really sure of your intent here.
If your goal is to send a sms without any user interaction that is not going to be possible. ANE or not
I very much doubt that either ios or android (maybe if you root your device?) would allow sending a SMS without the users explicit consent.