Closed
Bug 1353185
Opened 9 years ago
Closed 9 years ago
[geckoview] Allow GeckoViewExample to open arbitrary URIs
Categories
(Core Graveyard :: Embedding: APIs, enhancement)
Core Graveyard
Embedding: APIs
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 hidden (mozreview-request) |
Comment 2•9 years ago
|
||
| mozreview-review | ||
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
| Comment hidden (mozreview-request) |
Comment 5•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox55:
--- → fixed
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
Comment 7•9 years ago
|
||
| bugherder | ||
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•