Re: [android-developers] How to read a object array

2011-04-21 Thread TreKing
On Mon, Apr 18, 2011 at 8:25 AM, Perry168 perry...@netvigator.com wrote:

 But I don't know how to withdraw the provider's name and package name from
 Object xx.


Why convert the list to an Object[] in the first place? Just use it
directly.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to read a object array

2011-04-20 Thread Perry168
Dear all,

I faced a question, I hope who can  help me.
Today, I used following method to get all installed package
information.

Object [] xx =
paramContext.getPackageManager().getInstalledPackages(8).toArray();

But I don't know how to withdraw the provider's name and package name
from Object xx.

would you mind to teach me?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en