You guys are exactly right - I used my own custom shared ID and made
sure to build the .apks on the same machine (thus reusing the same C:
\Documents and Settings\Cheryl.Sedota\Local Settings\Application Data
\Android\debug.keystore signature) and it works perfectly.

THANKS!!
Cheryl

On Aug 19, 8:38 pm, hackbod <[EMAIL PROTECTED]> wrote:
> The android:signature attribute was a temporary facility until .apk
> signing was implemented.  Now that it is, the actual .apk signature is
> used (so this is actually secure).  Thus, for two .apks to share the
> same android:sharedUserId, they must be signed with the same
> certificate.
>
> From Xav's comments, it sounds like you are signing your .apks with
> different certificates.
>
> On Aug 19, 3:43 pm, Cheryl Sedota <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > In the past Diane showed me how to use two attributes of the Android
> > manifest in order to get ActivityGroups working properly (i.e. all the
> > apps whose activities will be combined using the ActivityGroup will be
> > accessible) - those attributes are 'sharedUserId' and 'signature'.
>
> >http://groups.google.com/group/android-developers/browse_thread/threa...
>
> > This is what I had working in the past:
>
> > <manifest xmlns:android="http://schemas.android.com/apk/res/android";
> >         package="com.frogdesign.desktop"
> >         android:sharedUserId="android.uid.system"
> >         android:signature="android.signature.system">
> > ...
>
> > With the beta SDK that was just released, this mechanism is broken, as
> > the 'signature' attribute is no longer valid.  Please advise on how to
> > implement ActivityGroups where Activities are in different apps with
> > the new SDK.
>
> > The docs still indicate that the signature is still required for
> > userid match to 
> > occur:http://code.google.com/android/reference/android/R.styleable.html#And...
>
> > ... and in the logs I see:
>
> > From the console:
> > [2008-08-19 17:26:52 - FrogDesktop] Installation error:
> > INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
>
> > From logcat:
> > DEBUG/PackageManager(56): Scanning package com.frogdesign.desktop
> > DEBUG/PackageManager(56): Shared UserID android.uid.system (uid=1000):
> > packages=[PackageSetting{433aa490 com.frogdesign.desktop/1000},
> > PackageSetting{43540b50 com.frogdesign.desktop/1000},
> > PackageSetting{434275a0 com.android.providers.settings/1000},
> > PackageSetting{434eeea0 android/1000}]
> > ERROR/PackageManager(56): Package com.frogdesign.desktop has no
> > signatures that match those in shared user android.uid.system;
> > ignoring!
> > WARN/PackageManager(56): Package couldn't be installed in /data/app/
> > com.frogdesign.desktop.apk
>
> > Thanks!!
> > Cheryl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to