3

enter image description here

I'm applying a WebView made for android and ios to Windows Phone 8.1.
But in the Windows Phone 8.1, a weird message dialog is launched everytime I navigate a page.
What html code cause this? I want the dialog not to launch.

Benjamin
  • 10,085
  • 19
  • 80
  • 130

2 Answers2

4

That dialog appears when you try to launch a URI scheme or file type for which there is no handler installed on the device. Either the web page is attempting to navigate to a URI with an unrecognized scheme (mycustomscheme:some_parameters) or it's trying to download a file with an unrecognized file extension (somefile.myfiletype).

Sean McKenna
  • 3,706
  • 19
  • 19
  • 1
    My scheme is `https://` and it is a `html` file. But in the `html`, there is a `jquery.min.map` file. I guess this causes the problem. I will figure it out more. Thanks. – Benjamin May 21 '14 at 05:19
  • 1
    figure it out? i'm having the same problem – Clinton Ward Sep 21 '14 at 03:13
0

I encountered a similar kind of problem a few days earlier. Actually windows phone useragent strings are like this :

Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 520) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537

You can see there is Android and IPhone too in this string so I was working on a angular app and it was recognizing the device as a Iphone device and sending protocol like this ez:scancode which was the reason why the problem was there in the first place.

Make sure your device is right and secondly the reason of the error is that you are sending a protocol other than http/https. You need to identify from where this protocol is raised.

Draken
  • 3,134
  • 13
  • 34
  • 54
Hassan Akbar
  • 53
  • 1
  • 8