How to add Google Play Subscription to .Net MAUI App - c#

I'm trying to find documentation / exmaples of .net maui integrating google play purchases and launching the purchase flow similar to this kotlin code: https://developer.android.com/google/play/billing/integrate
Found an API that can communicate with the google play product, but nothing relating to the product cycle UI.

Related

Console Application to retrieve Domain Shared Contacts (Google Apps Admin SDK)

I need to write a console application to retrieve domain shared contacts (eventually update, add or delete them, too).
What I found so far is "Google Domain Shared Contacts API" should do just that, but I am a bit clueless as where to start.
I don't know how to access this API in .NET and I haven't found any examples of such a code.
As far as I can see in the documentation, Domain Shared Contacts API is not currently included in the list of Supported Google APIs for .NET .
You may, however, check in Release Notes for the Google API Client Library for .NET for announcement or updates regarding this API.
If the time comes that Domain Shared Contacts API becomes supported, you may use the following references to get started:
Easily access Google APIs from .NET
GitHub post - google-api-dotnet-client
GitHub post - google-api-dotnet-client-samples
I managed to come up with an application that sends http requests to the API, however their documentation is terrible as it lacks complete description of how exactly the requests should look like and I had to experiment a bit.

How to implement the Facebook Api in Windows Universal apps?

I'm trying to add functionality to allow sharing a screen shot of the app screen, using the Facebook sharer facility. But I can't find any relevant sources to set this up on Windows Universal.
Does anyone know the steps involved in setting up the Facebook Api in a Windows Universal application?
Or can you point me in the direction of a worthwhile link on the subject.
After logging into the FB developer dashboard, and clicking "getting started" , a screen showing the available platforms shows, not including Windows.
I assumed that the correct option to pick would be "Website" , but as the setup process doesn't seem relevant to Windows Universal development, as setup asks for a website URL:
At this moment, Facebook doesn't have an official SDK for Windows but you can use any of the open source alternatives.
I suggest you use the 'C SDK' library (http://facebooksdk.net/). I have never used it myself but it seems quite mature and popular.

Google apps and OAuth

I am having an ASP.NET application that is integrating Google apps market place and there I am creating sub domain on that means my project is Scheduleonce so any one can access the scheduleonce from Google apps market place directly. So is it possible to access the market Place using OAuth process and currently we are on Google API version 2, and we are planning to move to version 3. So OAuth is supportable for Google Apps marketplace.
I guess below links may help you to achieve your goal :-
http://blog.startq.com/index.php/2013/03/28/prevent-multiple-tabs-on-c-web-applications/
http://www.c-sharpcorner.com/forums/thread/201221/C-Sharp-how-restrict-the-user-from-opening-a-link-in-new-tab.aspx
http://code.msdn.microsoft.com/CSASPNETPreventMultipleWind-b1dd2bd6

Getting started with silverlight/facebook development

Is there any very simple sample applications to get started with facebook dev?
I just want to know how I would connect to facebook through silverlight, get the authentication stuff out of the way and then develop, debug and test my applications.
Do I need to be connected to a server which connects to facebook or can I do the development from my own PC which can 'talk' to facebook?
I'm also a bit worried about the updating APIs. Some of hte samples seem a bit old? I'd really like something for the latest version of silverlight/facebook API...
We are working on posting some silverlight samples to the Facebook C# SDK on Codeplex in the next week or so. You can find that SDK at http://facebooksdk.codeplex.com or http://www.microsoft.com/facebook. We will have an in browser and out of browser sample. For now, we have other samples on there that you can look at. For the most part the SDK works the same on any .Net platform.
I've been working on a SL application with facebook integration that utilizes. I use the JavaScript SDK to log the user in, then pass the access_token into my SL app via a ScriptableMember method. I then use the FacebookApp constructor that takes an access token to create a new Facebook App object. Then I can make my calls directly from the SL app, without the need for a server-side proxy.
One thing to note, in your Facebook applicaiton settings, just enter http://localhost/ without the port for your site address.
I'm eagerly awaiting a little more guidance from Nathan, as he's a developer of the C# SDK

How do I embed ads in .NET Compact Framework application?

I'm writing a C# .NET Compact Framework application and would like to embed ads into it (e.g. small banner on top of every screen). However, I couldn't find any advertising SDKs. Aren't there really any?
If implementing it from scratch, how would you do it? Google's Ad Sense for example only works with mobile websites (that can be reached by Google's bot).
Most mobile ad networks are focused on iPhone apps, but the only one I could see that supports Windows Mobile is SOMA by a company called Smaato.
Amobee has a advertisement SDK that can return a banner of predefined size to an application.
They offer a JAVA Api, but getting an ad from their service is as easy as accessing a URL with some query-string and downloading a image.

Categories