Home > FAQ > Android Apps

FAQ

How to launch WebAppRuntime from an Android app

To launch an HTML5 app on the B2B Custom Browser from an Android app, send an intent.

Here is a sample.

Intent intent = new Intent();
intent.setClassName("com.sony.dtv.browser.webappruntime","com.sony.dtv.browser.webappruntime.WebAppRuntimeActivity");
intent.putExtra("uri","http://examle.com/path/to/your/webapp");
startActivity(intent);

The HTML5 app specified by the intent parameter is launched.