Access to Windows 8 live id - c#

I want to create an app, where users can rate stuff, but I don't want that they can rate one place multiple times. So I tought I could use the live ID of the user, that Windows 8 uses by default. Is there a way for that? If not, is there another built in way to "recognize" the user, or I have to use the Live SDK?

Unfortunately there is no way, but the Live SDK is pretty good too.

Related

Universal Windows App - Storing and Updating Data for multiple users

I would like to be able to record some information about a specific user locally within my Universal Windows App, How would I go about doing this in such a way I can query the data after a period of time and pull back results? I have seen that this is possible using SQLite, is there any other technologies that could achieve this.
I would then also like to store some generic data such as click information on a database which would be updated by all users of the application.
Thanks for any help.
I think SQLite would be a great way to do it. However, if the data is simple enough, you can just store them using files. Use ApplicationData.Current.LocalFolder to access files specific for the user (or RoamingFolder, if you want this data to automatically roam between devices), and ApplicationData.Current.SharedLocalFolder to store data for all users on the device.
If you're going for things like click information,navigation and other usage data, I strongly suggest that you look into Application Insights. This is a very simple library that you more or less can just right-click to add to your project in Visual Studio. It will give you all sorts of telemetry right out of the box for your UWP apps, WebApps, and even Android/iOS apps. Think of it as the UWP version of Google Analytics, only so much better :)
You generally do nearly nothing other than to just configure it with an ID, but if you want to, you can track all sorts of custom events, and not worry about how to store them. Internally, Application Insights will send telemetry to Azure when it can. When it can't, it doesen't.
Here's the getting started page:
https://azure.microsoft.com/en-us/services/application-insights/

How to group apps in Metro in a similar way to a web app?

As a web developer, when I have multiple sites that are related by a common theme or common department, I have a home page that has links to the different sites. For example, there may be a site for reports (output to pdf or excel), another for inputting and editing sales data, and yet another for real-time tracking. Normally these links are in a header or sidebar which is static and can be accessed by all associated apps.
I'm reading about Metro/Modern apps now. I'll be trying to make my first Metro app soon. However, I'm wondering if it's possible to have (at least the illusion) of accessing 3 different apps through 1 app. So the user, just as in the web app, goes to one place.
If so, does anyone have any resources they can share?
To include multiple apps in the same frame they would need to all be part of the same app.
If you want links to jump between apps then you can create a protocol association to launch into the apps. This can include an arbitrary string so you can deep link rather than going just to the opening page.
On Windows 8.1 this connection is one-way: launching the protocol is fire-and-forget. The launching app doesn't get any feedback or results from the launched app.
Windows 10 adds the ability to return results to use the app as a service. I think this sounds more like what you are looking for.
See Auto-launching with file and URI associations on MSDN and the Build session App-to-App Communication: Building a Web of Apps
actually in Windows Universal app it's the same Approach. You got your app, and different pages where you could navigate back and forth... each page with it's unique look depending on your Need.
The user will open one app to Access all...
searching a bit in the net will Show you a lot of examples... Topic: Navigation, LiveCylcles, ...

WP application replacing another

I have now made two Windows Phone 8 applications based on the MonoGame template. My problem is that whenever I install either one of them then the other one is replaced. I do not understand this because they have different names and I have change both their GUIDs multiple times. What could possibly be causing this?
Haven't used MonoGame - maybe there is something in their system that causes problems. However, in normal conditions, Windows Phone apps do not replace other apps unless they have the same app ID (aka the GUID that you're talking about). You can have apps with the same name but different GUIDs, and both will live fine by each other.
Can you show what GUID you're replacing? Are you changing the manifest? Are the apps a part of the same solution?

How can I set album art for a song in a Windows App (e.g. without tag-lib#)?

I had thought that my Windows App was finished and ready for release. However, during the certification process, ACK told me Tag-Lib# uses API that the Windows Store does not support. Now I need to find some other way that the Windows Store DOES support to be able to programmatically set the album art for songs. Any ideas? (I would also be happy if anyone knew of a way to modify Tag-Lib# to comply with the Windows Store restrictions.)
Use the Windows App Certification Kit to see which API's are called. Then try to modify the Tag-Lib# source to not use those API's, or pick the relevant code and build your own library.
Though I think, given it's used for reading and writing files, it relies on System.IO which will require quite some rewriting to Windows.Storage.

how to list installed applications in windows 8 metroui

I am just curious if there is a way to find installed metro applications within an application. I mean, I like to create an app which also shows my other apps and I want to show them as "Get it from store" or "Launch". Thank you...
No, this is not possible. Windows Store apps are heavily sandboxed, and this is one of the things that is disallowed.

Categories