If you are following me, you might have noticed that uri schemes actually are playing a big role in my Windows Phone apps. (read more)
NFC Toolkit, one of my main projects, offers now also the possibility to interact with your apps.
One of the unique features of NFC Toolkit is profiles. Profiles are designed to open up to 5 settings pages in a row (as directly setting them is not possible because of OS restrictions). At the end of a profile, an extra from within the app or another app can be launched.
In Phase I, NFC Toolkit enables other developers to add their custom uri association/scheme to the list of launchable apps in profiles.
Here is how the uri needs to be formatted to work:
I will add more uri associations with the next updates and update this post with them.
Starting with version 0.9.8.1 of NFC Toolkit, I added new uri schemes to enable you to write data on NFC tags. Here is the list of possible writing records:
- website record:
"nfctoolkit:writetag?type=smartposter&url=<url>&title=<title of the website>&languagecode=<two letter lang code (standard: en)>"
- text record:
"nfctoolkit:writetag?type=text&content=<your text here>&languagecode=<two letter lang code (standard: en)>"
- send mail record:
- settings page:
//supported pages: flight mode, cellular, WiFi, Bluetooth, location, lock screen "nfctoolkit:writetag?type=settings&page=<settings page name as listed above>"
- launch system app:
//supported pages: //"Alarm", "background tasks", "brightness settings", "Bing Vision", "Calculator", "Calendar", "call history", //"Camera", "Data Sense", "date + time settings", "ease of access", "find my phone", "Games", "Help+Tips", //"Internet Explorer", "internet sharing", "keyboard settings", "kid's corner settings", "language + region settings", //"Maps", "Messaging", "Music+Videos", "Office", "OneNote", "People", "Phone", "phone information", "Photos", //"Rooms", "SIM Applications", "Start", "Store", "theme settings", "Wallet" "nfctoolkit:writetag?type=sysapp&name=<system app name as listed above>"
- launch any app by name or publisher name:
//launches the store page search in NFC Toolkit and searches for the app/publisher "nfctoolkit:writetag?type=launchapp&appname=<app name or publisher name>"
On top of that, I added an uri scheme that allows a plain launch of NFC Toolkit:
I updated my custom uri scheme test app as well for you. Download it here: CustomUriSchemeTestApp
Happy coding everyone!