On Sun, Jan 16, 2011 at 4:21 PM, John Gaby <[email protected]> wrote:
> This seems to be what I am looking for, however, when I call it with > the package name of the other app, it returns null (I get nothing from > logCat either). I can use the PackageManager and retrieve the info > for that same package, so I am pretty sure I have the name correct and > the app is installed. Do you have any ideas about what might be > wrong? > Well no idea from just your paragraph description there. :) This API certainly works -- it is used a lot, for things like inflating the UI of app widgets. > I am using a sharedUserId, however, the two apps are unified. In > fact, I would much rather have just a SINGLE app. However, I want the > user to be able to install the app to the SD card, but it includes a > AppWidget component (which is optionally used) which cannot reside on > the SC card. This seems to be forcing me to create two apps, may main > app, and a separate app to handle the AppWidget. If there is a better > way to do this, I am all ears. > Oh my. Well personally I would really strongly discourage doing that. I think you are going to end up with continual pain in app maintenance, not to mention support for your users dealing with multiple apps like this. -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

