actually, the code of extraction icon is inside aapt which is from base package of android source code. I create a .net dll to display icon in explorer, for now, I easily include aapt.exe into resorce, extract it and run it when needed. I will transform the code into native .net language (hopefully)...
try it if you are interested. http://code.google.com/p/apkshellext/ On 10月8日, 下午2时54分, KK <[email protected]> wrote: > Hi, > > I found the path is stored in resources.arsc, but where to indicates > the index? > > BR, > KK > > On Oct 7, 11:48 am, KK <[email protected]> wrote: > > > > > Sorry, I'm NOT using android API.... > > > On Oct 7, 11:40 am, KK <[email protected]> wrote: > > > > Actually I'm doing a shell extension for windows, showing theiconof > > > apk files in windows, isn't it a good idea? :D > > > so I want to know where theiconlocated in apk file, and I'm using > > > android API... > > > > Thanks for your tip, at least I can go and see the source code of > > > packagemanager.. > > > > BR, > > > KK > > > > On Oct 7, 2:58 am, Justin Anderson <[email protected]> wrote: > > > > > What exactly are you trying to do with thisicon? > > > > > You can get theiconof an installed application on your phone via > > > > PackageManager.getActivityIcon() or PackageManager.getApplicationIcon(). > > > > >http://developer.android.com/reference/android/content/pm/PackageMana... > > > > > Thanks, > > > > Justin > > > > > ---------------------------------------------------------------------- > > > > There are only 10 types of people in the world... > > > > Those who know binary and those who don't. > > > > ---------------------------------------------------------------------- > > > > > On Tue, Oct 6, 2009 at 12:50 AM, KK <[email protected]> wrote: > > > > > > Hi, > > > > > > I'm trying to get theiconfrom an apk file, but I found not every app > > > > > use the theicon.png under res/, and androidmanifest.xml is compiled > > > > > inside apk, where I can get the position information? > > > > > > Thx & BR, > > > > > KK- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

