Get Store licensing-status in "Centennial" Winforms app - windows-runtime

In a Winforms app converted into a uwp app (Centennial) - how can the app check for the licensing status?
In UWP I can use CurrentApp.LicenseInformation but that's under Windows.ApplicationModel.Store, and I can't find that in the Add Reference to Winforms.

To be able to use the WinRT APIs from your Winforms project, please add a reference to this WinMD reference: C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd from your Winforms project. I'd also encourage you to take a look at the Desktop Bridge samples on GitHub: https://github.com/Microsoft/DesktopBridgeToUWP-Samples
Btw, since you asked the Store licensing question, have you already filled up this form: https://developer.microsoft.com/en-us/windows/projects/campaigns/desktop-bridge yet? Once you fill up the form, someone from MSFT will contact you to work with you further regarding further help on the onboarding to the Store process...Let me know if you are stuck there...

Related

Where can I find the resources to learn how to develop plug ins/add ons for Windows Onenote?

I want to make a plug in or an add on for the windows OneNote application but all I can find is the OneNote API. Correct me if I'm wrong but that API is not to make an add on so I need some other resource that I can learn from.
For example, creating something that will manipulate the text in OneNote.
there is a COM API that you can use that works with Windows OneNote. Documentation here: https://msdn.microsoft.com/EN-US/library/jj680118.aspx
Separately there is an open source sample here: https://github.com/onenotedev/vanillaaddin
This is for a plugin for OneNote. It is also possible to do this as an external Windows or console app.

AppManfiest.xml vs WMAppManifest.xml

Can any one explain me the difference between AppManifets(to my understanding it is .net package info) and WMAppManifest(to my understanding information about the app) ?
Thanks.
AppManifest.xml describes the deployment of your app (libraries and such).
This page describes it better than I can.
What is AppManifest.xaml in Silverlight?
WMAppManifest.xaml describes the
Application UI
Change your display name, and icons here.
Capabilites
Change what permission you want to ask the user to allow your app to do.
Requirements
Set a specific settings that the phone must meet, like having a front camera.
Packaging
Set various settings for submitting to the App store.

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.

How to build visualizations as chrome app

I am very much impressed by the way this app was build , https://chrome.google.com/webstore/detail/visual-history/emnpecigdjglcgfabfnmlphhgfdifaan
I wonder if SAP Lumira was involved in this application, for the live visualitations to work fine. but i am not sure of how it was developed as an app as it can only export as png files and the data can only be from flat files and hana database. Any help to analyse the nature of this application is appreciated.
I think your question is not stated correctly: it's like asking "how to build visualizations for the web" (in other words, it's too broad and it's not specific to Chrome apps). I think what you want is a way to analyze the source of an app. What you can always do for that is:
After installing the app you're interested in, visit chrome://extensions.
Turn on the Developer mode (a check box in the upper-right corner).
Find the app in the list and note down its app ID.
Go to Chrome settings directory, e.g. ~/.config/google-chrome for Linux - the location will depend on the OS and the Chrome channel that you're using.
Find the app's installation directory, which will look something like <Chrome settings directory from #4>/Profile N/Extensions/<app ID>/<app version>.
You will see the entire app's source there.
Specifically for this app, you can see in the sources that it uses something called JavaScript Graph framework (see /canvas.js) together with D3.js (see /protovis-3.2/).

Equivalent to ASP.NET Web.Config

I'm new to Windows Phone 8 development. I'm coming from an ASP.NET Web Forms background where settings are stored in Web.Config. As some of you know, the Web.Config settings are hierarchical in nature where values are overridden depending on their location (root Web.config, machine.config, app level Web.config)
I am creating an app that calls into a third party API. The third party API uses OAuth which requires personal key information. I plan on open sourcing the code so I don't want to expose those keys.
If this was ASP.NET, I'd store the keys in a Web.config file outside of the app. This way, I'd be safe to publish my app to the public.
How would I achieve the same with a Windows Phone 8 app?
App.config functionality does not exist in Silverlight and WP apps. You can use IsolatedStorageSettings.ApplicationSettings to save/receive settings.
If you still want to use something similar to App.config then you can check this link for a similar functionality implementation.