Custom app entry in Settings hub

Custom app entry in Settings hub

This article is based on a stackoverflow question http://stackoverflow.com/questions/19585385/how-to-create-a-custom-app-entry-inside-the-application-settings-with-windows-ph/19592283#19592283

Note : You can not publish apps with feature to Windows Phone store. These kind of apps will be rejected.

For most applications, this is not at all necessary – if you are not altering the behavior of the device (e.g. through global settings that go beyond the application), you do not need to do this. However, for experimentation purposes, it is, in fact, possible to integrate your app in Settings hub.

Here are the steps to integrate it.

Step 1

Create a blank Windows Phone app in Visual studio, here I named it as “SettingsEntry”

Step 2

Right click on “WMAppManifest.xml” from solution explorer and select “View code” or select “WMAppManifest.xml” and hit F7.


Step 3

Now you are in “WMAppManifest.xml” file. There under <App xmlns="" add HubType="268435456".


Step 4

Thats all, now run your app. Your app will run, if there is no code errors. Now, click back key and open Settings hub, there you can see you app as displayed in the first image.


Problem in uninstalling of this app

You can not uninstall apps under Settings hub, thus we do a trick. The way to do it would be to re-deploy another app, with the same ProductID (from WMAppManifest.xml). Even if you use the same application with HubType removed, you will need to create a different one to replace it.