• Twitter
07
October
Comments

As a Windows Phone 7 Developer, you may or may not know that a file called “WMAppManifest.xml” exists, this file is extremely important as it really sets up your App to share with a Phone/Marketplace as to what Compatibilities (and more) your App requires from a device (AppHub auto-detects the requirements, some App information and places it on your App Download page) but this is normally called the “Capability Detection Tool”.

So let’s take a look at some normal projects WMAM file:

Section 1. – Capabilities

<capabilities>
<capability Name=”ID_CAP_GAMERSERVICES” />
<capability Name=”ID_CAP_IDENTITY_DEVICE” />
<capability Name=”ID_CAP_IDENTITY_USER” />
<capability Name=”ID_CAP_LOCATION” />
<capability Name=”ID_CAP_MEDIALIB” />
<capability Name=”ID_CAP_MICROPHONE” />
<capability Name=”ID_CAP_NETWORKING” />
<capability Name=”ID_CAP_PHONEDIALER” />
<capability Name=”ID_CAP_PUSH_NOTIFICATION” />
<capability Name=”ID_CAP_SENSORS” />
<capability Name=”ID_CAP_WEBBROWSERCOMPONENT” />

Now, as you see, it’s kind of pretty easy to see what is what and how to require specific components/features to be used and mentioned before you’re able to download your App. It is strongly recommended you don’t really just “cut” the line of code that requires whatever feature as I recommend you do as follows to the items not being used:

<!– <Capability Name=”ID_CAP_MICROPHONE” /> –>

Just like in HTML/Web 2.0, when you add the string “<!–” all your objects will become hidden/unusable and cause your App to never even get to debugging. Why? Simply because if your App uses the Browser control, because you didn’t define when to stop ignoring, you can’t use this feature.

Section 2. – App xmlns

Now, to me, this is very vital you fill this single-line (usually) of code and properly fill it out as recommended below:

xmlns=”” ProductID=”{sddsafdfd-dsdsdd-sdasdasdasd-asdasd}” Title=”BIG DIALER” RuntimeType=”Silverlight” Version=”1.0.0.0″ Genre=”apps.normal” Author=”Compulsive Technology” Description=”This program allows you to easily view sleek BIG buttons to place phone calls.” Publisher=”Compulsive Technology”>

Ok, so here are the main tag’s you should worry about:

  • 1). Title; This is where you place the name of your App.
  • 2). Version; This is the version number for your App, remember to keep this current and always change your App Build to keep an eye on what happen in what version, for when someone needs support in an old edition.
  • 3). Author and Publisher; These tags are pretty easy to guess but usually the they will be the exact same, unless you’re making an App for another company, place your Name/Company as the Author and the Publisher for whom is actually the company releasing the App.
  • 4). Description; Always keep a good and somewhat lengthy description of what your program is as it really shouldn’t exceed 100 characters but up to you.

Section 3. Deployment xmlns

xmlns=”http://schemas.microsoft.com/windowsphone/2009/deployment” AppPlatformVersion=”7.1″>

The main part that I can’t stress enough you don’t mess with, is the Version (or really anything). You should NEVER EVER change this as your coding is set for a specific release of WP7, and shouldn’t be touched as you can’t downgrade Projects.

 

So, that is it for now, I hope this tip helped some of you and if not, well, good to check what you already know. More of these Tip’s will become available, so please check back often and follow me on Twitter (@LanceSeidman) so that you can find out first when new tip’s, tricks or anything with my App’s or blog becomes available.

 

 

 

Leave a Reply

You must be logged in to post a comment.

Sponsored by


PLEASE DISABLE YOUR POPUP STOPPER!

My Windows Phone 7/8 App's (Many Not Updated)

waitlist (Free) for WP8 Health Center (Free) for WP8 Speechy (Free) for WP7 TWiT (Free) for WP7 Space Weight (Free) for WP7 I.T. Guy (Free) for WP7 Job Discovery (Free) for WP7 Spelling Bee (Free) for WP7 Coin Toss Up (Free) for WP7 BIG Dialer (Free) for WP7



MY Windows 8 App's (Many Not Updated)

MyTube (Free) for Windows 8/RT

  • Member of The Internet Defense League