Android: Add home screen folder/file shortcut widget

Created on 23 Oct 2018  ·  17Comments  ·  Source: nextcloud/android

Requesting the ability to drop a shortcut on Android home screens that link to specific folders or files. Thanks!

enhancement

Most helpful comment

1x1 widget is what I think would be the most useful. Thank you

All 17 comments

GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/2444 (Add splash screen for Nextcloud), https://github.com/nextcloud/android/issues/2644 (Add possibility to navigate in folder hierarchie), https://github.com/nextcloud/android/issues/483 (Crash for email-shared folders/files), https://github.com/nextcloud/android/issues/2572 (When adding new folder automatically enter folder), and https://github.com/nextcloud/android/issues/785 (Proposal: Add create file button).

We discussed whether to go for widgets or actions (long press on icon and have multiple options). Those actions can also be placed on work space.

Would this also be a way? Then we can avoid to support both systems.

(dev note: according to https://developer.android.com/guide/topics/ui/shortcuts/ these actions can be done dynamic, so that is should be possible to let user pick their folder)

I'd personally prefer a dedicated shortcut vs. long hold on the app icon. I didn't even know you could long hold on an app, and akso I don't think it's intuitive.

This is also only available with 7.1.
The main reason is just that there are not enough resources to have both…

I migrated from Dropbox where where shortcuts were available, which is what prompted me to post this feature request. Personally, I think the shortcut would be the most intuitive and most popular feature vs. the other options mentioned.

To clarify the wording.

This is called app shortcuts:
image

This is a 1x1 widget from Dropbox, next to the app launcher
screenshot_20181024-142914_trebuchet

At least on my test device, Dropbox only has the 1x1 widget.

1x1 widget is what I think would be the most useful. Thank you

Any ETA for this feature? Thanks!

At least for me, app shortcuts can be added as separate icons as well (just long tap the action and drag it somewhere :-) So if those can be implemented, they can be used in either way.

Any news about this?

Not really, due to limited dev capacity, we prioritize and this is not top priority.
However, if there is a PR, I am more than happy to review it (or help integrating it)

Not really, due to limited dev capacity, we prioritize and this is not top priority.
However, if there is a PR, I am more than happy to review it (or help integrating it)

My primary interest in this is for storing my password vault in a location I can access from multiple devices. Everytime I want to access it I have to open next cloud, navigate to folder, open the password vault file, the password vault app opens. 4 clicks that could be 1. Thanks for your consideration! I think this could be an attractive feature for people to use this app to enable streamlined personal password storage management.

use this app to enable streamlined personal password storage management

That rather sounds like using something like keepass2android and let the vault app deals with it (the mentioned app can connect to Nextcloud itself and managed the vault(s) and keeps them in sync).

use this app to enable streamlined personal password storage management

That rather sounds like using something like keepass2android and let the vault app deals with it (the mentioned app can connect to Nextcloud itself and managed the vault(s) and keeps them in sync).

I'll open a new feature request for Keepass2Android. It looks like it doesn't support Nextcloud's TOTP feature. I get error "Unsupported auth scheme"

I was able to get Keepass2Android working with Nextcloud's TOTP authentication by creating an App Password on this page on my Nextcloud server: /index.php/settings/user/security

I found this solution based off of this thread: https://github.com/PhilippC/keepass2android/issues/1

This gets me the solution I was looking for, so I no longer have an interest in this feature request.

Thank you!

Glad to hear you found a solution @Dho100 👍

I was interested in this feature as well, so I implemented a version using dynamic+pinned shortcuts. However, only a pretty low number of dynamic shortcuts (10) are allowed per activity. I believe this is too restrictive for the average user. I could easily come up with more than 10 shortcuts I wanted to pin to my home.

So I'd vote to try implement this feature using widgets. Other opinions? Should I go ahead?

EDIT: I was wrong. An unlimited number of pinned shortcuts can be created, and I erroneously assumed they each required a dynamic shortcut. So the approach with shortcuts does work. Should I create a merge request?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JSoko picture JSoko  ·  3Comments

eppfel picture eppfel  ·  3Comments

tobiasKaminsky picture tobiasKaminsky  ·  3Comments

rainer042 picture rainer042  ·  3Comments

ThaDaVos picture ThaDaVos  ·  3Comments