ACTION_PACKAGE_REMOVED (or We just deleted 42.)

by Dianne Hackborn » Thu, 25 Feb 2010 10:38:55 GMT


Sponsored Links
 The data has the package name.




>



ACTION_PACKAGE_REMOVED (or We just deleted 42.)

by laphroaig15 » Thu, 25 Feb 2010 13:48:01 GMT


 Ah, I see.  The event is useful.  However, even with the package name,
at that late state, I still couldn't retrieve the app's meta data
bundle from the package manager, correct?  I tried to pull the
packages by uid and they had been deleted.  I assume that the app and
pkg infos are gone as well.  I've already built a registry now, but
I'm still curious.

thanks,

Jess




> >


Sponsored Links


Other Threads

1. AccountManager Authenticator only runs once per emulator restart.

I have written a simple Authenticator service to work with the new
AccountManager API introduced in 2.0.  When I launch a test app that
uses the authenticator the authenticator service is launched (as
expected) and it's onBind method is called.  However, if I run my test
application a second time in the same emulator (without restarting the
emulator) my service is not launched and onBind is not called.

So far the only way I have found to get my service to launch and
onBind to call again is to restart the emulator, which is a very time
consuming process.  I have looked at the Devices view in Eclipse and
ensured that all of my processes have been killed, just in case one of
them was just being rebound to or something.

-- 

2. How do I debug another application / service?

I am trying to write an Authenticator that works with the new
AccountManagement system.  When my application runs the system will
eventually spawn a process for the authenticator service that I
wrote.  I would like to be able to debug that service, but since it's
not part of the application currently being debugged the de{*filter*}
isn't attached to it by default.  I would like to have the de{*filter*}
attach to the service as soon as soon as it is spawned so I can step
through the startup process.

I am aware that I can just put Log.d(...) between every line of
code... but that seems very far from optimal for debugging.

-- 

3. Page Cycler test flakiness on Android

4. Error Eclair for ADP1 compilation

5. Warning when using BufferedInputStream

6. is it possble to covert .apk file iPhone compatibale device file

7. Create a BKS keystore file for SSL support of web server and handshake process