Unity Ads in Libgdx game - libgdx

I want to implement Unity ads into Android game which is created with Libgdx engine.
I searched for solutions on net but i didn't find anything useful, so every help is welcome: Code samples, links with explanations...

Unity provides instructions on integrating Unity ads into any Android application built in the Eclipse IDE here.
Unity ads are not specific to a specific graphics/application framework, so they should work with the provided instructions for any Android app. You might have to wrap your LibGDX in a bit of native Android UI, using the second answer here.

Related

In flutter, Is it possible to use Android or iOS widget, just like react native

As we know, flutter can call Android or iOS api by plugin, I had written some widgets, Android and iOS native widgets, can I use those widgets in flutter, just like in react native. Thanks.
The simple answer is NO
Flutter completely bypasses the iOS and Android OEM control pipeline and draws the entire screen as a Skia canvas, with its own dart UI widgets.
There is no mechanism to mix the flutter canvas with OEM controls
If you are looking for App Widgets that are shown on android desktop, then it is possible to implement such Widgets with native code and use it with flutter.
I'll not completely deny that it is not possible to bridge between native widget and flutter's dart code, but I can say the possibility is yet to be discovered.
Here is the simple App Widget created natively and used with flutter.
If you wanted to look into the source code, and build app from source. Here it is.
Hope that helped!
Yes, you can.
With https://api.flutter.dev/flutter/widgets/AndroidView-class.html (Android) and https://api.flutter.dev/flutter/widgets/UiKitView-class.html (iOS)
Google is using this two Widgets to render WebViews and Maps on those platforms.
See: https://pub.dev/packages/webview_flutter and https://pub.dev/packages/google_maps_flutter
It is definitely not easy to use, but it is possible.

Can I deploy an HTML5 game with Xamarin products?

I have an HTML5 game in the works and was wondering if it would make sense to try and use Xamarin products for deploying my app to iOS, Android and Windows Phone.
Do Xamarin products support this?
Would I gain anything from using Xamarin products as a wrapper? Ease of deployment, native API access, etc.
How would performance be for a simple side scrolling 2D platformer?
Xamarin could be used to wrap an HTML game, but I don't think it makes sense. Bear in mind that with Xamarin you would have to rewrite the UI component for each platform, so in your case you'd manually have to render within a UIWebView on iOS, a WebView on Android, and so on for each platform you want to support.
Possibly look into other solutions, such as PhoneGap, which are squarely aimed at wrapping applications written using the HTML stack. These are likely to have solved many of the problems that you would encounter by trying, using Xamarin or otherwise, to make a wrapper yourself.

Mobile application using html5 tutorial

I am new in this field and want to learn mobile app development using html5.. can anyone help me with some useful tutorial or link to learn this.
I must recommend the phonegap solution, it will help you to build cross device HTML5 apps allowing you to utilize lots of the phones features:
phonegap api
and
phonegap getting started guides

Migrating Silverlight application to HTML 5

Currently we have application in Silverlight which contains a dashboard. The dashboard was developed in Silverlight.
Now we want to migrate the Silverlight dashboard app to HTML 5.0 so that the app can run on iPhone, iPad & android phones.
How we can migrate Silverlight application to HTML 5?
Also, do we need to use any third party custom control for dashboards in HTML 5.0?
You need to convert you graphics from XAML to SVG. If you have the designs for this project, then you might want to take a look at Adobe Illustrator CS5 HTML5 Pack, which lets you "Save As SVG". You should keep everything vector based so it scales to iPhone, iPad and Android.
Then you need to transfer your UI behaviour to javascript. I suggest using KnockoutJS by Steve Sanderson. I would combine this with jQuery for ease of use.
As #Polynomial mentioned in his comment, there is no "convert to HTML" package per se, but with a little know-how you will be able to migrate.
Take a look at this project http://www.cshtml5.com/ . It might help in some simple cases.
This may not solve your problems at this moment, but there is a project under development to rebuild Silverlight without using a plugin. The project has been under development for almost a year and the website just recently launched # http://fayde.wsick.com/.
DISCLOSURE: I am affiliated with this project.

Analytics for pure AS3 Adobe AIR for mobile project?

I've been digging around for days looking for a way to do analytic tracking in a pure AS3 Adobe AIR for mobile project. Does anyone have a solution?
I've tried looking at gaforflash http://code.google.com/p/gaforflash/
but it looks like AIR isn't supported:
http://code.google.com/p/gaforflash/wiki/Roadmap (see comments)
I've tried looking at http://www.appanalyticshq.com/
But this looks to be Flex dependent.
http://getsatisfaction.com/app_analytics/topics/where_can_i_get_a_flash_pro_swc
I also looked at straight up Google Analytics http://code.google.com/apis/analytics/docs/tracking/home.html
But it says on this page: http://code.google.com/apis/analytics/docs/tracking/flashTrackingIntro.html
"Note: Currently, Flash tracking is available for any Flash content embedded in a web page. Tracking of data sent from Adobe Air, Shockwave, or via the Flash IDE (e.g. using Test Movie) is not supported at this time."
Anything else out there? Has anyone got this to work?
Thank Jevgenij and pkyeck.
I was able to get GA working with my project and I verified it is working on both iphones and on Android.
See this example: http://code.google.com/p/gaforflash/
you can get free google analytics ane from http://www.devactionscript.com/. This one is based on the latest Google Analytics SDK v3
you can consider gaforflash obsolete and legacy
there is a new library
Google Universal Analytics for ActionScript 3.0
as3-universal-analytics v0.8
https://github.com/zwetan/as3-universal-analytics/releases/tag/0.8
full support for: Flash Player, AIR, Redtamarin
it just works everywhere or almost everywhere :)
for example
var config:Configuration = new Configuration();
config.forcePOST = true;
var tracker:WebTracker = new WebTracker( "UA-12345-67", config );
tracker.pageview( "/hello/world", "Hello World" );