If you want to find out about an application, use
Context.createPackageContext() to create a Context configured for another
application.
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).
On Sun, Jan 16, 2011 at 4:21 PM, John Gaby jg...@gabysoft.com 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
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.
The following is the routine that I wrote to test the function. The
call to manager.getPackageInfo works, but the call to
On Sun, Jan 16, 2011 at 5:19 PM, John Gaby jg...@gabysoft.com wrote:
The following is the routine that I wrote to test the function. The
call to manager.getPackageInfo works, but the call to
GetPackageContents returns null.
What is GetPackageContext in your code? Is that just a typo and
What is GetPackageContext in your code? Is that just a typo and should be
getPackageContext?
Well, now don't I feel sheepish! It was indeed a typo, and the ever
so helpful editor created a GetPackageContext for me and returned
null. Sorry about wasting your time.
As for your other
5 matches
Mail list logo