Native app using sd card

Naveen Banjara

New member
Aug 22, 2013
3
0
0
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>
i tried asking in windev forum but no one replied. can anyone help pls ?? trying to make an native video app.
 
Last edited:
hey guys i found the problem, i was supposed to move the whole extensions tag outside the tokens element.... srry to trouble you guys :(
 

Members online

Forum statistics

Threads
335,685
Messages
2,258,695
Members
428,745
Latest member
Nadiya343