tunitowen / devdrawer Goto Github PK
View Code? Open in Web Editor NEWDev Drawer Android App
Dev Drawer Android App
Add import / export to JSON / XML
Forked it and have been working on updating the app a bit with material design and to work with gradle, but I noticed that the option to label a widget isn't present. Is the repo up to date or amy I missing something?
The widget is incredibly useful.
I am kinda minimalist Android user. I had only 1 home screen until this application. Now I have 2 and this covers the half of the screen. When I make it small, it becomes ugly and hardly useable.
Do think it is a better idea to do a different layout when the widget is small? I can do it when I get a chance if you are ok.
java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
at java.util.ArrayList.get(ArrayList.java:304)
at com.owentech.DevDrawer.appwidget.DDWidgetViewsFactory.getViewAt(DDWidgetViewsFactory.java:72)
at android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.getViewAt(RemoteViewsService.java:164)
at com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact(IRemoteViewsFactory.java:85)
at android.os.Binder.execTransact(Binder.java:351)
t dalvik.system.NativeStart.run(Native Method)
Sorting option for the widget
Theme PreferenceActivity to match app theme
Theme alert dialog to match app theme
Firstly - this is cool app and it has been a real time saver for me during app development. Thanks!
One issue I have with it is that every time an app is launched from the drawer widget, it uses FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TOP to (sort of) reset the task state each time. This makes it difficult to test how a user will actually resume an app if its already running in a backgrounded task. It can also lead to duplicate instances of the root activity in the history stack if I did not completely back out of an earlier task.
I'd prefer if it used FLAG_ACTIVITY_NEW_TASK with FLAG_ACTIVITY_RESET_TASK_IF_NEEDED instead, which are the flags the stock launcher app uses when an icon on the home screen is pressed. This would mean any existing task with the same affinity would come back to the foreground in its previous state, otherwise a new task would be launched as before.
With this you could test real-world launch behaviour without having to also manually add an icon to the home screen or search for the app in the apps drawer.
I understand what you're trying to do with FLAG_ACTIVITY_CLEAR_TOP, so maybe this new behaviour could be an option that can be enabled in the settings?
I've made and tested the changes in a local fork so I'm happy to submit a pull request if you're interested.
I love this app! I was about to recommend it to some colleagues, and then I saw it wasn't on the Play Store anymore ๐
Any chance you'll put it back up?
Thanks!
If you set the system locale to an RTL language (such as Hebrew, Arabic etc.), all the content in the widget is missing.
Great app btw. Thanks!
Done.. commit coming later today
Hi,
I had a bug in my app that caused it to crash when launched by DevDrawer.
Reason is that DevDrawer do not set a action LAUNCHER when executing the activity.
I think it should
Can hang device when many apps installed
I can't seem to find licensing information, is there a license you had in mind for the code in this repo?
Step to reproduce:
For me the widget is updated only after a long time the app has been installed (dunno if that happen when Android decide to kill the widget and thus it is re-created or not).
Tested on a Samsung Nexus S.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.