Last active
November 1, 2016 09:41
-
-
Save danielvlopes/21b5936d94d11d36f957271103232dd9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uri uri = new Uri.Builder() | |
.scheme("https") | |
.authority("ifttt.com") | |
.appendPath("applets") | |
.appendPath("_YOUR_APPLET_ID_") | |
.appendPath("embed") | |
.appendQuery("redirect_uri", "yourscheme://yourhost/yourpath") | |
.build(); | |
Intent intent = new Intent(Intent.ACTION_VIEW, uri); | |
activity.startActivity(intent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment