T
T
Test2016-07-17 22:46:06
Java
Test, 2016-07-17 22:46:06

How to save swf to apk in android studio?

Hello! Please tell me how to save swf to apk?
I heard that you need to make a "browser wrapper" in which html will open, in which the code for opening swf is written. So, making a browser was no problem according to this article from habr: https://habrahabr.ru/post/265247/. But when I start the game on my phone, a white blank screen appears, what should I do, help, plz
Or in what other way can I save swf to apk without using online services?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2016-07-17
@Rou1997

Before loading HTML, enable plugins in WebView ( wv.getSettings().setPluginsEnabled(true);), if the SWF file is located on a remote server, then add INTERNET permission, and if in assets or resources, then form the correct path to the SWF.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question