sdex / ActivityManager

Launch any application activity
Apache License 2.0
592 stars 33 forks source link

[Feature request] Add sort options and favorites #54

Closed klxiaoniu closed 6 months ago

klxiaoniu commented 1 year ago

Sort app list by app name, package name, install time, update time, etc. Favorites list, people can add frequently used activities into the list.

This app is good. Thank you very much!

Galbert01 commented 1 year ago

Revoke this please

On Thu, Aug 24, 2023, 7:33 PM 快乐小牛 @.***> wrote:

Sort app list by app name, package name, install time, update time, etc. Favorites list, people can add frequently used activities into the list.

This app is good. Thank you very much!

— Reply to this email directly, view it on GitHub https://github.com/sdex/ActivityManager/issues/54, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5THL6KZXBPYVV7BBSCIZS3XW37WBANCNFSM6AAAAAA34SNTLU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

drogga commented 7 months ago

Yes, I also want to do the same thing, to have a simple and easy accessible sort button to quickly change the order of the apps list to update time (latest on top). @sdex please consider it. ;)

sdex commented 7 months ago

@drogga At this point I might consider only a PR :)

I was thinking about something similar to this

Untitled

Bottom sheet with access from the main screen, without the preview., just several fields to sort, order (ASC, DESC), and move display and filter toggles from settings.

drogga commented 7 months ago

Only a PR ? > That's unfortunate, because I don't have any coding skills, I wish I could contribute, but I can't, also I don't think we want or it needs to be so complicated, like it's a package manager like "My APK" or the "App Manager" by Muntashir Akon here on GH, only a simple/basic handful of sorting options, I don't think it makes sense to overcomplicate it, with any package details, like SDKs, ABIs and whatnot, which will probably need more permissions, dependencies/libraries or whatever and increase the package size + make it heavier, so not anything like that, just by Name (as currently), Update/install time or perhaps Package Name, even tho I don't think it's necessary or makes sense, just like ascending / descending, because I don't see why someone will need to sort them Z-A, instead of A-Z or newest on bottom - nah, I hope you have time to reconsider this and implement it if you have time in an afternoon.

drogga commented 7 months ago

Hi all, sorting has been implemented - Thank You @sdex. BTW, if you don't plan to add favorites support in future, then this can/should be closed IMO.

sdex commented 7 months ago

I'm considering adding some quick access to an application. To quickly start an activity there is shortcut support.

drogga commented 7 months ago

I've set the sorting to latest updated on top and it turns out that the list doesn't automatically scroll to top to show the newly found and I had to manually scroll it up, because I had no idea when I launched it that there are more apps in the list and that they will show up above the default scroll point =0, you can test this by installing a new app, opening the A.M. and wait a second for the new one to be fetched (the scanning to finish) and I hope that you get what I mean, because I don't think I can explain it better than that.

sdex commented 6 months ago

The app already supports activity shortcuts. Application shortcuts support was added in version "5.4.8".

Screenshot_20240205_132216