I would be happy to accept a patch to aapt to have it output those as XML. The reason it isn't there is that it isn't as easy to do as what is there now.
Parsing .dex files is well outside the domain of aapt, though. On Wed, Dec 1, 2010 at 5:06 AM, Bob Kerns <[email protected]> wrote: > Ah, you beat me to the answer, excellent. > > But when checking my answer, I realized that there's no way that I can > see to extract the original XML. 'xmltree' is a pain to decode, though > I'm sure it's of great help to that one guy who maintains the XML > encoding/decoding code! > > It would be easy to output equivalent XML with an 'aapt dump xml <path/ > to/apk> <e.g. res/layout/main.xml>', there have been a number of times > I would have found this very helpful - mostly to be sure I was > debugging what I thought I was debugging! > > What I'd really like to see would be a .apk inspector integrated into > Eclipse. > > It'd be great if it could also dive into class.dex and at least tell > us what's there. I can't find a way to do this now? > > On Nov 29, 10:45 pm, Dianne Hackborn <[email protected]> wrote: > > aapt dump badging <path/to/apk> > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

