I have a WP 8 app which is registered to open via a custom protocol (i.e. foo:// ) and this works when launched via Windows.System.Launcher.LaunchUriAsync.
However when Bing vision on WP 8 sees a QR code with foo://bar it doesn't launch my app and just displays "Message:foo:bar".
How can I get Bing Vision to launch my app when scanning the QR code?
I wasn't able to get the custom protocol to work with bing vision but http:// and a custom file exstention did work.
I created a url http://example.com/foo.bar which I encoded in a QR.
Bing vision passes this to IE which then asks if it should open the .bar file in my app.
This solution isn't as clean but it works.
Windows Phone file associations are documented here http://msdn.microsoft.com/en-us/library/windows/apps/jj206987(v=vs.105).aspx
Related
I have an app made in xamarin (for Android, iOS and Windows Phone) which requires deep linking which should open and internal page on receiving an url.
This url will be sent by sms to the user with http protocol. I tried the solutions provided by OneLink and Branch Metrics and they work with Android and iOS. The only problem is with Windows phone (8.1).
Both of them are not able to detect if windows phone is installed and if yes open the app and not take to the store.
Is there any solution to this (maybe third party solution).
NOTE: i have tried directly clicking myapp://open and it works on windows phone but what i need is using http and not my app as the above custom protocols are non clickable within Sms's.
Yes, deep linking is possible on Windows Phone. Shortcut Media offers a third-party solution for this (disclaimer: I work for Shortcut Media).
Have a look at this answer to see how to implement it manually...
I have a device with a hard-coded NFC tag that opens an Android app based on an Android Application Record (AAR). Basically it calls an Android app to open with type android.com:pkg and payload com.something.Something.
I have researched on how to launch my Windows Phone app with that existing tag, but in the end I have only found that Windows Phone can launch an app if the NFC tag is adequately programmed to open the Windows Phone app ID or the custom protocol registered in my app. But it is very important that I use the existing NFC tag which opens the Android app ID.
What is curious is that my Windows 10 Mobile detects this existing NFC tag to want to open the app when I touch it with my phone and prompts me if I want to launch an app? But the app with that ID isn't installed so I did a research on how to put this app ID on my Windows Phone app but in the end I only got deployment errors.
Android Application Records (AAR) cannot be used to launch Windows apps. Windows uses a different system to launch apps (Launch Record). The main probem is that Windows uses a different scheme to identify apps (not a Java package name as Android does). Moreover, Windows apps cannot be set to be automatically launched based on the data contained in an AAR, hence, it's not possible to build some custom filter that starts your Windows app based on that AAR.
The workaround that's currently known seems to be what's discussed in Cross platform launch records with extra data on Windows Phone and Android. Though this requires modification of the data structures on the tag side.
I want to integrate google custom search in windows phone app for image searching
I create the project on https://console.developers.google.com/
When i went to API & Authentication section of project description to create Api key,A popup is giving only four option server key,browser key,android key and ios key.There is no option to create api key for windows phone app.
Is it not possible to integrate google custom search in windows phone app.
Feel free to opt for iOS key, it does not matter. I did so previously while working with Google Tasks API and all is fine...
I created a browser key for my applications and also added URL wildcards for sites I would like the CSE to search such as
*.com; *.org; *.net etc.
Hope that helps!
I am working on a windows phone 8.1 app using WinJS.
I need to scan a QR Code and I am thinking of launching Bing Vision lens from my app. I checked the url association is not available for camera.
Alternatively, I used File Open picker, so that I can use the camera button to launch camera, but this launch of camera doesn't provide options to switch lens.
Please help me on this..
Just found this question, even if its an older one, here is a working solution of mine.
As I understand correctly you want to implentent QR code scanning capability without coding an own QR code scanner.
I have developed a free app for this purpose. QR Scanner RS
But first you must be familiar with using URI association. Documentation can be found here:
https://msdn.microsoft.com/en-us/library/windows/apps/hh452691.aspx
Check also this sample:
https://code.msdn.microsoft.com/windowsapps/Association-Launching-535d2cec/
You can launch QR Scanner RS using following URI scheme: "xyz-vida-rs:FREEvRSGBU="
C# example, (use WinJS equivalent):
await Windows.System.Launcher.LaunchUriAsync(new System.Uri("xyz-vida-rs:FREEvRSGBU=[URI of your App]"));
You need an own registered URI scheme for your app. Just replace [URI of your App] with your URI scheme.
Whats happening is pretty cool and simple.
You're launching QR Scanner RS from within your app. As soon as QR Scanner RS detects some QR code, barcode, ... and read it succesfully, it launches back your app (using your URI scheme) and transfers the QR code content to your app. You then just need to handle the result.
Hope this helps ;-)
One important note: QR Scanner RS will stay 100% free for this purpose!
You can send me your cantact data (eMail) using in app URI scheme request if you want to. I then can notify you about URI scheme extensions.
I added a uri association to my WMAppManifest.xml file in my Windows Phone 8 project and I'm able to successfully launch my app from within another app using LaunchUriAsync. I've also registered the same protocol in my Windows 8 project.
// windows phone 8 uri map
<Extensions>
<Protocol Name="myprotocol" NavUriFragment="encodedLaunchUri=%s" TaskID="_default" />
</Extensions>
On Windows 8, I am able to launch the app with by a simple hyperlink using my given protocol "myprotocol:".
On Windows Phone 8, I tried typing the protocol in the browser location bar, but I get an IE error saying this type of address is not supported. This makes me concerned I won't be able to launch my app from a web page simply by using my app specific protocol in the hyperlink.
Does anybody have any experience with this? Am I just paranoid?
fyi: here's the info on URI Associations in WP8
sometimes the simple answer is often overlooked.
Yes, everything is in place to function correctly. It appears to only be a restriction with IE Mobile.
I set up a web page on my server with a link click me and was able to successfully launch my app view IE Mobile on the emulator.