Closed Bug 1353185 Opened 9 years ago Closed 9 years ago

[geckoview] Allow GeckoViewExample to open arbitrary URIs

Categories

(Core Graveyard :: Embedding: APIs, enhancement)

enhancement
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: snorp, Unassigned)

Details

Attachments

(1 file)

Just via the Intent. That way we can easily load whatever via 'adb shell am start'.
Comment on attachment 8854491 [details] Bug 1353185 - Convert GeckoViewExample to use singleTop launch mode https://reviewboard.mozilla.org/r/126444/#review128984 Should probably also implement `onNewIntent` so you don't have to kill the activity everytime. ::: mobile/android/geckoview_example/src/main/AndroidManifest.xml:12 (Diff revision 1) > > <uses-library android:name="android.test.runner" /> > > <activity android:name="org.mozilla.geckoview_example.GeckoViewActivity" > android:label="GeckoViewActivity"> > - <intent-filter> > + <intent-filter android:priority="999"> I don't think you need `android:priority="999"` ::: mobile/android/geckoview_example/src/main/AndroidManifest.xml:29 (Diff revision 1) > + <data android:scheme="http" /> > + <data android:scheme="https" /> > + <data android:scheme="about" /> > + <data android:scheme="javascript" /> > + </intent-filter> > + <intent-filter> I think you can merge this into the previous <intent-filter>
Attachment #8854491 - Flags: review?(nchen) → review+
Pushed by jwillcox@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e521b2604a41 Open the passed-in URI in GeckoViewExample, if any r=jchen
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Pushed by jwillcox@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/02ab056d454b Convert GeckoViewExample to use singleTop launch mode r=jchen
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: