DevDrawer icon indicating copy to clipboard operation
DevDrawer copied to clipboard

Doesn't refresh when installing a new matching app

Open danielesegato opened this issue 11 years ago • 5 comments

Step to reproduce:

  1. configure the DevDrawer with your package (com.example.*)
  2. add the widget your home
  3. install an application with the com.example. ... package from Eclipse or with ADB anyway
  4. 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.

danielesegato avatar May 30 '13 18:05 danielesegato

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?

intrications avatar May 30 '13 22:05 intrications

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)

danielesegato avatar May 31 '13 20:05 danielesegato

@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 avatar Jun 01 '13 19:06 tunitowen

@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!

danielesegato avatar Jun 02 '13 09:06 danielesegato

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.

xMikeTx avatar Apr 06 '17 13:04 xMikeTx