开发者

How to setup a Windows Phone App without a tile title

开发者 https://www.devze.com 2023-04-08 02:58 出处:网络
How can I set no title to my app, like the Facebook app, since my app also have its name displayed in the logo ? I tried in the app properties in Visual Studio but it displays an error saying that the

How can I set no title to my app, like the Facebook app, since my app also have its name displayed in the logo ? I tried in the app properties in Visual Studio but it displays an error saying that the title should not be empty.

To cla开发者_如何学Pythonrify : I want the app tile not to display the app title.


Open the WMManifest.xml in the Properties folder.

Find this:

<Tokens>
  <PrimaryToken TokenID="AppToken" TaskName="_default">
    <TemplateType5>
      <BackgroundImageURI IsRelative="true" IsResource="false">Background.png</BackgroundImageURI>
      <Count>0</Count>
      <Title>YOUR APP TITLE HERE</Title>
    </TemplateType5>
  </PrimaryToken>
</Tokens>

And change the Title element to

<Title></Title>

Done. No more title displayed on the tile when pinning your app.

Example to prove it's possible (This is a app that's available on the marketplace)


You cannot have your primary application title without a title, though I believe that through Push Notification services it has been possible to remove the title.

If you are creating a Windows Phone 7.1 (Mango) application, you could try using the ShellTile API to set the title to an empty string. The primary tile is the first value returned by the ActiveTiles property if the application is pinned to the Start screen.

0

精彩评论

暂无评论...
验证码 换一张
取 消