Start a Web App
com.google.android.apps.chrome.webapps.WebappManager.ACTION_START_WEBAPP
An intent to start a web app that has been installed on the device as WebApk. This intent is usually only called from within the web apk only.
Use
public void startStartAWebApp(String startUrl, int sourceFlag, String packageName) { Intent intent = new Intent("com.google.android.apps.chrome.webapps.WebappManager.ACTION_START_WEBAPP"); intent.putExtra("org.chromium.chrome.browser.webapp_url", startUrl); // String intent.putExtra("org.chromium.chrome.browser.webapp_source", sourceFlag); // int intent.putExtra("org.chromium.chrome.browser.webapk_package_name", packageName); // String if (intent.resolveActivity(getPackageManager()) != null) { startActivity(intent); } }
Example intent filter
<activity ...> <intent-filter> <action android:name="com.google.android.apps.chrome.webapps.WebappManager.ACTION_START_WEBAPP" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
Apps Providing an Implementation
Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)