Skip to content

fcenesiz/WebLauncher

Repository files navigation

Implicit Intent Usage

Redirect the app to open a webpage

Intent intent = new Intent(Intent.ACTION_VIEW,
                    Uri.parse("https://github.com/fcenesiz"));
startActivity(intent);

Set intent filter tag inside manifest file for weblauncher app

<intent-filter tools:ignore="AppLinkUrlError">
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT"/>
    <data android:scheme="https"/>
</intent-filter>

About

A simple example of how to use implicit intents

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages