Taking App data backup from Windows Phone - windows-phone-7

My Windows Phone app doesn't have a service hosted but I would like to give the user an option to download/backup all the information(Just say note taking app) to another device or PC. How can we do that? Email attachment is an option but is there any other way?

Realistically you need to be looking at creating your own service/server for this if you want to do it now. DropBox (or similar) may be an option but it requires the users to already have an account.
Or wait until the Live SDK is available for the phone. (Or apply for the beta)

Related

How to get total numer of windows phone app downloads from windows phone store?

I am publishing one windows phone app in store.Now I want to know How many users download my app.that means count of the downloads.I am searching windows dashboard on my account but not getting any count details. please help me.I want to know about the number of users download my app.Thank you in advance
You can get more user statistics when using Google Analytics, like crashes and exceptions, events (click on a button etc.), device models, number of users currently using your app in real-time, and of course the number of installations and active users.
I use this SDK in my projects. Simply include the SDK via Nuget to your project by searching googleAnalyticsSdk, and follow the steps in the documentation.
The Windows Store dashboard has the basic things like number of downloads, demographics, etceteras. You can also download that information. Go to http://dev.windows.com, click Dashboard and login with you Microsoft account.
To have more details on the usage specific to your app you could use googleAnalytics, but when you start a Universal Windows app (Win10) you also get ApplicationInsight added to your project. This will give you a very detailed insight in your app on Azure. For more information see http://blogs.windows.com/buildingapps/2014/03/20/instrumenting-your-app-for-telemetry-and-analytics/
Martin

New Windows Store search API?

Now that Windows 10 has been released, Microsoft has updated their Windows Store (at least for people in the US -- international pages seem to still be in progress). Prior to this update, I used the API available at https://services.apps.microsoft.com/browse/6.2.9200-1/615/en-US_en-US/c/US/cp/10005001/Apps/[APPID] to grab info on apps. This API still works, except with two issues:
a) It works only with the "old" app ids -- there seem to be new app ids for apps in Windows Store
b) Many apps in Windows Store now don't show a price (e.g. they show N/A) when accessed via the web or API but do show a price when opened in Windows Store
Is there a new API that works with the newly updated Windows Store?
Thanks!
This guy has built an API, which, although I haven't tested it, should work on the new store:
http://blog.lionelchetty.co.za/an-api-for-you-wpdevs/

Detecting and launching an external application from within a Windows Phone 7.1/7.5 application

I need to write an application that can detect if the "Bing - Get me there" application is installed on the current phone and if so, launch it.
Is this possible? The app would need to do this for other external applications as well, so a generic method or interface for this would be helpful.
Applications run in a sandbox on Windows Phone and there is no way to tell if other applications are installed unless you are writing both of them and you use a method to announce to other applications that you are installed and they know how to read that announcement.
2 approaches to such announcements would be:
Have both (all) apps synchronise with a web server and report which devices they have been installed on. The apps can the query which other apps have been installed on that device.
Have all apps write a file to a location where all apps can access. The only place to do this is the PicturesLibrary so you have to embed the identifier in the name of the image or in its contents and be able to query all images to identify the other installed apps. The user could manually delete any images you create in this way though.
Beware, neither method can tell if the other app has subsequently been uninstalled though so this is far from foolproof.
As far as I know, there's no way to do that.
Applications on Windows Phone run in complete isolation, and can not act with other applications, other than some highly specialized apps (i.e. for playing media).

How to deploy WP app directly to phone

Is there anyway to install wp application to the phone directly, Lets say I have a wp application and xap file, I want to put it somewhere on internet and the wp user will get that link and install application to the phone. I dont want to put it to Marketplace and I dont want to deploy it to phone from PC.I want directly get it from internet and install to the machine.Is that possible?
No it is not possible.
Microsoft only wants deployments through the marketplace and for developers they created a way to deploy it from your pc to test stuff. for every other user all the installations have to go through the Marketplace.
The reason they do it this way is that they have control on which apps are being published for the platform and they will test all the applications submitted to the marketplace. If you could download apps while skipping the marketplace they can't do the testing etc.
If you want to do beta-testing of your Application with a specified group of user
there is a special way. Its integrated within the marketplace, but your app wont be available to the public. Read this article about it.
Only developer unlocked phones can deploy XAP files in that manner. For others they have to download it from Marketplace, no other options are available.
But for hobbyists , there is Chevron. This will allow you to side load apps .
You can can find several links explaining about ChevronWP7 over the internet.

How can I run multiple instances of the windows phone 7 emulator at the same time?

I'm creating a multiplayer game for windows phone 7. How can I run multiple instances of the emulator in order to debug it?
You can indeed run multiple instances of the Windows Phone 7 emulator at the same time, and even debug them simultaneously, as I show in my blog post.
Open the folder [Your Drive Letter]:\ProgramData\Microsoft\Phone Tools\CoreCon\10.0\addons
Locate the file ImageConfig.en-US.xsl
Take a copy of it, leaving it in the same directory, and name it something like ImageConfig.en-US 2nd Instance.xsl
Open the copy in a text editor.
Locate the element DEVICE and change it's Name attribute, also assign a new GUID value to ID.
Scroll down the file to locate the part that says PROPERTY ID=”VMID”:
Put a new Guid inside that element – make sure though that you use capital letters rather than lower case.
Save the file
Re open the XAP deployment tool, or Visual Studio, if you already have them open, and you’ll see your new Emulator instances.
See the blog post for more details, and screenshots to clarify some of the steps
You can only run one instance of the Windows Phone 7 emulator at a time on a single machine - that's set by default, and if you don't want to mess with custom configurations. When you deploy from Visual Studio, the same instance is shared between the running instances of the development environment.
However, you can create additional instances of the WP emulator if you follow the instructions in this article. Make sure you backup the config files before editing them.
I had the same problem, trying to test my multiplayer game, and i eventually bought a WP7 device (HTC HD7) on ebay, unlocked it for development purposes, and used it and the emulator for testing.
Since I have experience with the android environment, I can say that denying the possibility of multiple emulator instances really damage the development efforts. Hope Microsoft will change this.
BTW, i'm using the Skiller SDK for the multiplayer and social side of my game (Their official WP7 SDK will be avialable in a few days, and you can download it from http://dev.skiller-games.com). I totally recommend it.
Good Luck.

Resources