Surface Pro 7 deal! Save big at Amazon right now

  1. Naveen Banjara's Avatar
    can we use sd card in native app ?? i've tried registering the extensions but it shows an error

    "The element 'Tokens' has invalid child element 'Extensions'. List of possible elements expected: 'PrimaryToken'."

    here is the code:
    <FileTypeAssociation TaskID="_default" Name="GPX" NavUriFragment="fileToken=%s">
    <Logo Size="small" IsRelative="true">Assets/Route_Mapper_Logo33x33.png</Logo>
    <Logo Size="medium" IsRelative="true">Assets/Route_Mapper_Logo69x69.png</Logo>
    <Logo Size="large" IsRelative="true">Assets/Route_Mapper_Logo176x176.png</Logo>
    <FileType ContentType="application/gpx">.gpx</FileType>

    <PrimaryToken TokenID="WPMediaPlayerToken" TaskName="_default">
    <SmallImageURI IsRelative="true" IsResource="false">Assets\Tiles\FlipCycleTileSmall.png</SmallImageURI>
    <BackgroundImageURI IsRelative="true" IsResource="false">Assets\Tiles\FlipCycleTileMedium.png</BackgroundImageURI>
    i tried asking in windev forum but no one replied. can anyone help pls ?? trying to make an native video app.
    Last edited by Naveen Banjara; 11-18-2013 at 12:25 PM.
    DBDev likes this.
    11-18-2013 08:10 AM
  2. DBDev's Avatar
    [CODE]Can you please use the code tag?[/CODE]
    Naveen Banjara likes this.
    11-18-2013 10:36 AM
  3. Catholic Tech Geek's Avatar
    My guess is to move the whole extensions tag inside the PrimaryToken tag, but before the TemplateFlip tag.
    Naveen Banjara likes this.
    11-18-2013 12:16 PM
  4. Naveen Banjara's Avatar
    Thx,but i tried that too but it doesn't work here's a screenshot of the error
    Attachment 49938
    i guess native apps doesn't support sd card
    11-18-2013 12:36 PM
  5. Naveen Banjara's Avatar
    hey guys i found the problem, i was supposed to move the whole extensions tag outside the tokens element.... srry to trouble you guys :(
    11-21-2013 12:02 AM
  6. Catholic Tech Geek's Avatar
    no's all good
    Naveen Banjara likes this.
    11-21-2013 02:24 PM

Similar Threads

  1. Known apps with deep link protocols
    By ryanv12 in forum Developers Corner
    Replies: 1
    Last Post: 11-18-2013, 12:47 PM
  2. Replies: 2
    Last Post: 11-18-2013, 02:20 AM
  3. Replies: 1
    Last Post: 11-18-2013, 12:12 AM
  4. Phone not recognized by Windows Phone app
    By marcomura in forum Other Operating Systems
    Replies: 10
    Last Post: 11-17-2013, 10:44 PM
  5. Replies: 3
    Last Post: 11-17-2013, 08:19 PM