DevDrawer
DevDrawer copied to clipboard
Doesn't refresh when installing a new matching app
Step to reproduce:
- configure the DevDrawer with your package (com.example.*)
- add the widget your home
- install an application with the com.example. ... package from Eclipse or with ADB anyway
- look at the widget: it stay empty
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.
This is working for me on a Nexus 4. The widget refreshes after a second or two.
Check the logcat as you install the new app. Are you getting something like
D/DevDrawer-AppInstalledReceiver(24365): Doesn't Match Filter
or
D/DevDrawer-AppInstalledReceiver(29304): Matches Filter
?
Are you using the stock launcher?
Hi @intrications
Yes I didn't changed the stock launcher.
I execute the app from eclipse attaching the device with the USB Cable.
I still have to look in the log for those messages, I'll get back when I try (sorry had some issue with my work laptop lately)
@mastro The widget should update as soon as the app is installed. As long as the filter picks up the app. If you could let us know what the logcat says that would be great
@tunitowen This is odd I can't reproduce anymore.
It must have been my phone.
Sorry for making you waste time!
Thanks again for your app ;) --- would be totally perfect If I could choose from the widget if executing the app or an activity of my choice! -- Maybe I'll look into it myself to contribute if I found the time to do so ;)
Bye!
Hi there, just wanted to let you know that I had this issue as well with a XIAOMI phone. The reason was that the DevDrawer app did not have the autostart permission
/BroadcastQueueInjector: Unable to launch app com.owentech.DevDrawer/10133 for broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.facebook.katana flg=0x4000010 (has extras) }: process is not permitted to autostart
As soon as I added the DevDrawer to the autostart in the permission settings of the XIAOMI phone, everything worked fine.
Thanks for the nice app.