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.
Related
Is there a way to integrate Google Maps into a C# WinForms application without embedding a browser into the application?
Thanks
Somewhere in 2016, Google declared that you must use a key to use their Google Maps API, that leaves you with 2 options.
To open Google Maps from the internet directly by URL (using a browser) or
Get a key, and run it using javascript, but you'd still need a browser to execute the javascript.
As far as I know, there are no current option to use Google's API offline from your own application, even the offline version of Google Maps itself will only be available for 30 days, due to the daily change in infrastructure in the world.
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.
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
I am creating new Metro application in c# and I would like to sign in users using MS Live connect. There are lot of examples on the internet how to do this, but the Live SDK has been changed (live:SignInButton is not available), Live connect developer center was changed (I am not able to find Package Display Name, Publisher text boxes,...).
What is current best way howto use Live SDK in the C# Metro application or is it possible to use WebAuthenticationBroker?
Take a look at the DotNetOpenAuth library which allows you to easily integrate your live id and other openid providers for authentication. FYI This library is available as a nuget package too.
Example available # http://code.msdn.microsoft.com/windowsapps/Web-Authentication-d0485122
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