Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2007

    Auto launch with custom URI

    I want to auto launch application with custom URI; tag has URI myprotocol:MainPage?type=1&uid=123456789.
    In WMAppManifest I have:

    <Protocol Name="myprotocol" NavUriFragment="encodedLaunchUri=%s" TaskID="_default" />

    When I tap a tag, it says "this will open an app associated with myprotocol ", but then nothing happened.

    I installed application from Visual Studio, could it be reason why this protocol is not registered for my application.
    Or I missed something else?

  2. #2
    Registered User
    Join Date
    Sep 2013

    Re: Auto launch with custom URI

    Hey Alex, did You solve it? I'm on my way to implement the same thing for my app so Your experience might come in handy!

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013

    Re: Auto launch with custom URI

    You might want to look into the samples and accompanying video material on the topic here: http://blogs.windows.com/windows_pho...s-phone-8.aspx

    The NFC sample should be a good starting point (a lot more connectivity related stuff is covered there).

  4. #4
    Regular Contributor
    Join Date
    Aug 2012
    Rhine Valley

    Re: Auto launch with custom URI

    In my opinion you should first implement the URI associations and then step to NFC.

    There are some articles on URI associations on the wiki, as e.g. URI associations for Windows Phone. Did you implement the UriMapper?

    On MSDN there is the URI Association Sample that can be used to launch arbitrary URIs.

    Last edited by influencer; 2013-09-15 at 08:16.

  5. #5
    Registered User
    Join Date
    Jan 2009
    Melbourne, Australia

    Re: Auto launch with custom URI

    Agree with Thomas (Influencer). If you can verify your URI association works, then at least you know that the problem is something to do with NDEF end of things. It might simply be that your app is failing before it is visibly launched.

    There are a bunch of other topics in wiki about URI associations and launching from bluetooth/NFC:
    and more .... - check out Category:NFC_on_Windows_Phone

Similar Threads

  1. Auto Launch NFC Application and get UID
    By sergiofil in forum Near Field Communication
    Replies: 3
    Last Post: 2010-05-27, 06:52
  2. Question about Auto launch
    By zhangwei_Nirvana in forum Symbian
    Replies: 1
    Last Post: 2007-11-23, 04:14
  3. Distinguish Between Auto-Launch and Ordinary Launch
    By zhs_bravo in forum Near Field Communication
    Replies: 3
    Last Post: 2007-09-12, 13:29
  4. Auto-launch problem
    By pujanzi in forum Near Field Communication
    Replies: 0
    Last Post: 2007-07-05, 16:18
  5. auto launch application
    By molto_b in forum Symbian
    Replies: 1
    Last Post: 2002-08-01, 07:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts