AcDisplay
AcDisplay copied to clipboard
Launch any App by Corner Gesture
Hello !
Loved the 3.6 version.
I have a small feature request. Why not enable the launching of ANY user selected apps through corner gestures? Why only Dialer and Camera? If you can include this, it'll really be helpful.
Thanks.
@AChep, AcDisplay is already my favorite lockscreen because I love the simplicity and minimality of it, but if you added this, it would be even more perfect!
I have forked your code and tried to find where this stuff is handled, without luck, so many classes, haha.
@hipio yeah, this feature is in my to-do list. However, https://github.com/AChep/AcDisplay/blob/master/project/app/src/main/java/com/achep/acdisplay/ui/CornerHelper.java is that class you have been looking for.
@AChep Thanks! I'll take a look this weekend (need to finish up some school work first) and see if I can implement it myself. I've added a $5 bounty to this suggestion as a thank you or motivation to work on this. :P
@AChep, where can I find the dialog that shows the possible options? I have added my option and the number in the array.xml (I can select it so that works), changed the config, added my stuff to the CornerHelper and all I need to do now is let the user pick an app they want to launch and save it's package name. But to do that, I need to know where the dialog is created. :P
@hipio currently there's no custom dialog for that :) You'll have to create a one. Example: https://github.com/AChep/AcDisplay/tree/master/project/app/src/main/java/com/achep/acdisplay/ui/preferences
@AChep Well, I got everything working, except that the icon of the app is totally black (it uses the PackageManager to extract the Drawable from a custom app, which I assign to mDrawable in CircleView in the updateIcon() function). Not sure where the Drawable is made black though. Must be an inversion somewhere as you use white icons.
EDIT: Nevermind, fixed it. I just realized that I'm currently trying to save 4 app package names in 1 value. That ain't going to work. Need to fix that and then I should be ready to send you a pull request. Probably ain't the prettiest thing you have seen (has been a while since I used Android).
@AChep Pull request created. https://github.com/AChep/AcDisplay/pull/93#partial-pull-merging
Is there any update on this as it is a neat feature?
@AChep Any ETA on when my push (#93) is getting merged?
I'm going to assume that #93 this will not be merged.
Just curious as to the status of this issue/pr? Seems dormant atm, but this would be a great feature.
I'm taking care of this PR now.