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:
    [CODE]
    <Tokens>
    <Extensions>
    <FileTypeAssociation TaskID="_default" Name="GPX" NavUriFragment="fileToken=%s">
    <Logos>
    <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>
    </Logos>
    <SupportedFileTypes>
    <FileType ContentType="application/gpx">.gpx</FileType>
    </SupportedFileTypes>
    </FileTypeAssociation>

    </Extensions>
    <PrimaryToken TokenID="WPMediaPlayerToken" TaskName="_default">
    <TemplateFlip>
    <SmallImageURI IsRelative="true" IsResource="false">Assets\Tiles\FlipCycleTileSmall.png</SmallImageURI>
    <Count>0</Count>
    <BackgroundImageURI IsRelative="true" IsResource="false">Assets\Tiles\FlipCycleTileMedium.png</BackgroundImageURI>
    <Title>WPMediaPlayer</Title>
    <BackContent></BackContent>
    <BackBackgroundImageURI></BackBackgroundImageURI>
    <BackTitle></BackTitle>
    <DeviceLockImageURI></DeviceLockImageURI>
    <HasLarge></HasLarge>
    </TemplateFlip>
    </PrimaryToken>
    </Tokens>
    [/CODE]
    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 11:25 AM.
    DBDev likes this.
    11-18-2013 07:10 AM
  2. DBDev's Avatar
    [CODE]Can you please use the code tag?[/CODE]
    Naveen Banjara likes this.
    11-18-2013 09: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 11:16 AM
  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 11:36 AM
  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-20-2013 11:02 PM
  6. Catholic Tech Geek's Avatar
    no worries..it's all good
    Naveen Banjara likes this.
    11-21-2013 01:24 PM

Similar Threads

  1. Known apps with deep link protocols
    By ryanv12 in forum Developers Corner
    Replies: 1
    Last Post: 11-18-2013, 11:47 AM
  2. Replies: 2
    Last Post: 11-18-2013, 01:20 AM
  3. Replies: 1
    Last Post: 11-17-2013, 11:12 PM
  4. Phone not recognized by Windows Phone app
    By marcomura in forum Windows Phone 8
    Replies: 10
    Last Post: 11-17-2013, 09:44 PM
  5. Replies: 3
    Last Post: 11-17-2013, 07:19 PM
LINK TO POST COPIED TO CLIPBOARD