In WinPhone 8 SDK, there are two LicenseInformation classes:
Microsoft.Phone.Marketplace.LicenseInformation (present since WP7.0)
Windows.ApplicationModel.Store.LicenseInformation (WinRT-inspired)
And two ways to initiate a full product purchase:
via MarketplaceDetailTask with app GUID as ContentIdentifier
via CurrentApp.RequestAppPurchaseAsync
They're slightly different. Which one should I use?
Follow the guidelines available here:
http://msdn.microsoft.com/en-us/library/ff967558(v=vs.105).aspx (Updated link for WP8)
http://msdn.microsoft.com/en-us/library/hh286402(v=vs.105).aspx (Updated link for wP8)
You should use MarketplaceDetailTask with the Microsoft.Phone.Marketplace.LicenseInformation class.
Related
I wanted to send an OData Query to Cumulocity.
I got some documents pointing to the special format of query in the platform:
...&q=$filter%3D(c8y_Availability.status+eq+%27AVAILABLE%27)
By the way it is not working (for the list of alarms). Do you support OData-query? Can you provide me a sample for OData querying in cumulocity?
Have a look here: http://cumulocity.com/guides/reference/inventory/#query-language
There are examples at the bottom of the section.
Hint: You can also peek into Chrome Developer Tools while editing the filters of the device list in the device management application. Your above example looks like this in the developer tools:
https://demos.cumulocity.com/inventory/managedObjects?currentPage=1&pageSize=100&q=$filter%3D(c8y_Availability.status+eq+%27AVAILABLE%27)&withGroups=true&withTotalPages=true
... and this looks quite much like the example you had above.
I am trying to test ODL-SDNiApp and found it not updated since Helium on this page https://wiki.opendaylight.org/view/ODL-SDNiApp:User_Guide. So, is it still supported by Opendaylight? if not, please list me some useful tools or methods for inter SDN controller communication.
Thanks.
According to the project page https://wiki.opendaylight.org/view/ODL-SDNi_App:Main, it last participated in the Boron release but it doesn't look like it's been active since. You can try the project mailing list or contact the listed committers. If it is inactive as it appears, perhaps you might want to try to reboot it.
I am totally new to dotnetnuke and have installed dnn6 comunity edition. i m trying to develop a dnn module to.
Display Detailed News
Display top 8 news on homepage (from where navigate to the Display Detailed News)
i am using installed web starter kit as template and vs .net2010 and development env.
In this regard i have 3 questions.
How to add user control to display TOP 8 NEWS to the existing module so that i may add it as New module from control in dnn site?
How to display different category of news in this control on different page?
1) You will need to either create a new Module Definition, add the Control as another option to an existing Definition, or even define a completely new module on the extensions page that uses the new ASCX file. Most likely you will do the first option, adding to a ModuleDef to existing module. Then when you add the module to a page, you'll actually get two different modules loaded on the page. You can delete the one you don't want to use. The DNN blog module does this with like 5 or 6 different controls that get added to the page.
2) You'll want to configure Module Settings for the ASCX that control which category the articles come from.
If you really are serious about doing module development I would encourage you to check out my VS Templates, instead of the starter kit You can find the DNN6/VS2010 templates in the .9 release http://christoctemplate.codeplex.com/releases/view/93348
All the newer releases are for Visual Studio 2012 (even the free versions work though, so check those out)
On Windows Phone 7 you can do like this to get an anonymous unique id for the current user.
UserExtendedProperties.GetValue("ANID")
I have search for a while to find an equivalent for my current Windows 8 (WinRT), but I can't seem to find it. All the results I find, talks about how to get a Hardware/device specific ID, which IS supported, it's just not what I need.
Thanks in advance,
Mads
Found out, thanks to xamlgeek an others, that it's not possible to get a Unique User Id in Windows 8 - at least for now.
So I have to fallback on Device Id, which is far from what I needed, but found this code snippet with works perfect (C#):
http://bartwullems.blogspot.co.uk/2012/09/windows-8-uniquely-identifying-device.html
The answer is not good at all, because the user can upgrade his PC config (by pluging a bluetooth adapter or anything else). The good answer is to use the object :
Windows.Storage.ApplicationData.Current.RoamingSettings.Values["HighPriority"]
It's synchronized through the different installation of the apps on the cloud, more infos here :
The HighPriority key is special because it's get automatically during the new installation of the app.
http://blogs.msdn.com/b/windowsappdev/archive/2012/07/17/roaming-your-app-data.aspx
It's unwise to use GetPackageSpecificToken. This ID will change even if user just plug USB device into his PC/tab, or turn Wifi on/off. Actually it's a quite unstable thing, no idea why MSFT has ever made it.
I use LiveConnect instead (only Liveconnect user ID is needed and it's the same on all user devices). It much more reliable. See my post here: https://stackoverflow.com/a/22389679/1656824
Is it possible to do a search for apps by title via the API? For example, the equivalent of "Return a list of apps (if any) with the word 'dog' in the title".
I've seen two access points that come close, but don't seem to offer this:
The RSS feed; it lists apps, but apparently only groupings like, "top 100..."
The query interface; but it doesn't seem to query over the app media type. (?)
I found the answer. Although not explicitly documented, it's possible to search by app name.
http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html
You're right, it wasn't very clear on that iTunes page at all. The parameter entity=software is the key. For example, here's a search for my app, TypeLink:
http://itunes.apple.com/search?entity=software&term=typelink&callback=myCallbackFunction
If you're wondering what the callback is for, here's some more info on the JSONP format it uses:
http://en.wikipedia.org/wiki/JSONP
For any future person who wants to link to the App Store keyword search result page directly from a web link - this format works as of April 2013:
http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&submit=media&term=KEYWORD%20GOES%20HERE
Was a PITA to figure out but finally got the syntax right... Needed this because a client has apps made by multiple developers so I couldn't just use the suggested Appstore.com/DeveloperName link to return all their apps.
Thanks all for sharing wisdom. Hope this helps someone.