Check For Installed Application - windows-phone-8

In my application, i want to do some task if there is PARTICULAR APPLICATION installed in windows phone.
Is there any way using which we can verify that either application in installed or not ?
for example, can i determine through some code that either facebook messenger is installed or not ?
Currently i don't have any clue about how to accomplish that.
If anyone knows then please share it.
thank you in advance.

There is no way to get the list of all installed applications on the phone currently. You may access only those that are by the same publisher ID using:
InstallationManager.FindPackagesFromCurrentPublisher.
Returns all the app packages with the same publisher ID as the app calling this method.

Related

How to publish Windows Store App with enterpriseAuthentication and sharedUserCertificates

I am a developer who is new to Windows Store development.
I wrote one Windows Store App and tried to upload it, yet I encounter some errors after submit the appxupload file.
The error messages are shown as below:
I have no idea how to make my developer account authorized to publish apps with the capability it mentioned. Is there a different set of capability for different developer account for Windows Store Application?
Can anyone tell me how to fix this?
Thank you!

How to find logged in user from Windows Registry?

am developing a windows store 8.1 app using C# and xaml.
In my app i want to find logged in user name from Windows Registry.
How can i get that from C# code?
Anybody please help me.
Regards,
Santhosh
You can find the user name in HKEY_CURRENT_USER\Volatile Environment\USERNAME.
However, I'm pretty sure you won't be able to access this from a Windows Store App.
I'd suggest looking at the UserInformation.GetDomainNameAsync method or other methods in the UserInformation class instead.

Is it possible to publish two apps with the same name?

Im' wondering if there is a way to post to apps with the same name at the Windows Phone Store, as is suggested in the post linked below:
Is there a way to implement custom in app upgrade in windows phone 7?
Does someone know how they did this thing of "posting one private and one public, with the same name"? Or they didn't do that?
Thanks in advance

Get Windows Phone app information

Is there a way to get info about particular app such as number of downloads, some kind of statistics etc., not being its owner. I am wondering whether exists any API to get information from Windows Phone Market? Thank you in advance. Last concern : is it enable to use another ad on windows phone than microsoft advertising? Will such app be approved on market?
Unfortunately there is no such Api to Access these things.

Is it programmatically possible to update a windows store apps from within the app?

Is there an API that allows to me to programmatically pull the latest update from the store and refresh the current version that the user is using? If not, is it possible for the current app to programmatically know that there is a new version available?
Any samples/examples would be highly appreciated.
You can't programmatically install any Store software. But you can programmatically open the Store to let it do the user manually.
That said, there's no official Store API which you could ask about app versions (you might be able to parse the Store's HTML pages, but I recommend against this approach).
What you can do: Put a small XML file on your website which contains the latest app version number. Your app then can read this file and compare this desired version against the running app's version. If the app is outdated, the app can show a message box to the user.
I ended up using WNS and Azure Notification Hub to send a push notification to the app when it is launched. The notification is in the form of a toast message that essentially states that a new release is available. But if you updated/downloaded the app after xx/xx/xxxx, no updates are necessary.
I know it is a little cludgy but at least the users now know that the version of the app that they are using may be dated. I control the notification through Azure Mobile Service (which is free for up to 10 apps) and can fully modify the actual script.