how to embed my html game to android studio - html

I made a app in android studio that have a list of a lot of games, and i want to add the first game so, I made a game in Godot Engine and exported it to html, and i am trying to embed the game on my app in android studio kotlin but its not working at all. Any way to fix it?
I tried using WebView but it didn't work, the game loads but i can't interact with anything.

Related

Can Android Air have a splash screen using Flash Pro?

Is there a way to specify a splash screen for an Android AIR application in Flash Pro? I've seen a number of techniques but none for Flash Pro.
Thanks.
Flash Pro is no different than any other AS3 IDE except that it gives you visual tools to create with. You still have access to the exact same code and techniques. You can use SplashScreenImage to do it, if you're using Flex. For the most part, you don't want to do anything that runs code on mobile, which is why Flex doesn't allow you to. So no animation, no movement, no anything. Just a static image.
Regardless, any technique you've found should work just fine on Android and with Flash Pro. As I said, there is no difference between an app created with Flash Builder, IntelliJ, Flash Develop, and Flash Pro. They all use the same compiler, same runtime, same codebase, etc.

Getting trouble with publishing in HTML5 through Flash & actionsript 3.0

Hi there...
I am having a query about how to publish in HTML5 format through flash.
I have a .fla file containg animation and Actionscript 3.0, when i publish it to HTML, it ask to download flash player in browser. But it is not necessary to have flash player in the browser while loading the .html file. So plaease guide me for the issue.
Thanks in Advance..
You're misunderstanding what the menu means by publish to HTML. This is simply publishing a SWF file and a corresponding HTML file that has HTML code to embed the SWF. This is not a cross compilation option. Those exist but that's not what you get in Flash CS5 by default.
If you're interested in Cross Compilation from AS3 to HTML/JS you can check out Randori and also projects like FalconJS:
http://blogs.adobe.com/bparadie/2011/11/19/what-is-falconjs/
I saw a talk about both of these recently in Chicago by some of the developers. They both seem like promising concepts (basically dodging the flash player).
The other option if you're trying to develop for mobile deployment is to package your code as an air installer. This will run your code on top of the AIR runtime (which has support on tons of devices, iOS, Android, Blackberry etc.), but this is not an in the browser experience, but rather a download the app type deal.
From what I got from the two developers (one from Apache Flex, one the creator of Randori) neither wanted to put too much trust into Adobe's platform given it's no longer supported on most mobile devices.
As an aside Adobe also has a product called Edge that allows you to do animation with a similar tool-set to what you get in Flash and exports HTML/JS/CSS. If you're not interested in AS3 or object oriented programming or type-safe languages cross compiling might not be the best option. I've personally been playing with AngularJS lately and been liking it due to the parallels with Flex, but there's a lot of great scripts/libraries/frameworks out there, if you explain a bit more of what you're trying to accomplish I can give more directed guidance.

AS3 Starling stagewebview cant access content

I have setup a starling project and added stagewebview to embed Google maps. I have tested the project using Facebook and it seems to load http://facebook.com correctly. The issue I am having is I am unable to access the page (click links, log in etc).
I don't know if I understand the use of stagewebview or if something else is stopping me from accessing the content. My understanding is you can load an external page into the project/device.
The project will be used in a mobile app that uses maps. If someone knows of a better way to using Google maps (or any other mapping software) in a mobile (iOS and Android) I am all ears.
Thanks
Loading Google maps into a stageWebView certainly is possible. Although I used StageWebViewBridge as I needed communication both ways between ActionScript and JavaScript.
StageWebViewBridge loading and communicating with online page
Be aware though that the stageWebView won't be on the Starling (Stage3D) display list. It will need to sit above on the Flash NativeStage.
For mobile you could look into using an ANE to access mapping APIs.
http://sleepydesign.blogspot.co.uk/2012/07/ane-free-air-native-extensions.html
http://code.google.com/p/air-maps-ane/
Or Distriqt sell a range of ANE's, mapping included.
http://labs.distriqt.com/native-extensions

Is there any way to render HTML in ActionScript3 - FlashPlayer SWF?

I already know about StageWebView and HTMLLoader, but that only works in Adobe AIR. Is there any way (maybe third party) to do the same in a SWF.
Reason:
I'm building a game in AS3 that will run on mobile devices with Adobe AIR, and there is also a web version that will run as a SWF.
The game has some links, URLs that open in a StageWebView for mobile. My problem is that the SWF has to open these URLs in a browser popup or i-frame... I don't like it :(
What you're trying to accomplish isn't possible in a SWF. However, on the web you will have access to javascript and HTML, and with that, you could replicate the functionality with an iframe that sits directly over your SWF.

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.