- Jun 19, 2014
- 282
- 0
- 0
Hi,
I'm trying to restrict download of my game only those devices with more than 512 MB RAM. However, the changes I've made to the WMAppManifest.xml doesn't seem to be doing this. Can someone help me debug it? All I've done is take the standard manifest file and manually added the lines for restricting access by memory, as per the Microsoft documentation:
<?xml version="1.0" encoding="utf-8"?>
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment" AppPlatformVersion="8.0">
<DefaultLanguage xmlns="" code="en-US" />
<App xmlns="" ProductID="{2774CFC4-2A15-4FEC-B434-852D1AAC2D44}" Title="Gun Frenzy" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="Wave Light Games" Description="A Wave Light Games Production." Publisher="Wave Light Games" PublisherID="{36e0404a-2921-4b73-8632-3bf364496337}">
<IconPath IsRelative="true" IsResource="false">PhoneIconNew300.png</IconPath>
<Capabilities>
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
<Capability Name="ID_CAP_MEDIALIB_AUDIO" />
<Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_IDENTITY_USER" />
<Capability Name="ID_CAP_PHONEDIALER" />
<Capability Name="ID_CAP_MEDIALIB_PHOTO" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
</Capabilities>
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>
<Tokens>
<PrimaryToken TokenID="GunFrenzyToken" TaskName="_default">
<TemplateFlip>
<SmallImageURI IsRelative="true" IsResource="false">PhoneIconNew300.png</SmallImageURI>
<Count>0</Count>
<BackgroundImageURI IsRelative="true" IsResource="false">PhoneIconNew300.png</BackgroundImageURI>
<Title>Gun Frenzy</Title>
<BackContent></BackContent>
<BackBackgroundImageURI></BackBackgroundImageURI>
<BackTitle></BackTitle>
<LargeBackgroundImageURI IsRelative="true" IsResource="false">Store Wide Logo 2.png</LargeBackgroundImageURI>
<LargeBackContent />
<LargeBackBackgroundImageURI IsRelative="true" IsResource="false"></LargeBackBackgroundImageURI>
<DeviceLockImageURI></DeviceLockImageURI>
<HasLarge>True</HasLarge>
</TemplateFlip>
</PrimaryToken>
</Tokens>
<ActivatableClasses>
<InProcessServer>
<Path>BridgeInterface.winmd</Path>
<ActivatableClass ActivatableClassId="UnityEngineDelegates.IBridge" ThreadingModel="both" />
</InProcessServer>
<InProcessServer>
<Path>WinRTBridge.dll</Path>
<ActivatableClass ActivatableClassId="WinRTBridge.WinRTBridge" ThreadingModel="both" />
</InProcessServer>
<InProcessServer>
<Path>UnityEngineProxy.dll</Path>
<ActivatableClass ActivatableClassId="UnityEngineProxy.InternalCalls" ThreadingModel="both" />
</InProcessServer>
<InProcessServer>
<Path>UnityPlayer.dll</Path>
<ActivatableClass ActivatableClassId="UnityPlayer.UnityApp" ThreadingModel="both" />
</InProcessServer>
</ActivatableClasses>
<ScreenResolutions>
<ScreenResolution Name="ID_RESOLUTION_WVGA" />
<ScreenResolution Name="ID_RESOLUTION_WXGA" />
<ScreenResolution Name="ID_RESOLUTION_HD720P" />
</ScreenResolutions>
<Requirements>
<Requirement Name="ID_REQ_MEMORY_300" />
</Requirements>
<FunctionalCapabilities>
<FunctionalCapability Name="ID_FUNCCAP_EXTEND_MEM" />
</FunctionalCapabilities>
</App>
</Deployment>
<!-- WPSDK Version 8.0.9900 -->
I'm trying to restrict download of my game only those devices with more than 512 MB RAM. However, the changes I've made to the WMAppManifest.xml doesn't seem to be doing this. Can someone help me debug it? All I've done is take the standard manifest file and manually added the lines for restricting access by memory, as per the Microsoft documentation:
<?xml version="1.0" encoding="utf-8"?>
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment" AppPlatformVersion="8.0">
<DefaultLanguage xmlns="" code="en-US" />
<App xmlns="" ProductID="{2774CFC4-2A15-4FEC-B434-852D1AAC2D44}" Title="Gun Frenzy" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="Wave Light Games" Description="A Wave Light Games Production." Publisher="Wave Light Games" PublisherID="{36e0404a-2921-4b73-8632-3bf364496337}">
<IconPath IsRelative="true" IsResource="false">PhoneIconNew300.png</IconPath>
<Capabilities>
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
<Capability Name="ID_CAP_MEDIALIB_AUDIO" />
<Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_IDENTITY_USER" />
<Capability Name="ID_CAP_PHONEDIALER" />
<Capability Name="ID_CAP_MEDIALIB_PHOTO" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
</Capabilities>
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>
<Tokens>
<PrimaryToken TokenID="GunFrenzyToken" TaskName="_default">
<TemplateFlip>
<SmallImageURI IsRelative="true" IsResource="false">PhoneIconNew300.png</SmallImageURI>
<Count>0</Count>
<BackgroundImageURI IsRelative="true" IsResource="false">PhoneIconNew300.png</BackgroundImageURI>
<Title>Gun Frenzy</Title>
<BackContent></BackContent>
<BackBackgroundImageURI></BackBackgroundImageURI>
<BackTitle></BackTitle>
<LargeBackgroundImageURI IsRelative="true" IsResource="false">Store Wide Logo 2.png</LargeBackgroundImageURI>
<LargeBackContent />
<LargeBackBackgroundImageURI IsRelative="true" IsResource="false"></LargeBackBackgroundImageURI>
<DeviceLockImageURI></DeviceLockImageURI>
<HasLarge>True</HasLarge>
</TemplateFlip>
</PrimaryToken>
</Tokens>
<ActivatableClasses>
<InProcessServer>
<Path>BridgeInterface.winmd</Path>
<ActivatableClass ActivatableClassId="UnityEngineDelegates.IBridge" ThreadingModel="both" />
</InProcessServer>
<InProcessServer>
<Path>WinRTBridge.dll</Path>
<ActivatableClass ActivatableClassId="WinRTBridge.WinRTBridge" ThreadingModel="both" />
</InProcessServer>
<InProcessServer>
<Path>UnityEngineProxy.dll</Path>
<ActivatableClass ActivatableClassId="UnityEngineProxy.InternalCalls" ThreadingModel="both" />
</InProcessServer>
<InProcessServer>
<Path>UnityPlayer.dll</Path>
<ActivatableClass ActivatableClassId="UnityPlayer.UnityApp" ThreadingModel="both" />
</InProcessServer>
</ActivatableClasses>
<ScreenResolutions>
<ScreenResolution Name="ID_RESOLUTION_WVGA" />
<ScreenResolution Name="ID_RESOLUTION_WXGA" />
<ScreenResolution Name="ID_RESOLUTION_HD720P" />
</ScreenResolutions>
<Requirements>
<Requirement Name="ID_REQ_MEMORY_300" />
</Requirements>
<FunctionalCapabilities>
<FunctionalCapability Name="ID_FUNCCAP_EXTEND_MEM" />
</FunctionalCapabilities>
</App>
</Deployment>
<!-- WPSDK Version 8.0.9900 -->