Same servicein multiple APKs, only want "best one" to launch

by Watcher » Fri, 18 Dec 2009 01:20:49 GMT


Sponsored Links
 Hi,

I have the same service in multiple APKs. In each of the APKs, I am
going to launch the serivce.
Because the APK are difference "applications" that have been installed
& upgraded at various times, the service implementation in each may be
different. I am trying to figure out a way to make sure startService()
runs the implementation that is newest.

I have been fiddling around with PackageManager and Manifest meta-data
and categories but I can't seem to get my head around it. It's really
a leader-election problem... has anyone ever done this ? Any clues ?

Thanks !

--



Other Threads

1. Slow response of discussion group

I assume that others have noted this as well -- you make a post and it
doesn't appear for hours sometimes.  And then a whole bunch of posts
will materialize at once, when the server catches up somehow.

Kinda irritating, what?  You'd think Google could make their own group
for their own OS respond better than this!

-- 

2. c't magazine on Android apps securit

The German computer magazine c't, one of Europe's largest computer
magazines, published an article on the security of various Android
(and iPhone) apps. Because the OS is as relevant as the apps
themselves, I wrote a mail to the editors to point out this issue. If
they print it, perhaps a wider public discussion will help resolve
this.

I'm still hoping and waiting for an official answer. Google, are you
reading this?
I'm Cc'ing Rich Cannings, whom I believe to be part of the Android
security team. He posted the "Adroid security team introduction" to
full disclosure in 2008. Perhaps he can shed some light on why there
is no official reponse yet.

Regards
jan

-- 

3. Broadcasting and receiving

4. Fwd: Communicate with GSM modem

5. Communicate with GSM modem

6. IntentService instantiation exception

7. Canvas.drawBitmap while setting transparent a given color