I need to store and share a user's list of favorites across a Windows Phone 8.1 Silverlight app, and a Windows 8.1 RT app. I have been using Roaming Settings up to this point, but it doesn't work for all connected devices. I have tested my app across a few devices and it syncs for most but not all devices. I have also received some user complaints about this too.
So instead I want to store a user's list of favorites in Azure Blob Storage, with the key being an anonymized user ID. But I can't seem to find any way of determining a user's ID. I have found information about DeviceUniqueId and there is ID_cap_identify_user capability in the manifest file for the Silverlight App (but not for the RT App) but I can't find any documentation on how to utilize this. Any help here would be apprciated.
PS - Does anyone have any theories as to why Roaming Settings isn't working correctly on some devices?
There is an UserInformationClass, BUT take note if you want to use it in reference to windows 10!
If you have a Windows 8 app that uses the UserInformation class, you
should migrate your app to the Universal Windows Platform (UWP) and
access the User class instead. Universal Windows Platform (UWP) apps
that access user information are now expected to declare a new
capability, uap:userAccountInformation, and call new APIs,
Windows.System.User.FindAllAsync and User.GetPropertiesAsync, to get
the data.
There is also an MSDN example on how to use it: https://code.msdn.microsoft.com/windowsapps/Account-picture-name-sample-912baff1
Related
I have created an Windows 8 store application for a small business using visual studios 2012, C# and xaml. The problem I am having is when I side load the application it requires a developer license every 30 days which the company is not happy with. The company do not want the application made available to the public hence my hesitation to put the application on windows store. So as side loading does not seem acceptable are there any suggestions on how to make an application private (only downloadable by people I choose) in windows store?
You can perform sideloading without developer licence, but Enterprise or Professional version of Windows is required.
System Center allows you to deploy private app to the company managed devices. Windows Intune allows you to create private Company App Hub
There is promise to create Windows Store for businesses, where apps will be available only for company employess, or contractors. Azure Active Directory accounts will be required. http://www.techradar.com/news/software/business-software/microsoft-will-launch-windows-store-for-business-with-windows-10-1292471
Go for Windows store. On the process of creating your app in the store you can select several availability of your app.
1. Make app available publicly
2. Restrict to certain countries
3. Only the people you allow can download the app (people you chose must have a live account)
4. Make the app visible via a URL. (People who had the URL can access the app)
5. Use promotional code. (People who have the code can access the app)
Only drawback is some of these options will only work if the end users are using Windows 10.
Let me know if you require more info. I've done this before.
Hi I want to add notifications to my Windows 8.1 application. I have been doing some research on this topic and the first thing I am told to do is in order to set up my app to receive notifications I need to authenticate the app with WNS but to do this my app must be registered to the Windows store. This is something I would rather not do. So is there a way I can authenticate with WNS without the windows store?
You will need to register the app with the Windows Store Dashboard. WNS uses that registration to address the notifications to find the app.
You do not need to upload or deploy the app through the store. The app name reservation on the store will expire if the app isn't published, but the ID needed for WNS to find your app will remain.
You can use the registered credentials with your side-loaded app so long as you sign the app with a certificate that matches the publisher name assigned by the Windows Store and which is trusted on your PCs.
See the note in the Deploying enterprise apps documentation.
As I mentioned in the title, I plan to write an sensor-based application for windows phone platform, but I don't know if windows phone allow application (using some codes) to turn off/on the screen.
Microsoft certification will not allow application to do so, even though if your able to do with some hacks. You cant turn off the screen from your application. This type of app cannot be made for Windows Phone, the API's do not exist, and if someone found a workaround it would be removed from the store. Unfortunately non of the developers have developed such app for windows. One app is available on Windows phone store One Touch Lockscreen, Find here
My application responds to mobile operator information that I used to be able to get through
DeviceNetworkInformation.CellularMobileOperator;
It seems that this property is not available anymore for the new WP XAML and universal apps.
This information is critical since my application content depends on what mobile operator provider is the user connected to.
Is there some kind of a workaround for this?
Since Universal apps run off the Windows RT platform the DeviceNetworkInformation class is not available.
To use the class DeviceNetworkInformation in your code you'll need to build a Windows Phone Silverlight 8.0/8.1 app instead.
I'm building an application that is using push notifications, but I want the possibility to send "test" message's to certain phones. I don't know which phones it will be at launch. The way I would like to solve this is by using the "DeviceUniqueId" and using a second app to retrieve it with an name. But I also read questions that it can change, for example when the app is published by a different publisher.
So my question is:
When is the DeviceUniqueId the same and when is it different?
For WP 7.1 apps running on WP 8 devices the value of DeviceExtendedProperties("DeviceUniqueId") will be unique across all applications and will not change if the phone is updated with a new version of the operating system.
For WP 8.0 apps running on WP 8 devices the value of DeviceExtendedProperties("DeviceUniqueId") will be unique per device and per app publisher.
Source