Hi,

I used a command "Object xx =
this.getPackageManager().getInstalledPackages(8);" to get the
Installed Packages List.

(Cartured from expressions at eclipse)
                "xx"                     (id=830060591992)
        Array   Object[48]  (id=830002602808)
                [0]     PackageInfo  (id=830060592240)
                [1]     PackageInfo  (id=830060593672)
                [2]     PackageInfo  (id=830060596416)
                [3]     PackageInfo  (id=830060597480)
                [4]     PackageInfo  (id=830060598488)
                [5]     PackageInfo  (id=830060599480)
                [6]     PackageInfo  (id=830060600600)
                [7]     PackageInfo  (id=830060603248)
                [8]     PackageInfo  (id=830060605456)
                [9]     PackageInfo  (id=830060606504)
                [10]    PackageInfo  (id=830060609704)
                [11]    PackageInfo  (id=830060612576)
                [12]    PackageInfo  (id=830060613568)
                [13]    PackageInfo  (id=830060614528)
                [14]    PackageInfo  (id=830060615480)
                [15]    PackageInfo  (id=830060616560)
                [16]    PackageInfo  (id=830060617456)
                [17]    PackageInfo  (id=830060618560)
                [18]    PackageInfo  (id=830060619680)
                [19]    PackageInfo  (id=830060620960)
                [20]    PackageInfo  (id=830060621864)
:
:
: (etc)


How can I withdraw the shareUserId ,  providers[0]'s name,
providers[0]'s packageName and processName from the Object xx? Because
the Object xx have a complex structure, I haven't any concept.


(Cartured from expressions at eclipse)
[25]                            PackageInfo  (id=830060632120)
activities                                      null
applicationInfo                 ApplicationInfo  (id=830060632472)
configPreferences                               null
gids                            null
instrumentation                 null
packageName                     "com.android.providers.telephony" 
(id=830060632200)
permissions                     null
providers                                       ProviderInfo[4]  
(id=830060633280)
        [0]                     ProviderInfo  (id=830060633320)
        applicationInfo         ApplicationInfo  (id=830060633680)
        authority                               "telephony" (id=830060634576)
        enabled                 true
        exported                                true
        grantUriPermissions                     false
        icon                    0
        initOrder                               0
        isSyncable              false
        labelRes                                0
        metaData                                null
        multiprocess            true
        
name                    "com.android.providers.telephony.TelephonyProvider" 
(id=830060633408)
        nonLocalizedLabel                       null
        packageName             "com.android.providers.telephony" 
(id=830060633560)
        pathPermissions         null
        processName             "com.android.phone" (id=830060634488)
        readPermission          null
        uriPermissionPatterns   null
        writePermission         null
        [1]                     ProviderInfo  (id=830060634648)
        [2]                     ProviderInfo  (id=830060636184)
        [3]                     ProviderInfo  (id=830060637720)
        receivers                               null
        requestedPermissions    null
        services                                null
        sharedUserId            "android.uid.phone" (id=830060632384)
        sharedUserLabel         0
        signatures                              null
        versionCode             4
        versionName             "1.6" (id=830060632320)


Help.........Pls........!

-- 
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

Reply via email to