Closed
Bug 863052
Opened 12 years ago
Closed 12 years ago
Add icon for about://apps to the app drawer/homescreen
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P2)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: elan, Assigned: mhaigh)
Details
(Whiteboard: [A4A] )
Attachments
(1 file, 1 obsolete file)
|
7.91 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
| Reporter | ||
Comment 1•12 years ago
|
||
Interim solution to the uninstall process. This should be fairly straightforward.
Assignee: nobody → mhaigh
Status: NEW → ASSIGNED
Priority: -- → P2
| Assignee | ||
Comment 2•12 years ago
|
||
WIP
Currently shows an icon in the app drawer but uses an existing tab, if there is one, which is unwanted behaviour
Attachment #744073 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 3•12 years ago
|
||
Also the dummy activity shows briefly before Fx launches which doesn't look very good.
| Assignee | ||
Updated•12 years ago
|
Attachment #744073 -
Flags: review?(mark.finkle)
Attachment #744073 -
Flags: feedback?(wjohnston)
Attachment #744073 -
Flags: feedback?(mark.finkle)
Comment 4•12 years ago
|
||
Comment on attachment 744073 [details] [diff] [review]
WIP patch
>diff --git a/mobile/android/base/AndroidManifest.xml.in b/mobile/android/base/AndroidManifest.xml.in
>+ <action android:name="org.mozilla.gecko.LOAD" />
Do we need the new action? Just wondering if we can get by with an existing intent.
>+ <activity android:name=".AppHome"
"AppsHome" ?
>+ android:label="Mozilla Apps"
We should consider if we need to localize this string. We might not, but putting it in the string resources might still be a best practice.
>+ android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
>+ android:windowSoftInputMode="stateUnspecified|adjustResize"
>+ android:icon="@drawable/marketplace"
>+ android:launchMode="singleTask"
>+ android:noHistory="true">
Is there a way to make the activity use a transparent theme? That might help with the flash.
>diff --git a/mobile/android/base/AppHome.java.in b/mobile/android/base/AppHome.java.in
AppsHome.java
This patch seems like a reasonable first attempt. I don't know of any other way to: Get an app in the Android apps list _and_ force it to open a page in Firefox
If anyone has other ideas, please let us know.
Attachment #744073 -
Flags: feedback?(mark.finkle) → feedback+
Comment 5•12 years ago
|
||
Can you not just trigger ACTION_VIEW with a specified component? In other words, "open this URI with org.mozilla.fennec"? That's basically what we do for webapp launcher items now, right?
Comment 6•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #4)
> Comment on attachment 744073 [details] [diff] [review]
> WIP patch
>
> This patch seems like a reasonable first attempt. I don't know of any other
> way to: Get an app in the Android apps list _and_ force it to open a page in
> Firefox
>
> If anyone has other ideas, please let us know.
Just throwing it out there: I think the "Android way" of doing this would be to create a native activity for about:apps (kind of like we do for about:home). That activity could act as a launcher by showing the list of installed apps as an alternative to/replacement for about:apps. It wouldn't even need to be part of the browsing session, and it wouldn't have to show any of the browser chrome, so that might be nice to help decouple webapps from Fennec.
Comment 7•12 years ago
|
||
As an added bonus, if we have a generic view that lists installed webapps, we might be able to reuse it in a widget if we ever go down that road.
| Assignee | ||
Comment 8•12 years ago
|
||
Incorporated suggestion from rnewman in regards to Intent.ACTION_VIEW. Less eager to implement as suggested by bnicholson as this is, from what I know, a temp fix to a part of a larger issue.
Attachment #744073 -
Attachment is obsolete: true
Attachment #744073 -
Flags: feedback?(wjohnston)
Attachment #745207 -
Flags: review?(mark.finkle)
Comment 9•12 years ago
|
||
Comment on attachment 745207 [details] [diff] [review]
Proposed patch
Given our move to APKs, I don't think we want this approach anymore.
Attachment #745207 -
Flags: review?(mark.finkle)
Comment 10•12 years ago
|
||
I'm going to WONTFIX this. If we decide we want to do it anyway, we can reopen.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•