I am making my flash game into an Android app with the following code. It works just fine but the compiler gives the error
The method setPluginState(WebSettings.PluginState) from the type WebSettings is deprecated
Here is the code.
webview.getSettings().setJavaScriptEnabled(true);
webview.getSettings().setPluginState(PluginState.ON);
webview.loadUrl("file:///android_asset/myflashgame.swf");
This code works but not for long. How can I achive the same effect? I read that WebView plugins will not be supported in the future. Is there another way to make an app of my flash game?
I heard about Adobe AIR. Is that still supported? Will it still work in the future?