Monday, December 22, 2014

Windows Phone 8.1 apps can’t have background tasks for location tracking

Once i submitted my app, this is the error I got from store. Was upgrading my app from windows 8.0 to 8.1 a bad idea?

The issue told in all blog posts was that i cannot use "background location tracking" if i am creating windows 8.1 silverlight phone apps.

Even after I removed all code for background processing, the error still persisted. 

Finally, the answer was in the "WMAppManifest.xml" file. I had created the app in Windows phone 8.0, but when app was upgraded  to 8.1, Visual studio forgot to remove the following lines from the xml.


      <DefaultTask Name="_default" NavigationPage="MainPage.xaml">


          <ExecutionType Name="LocationTracking" />




Once it was manually removed, the store accepted my app. Here is the final xml.


      <DefaultTask Name="_default" NavigationPage="MainPage.xaml">




The final error was


I submit a test Windows Phone Silverlight Project 8.1 and get this error when submit

The package identity associated with this update doesn't match the uploaded appx

 ran into the same problem, but the solution is simple - the Package identity name and Windows Publisher Name in Windows Phone Store must match with the values inside the uploaded xap package.

You can find these values in the Windows Phone Dasboard in the App info section:

Windows Phone Dashboard

You then need to copy and paste these values inside your Package.appxmanifest file. Note you have to open this file using text editor. These values are not editable using the UI editor:



enter image description here

Sunday, December 21, 2014

Getting images quickly for your windows phone app development

Windows phone deployment to Windows store requires a lot of images which are very specific in terms of image size. You can generate all the images you require (from your own single image source file) from the following website.


I have used it and it is really cool!

All the images are generated and you can download all the images as a zip file for free.



Tuesday, December 09, 2014

Exploring RedCritter - website for Agile project mangement

I found redcritter as one of the apps under microsoft webmatrix. Searching for this software revealed on its own terms "RedCritter Tracker is ideal for software projects or other projects that require a "what's next" type of approach. It works for multiple teams or even individuals. RedCritter Tracker is the only project management service with badges, rewards, leaderboards and real-time Twitter-style feeds" Webmatrix gives me an option to publish it from my local computer. The second option is to publish it from the cloud. The local setup The installation was a breeze. I am creating my first account. Email: Username in gmail. Uploading to an azure website, does not seem to be complicated. The azure website was created easily. This software gives me rights to add only three users in the free version. This is nota good idea!! Time to move on to something else!!

Tuesday, November 25, 2014

Removing html tags from your test cases - while exporting test cases from tfs using a tool like facilius

When you use a tool like facilius to export your test cases from TFS to Excel ( Usually it is a client requirement), you will be faced with exported Excel containing a lot of html tags. Example below.

1. Login to CRM with valid credentials
2. Navigate->Marketing->Marketing Plan
3. Click New Ribbon button
4. Enter the following data : Name, Description, Financial Year, Business Entityand click Save and close button

To remove all these html tags in one shot, we can use the following regular expression. <([A-Z][A-Z0-9]*)\b[^>]*>(.*?) I have tested the above in notepad++ and it works fine. (Control+H for find and replace) In excel, I could not find the search and replace using regular expression. So i went with individual find and replace and removed most of the tags like


etc. For the cells which did not match with the majority of the tags, I copy pasted the cell contents into notepad++ and used the above regular expression to remove all the tags. In replace all, keep it blank and the in the find text box, use the above regular expression.

Monday, November 03, 2014

I watched the ted video on "flow" by Mihaly Csikszentmihalyi


Mihaly Czikszentmihalyi asks, "What makes a life worth living?" Noting that money cannot make us happy, he looks to those who find pleasure and lasting satisfaction in activities that bring about a state of "flow."