If you are running on a device, you can use the Java APIs to get and read
the package and compiled XML files out of it.

If you are running on the host side, "aapt dump xmltree <path to apk> <path
to file inside apk>" will print out a not-at-all-XML-but-human-readable
version of the binary XML file.

On Thu, May 21, 2009 at 2:51 PM, rollbak <[email protected]> wrote:

>
> That is not so simple, because manifest inside APK is converted to a
> binary file which format is unknown.
>
>
>
> On May 21, 2:52 am, Raphael <[email protected]> wrote:
> > APKs are simply zip files. If you have anAPK, you can read its manifest.
> > R/
> >
> > On Wed, May 20, 2009 at 1:49 AM, [email protected]
> >
> > <[email protected]> wrote:
> >
> > > Hi there,
> >
> > > is there some way to retrieve the manifest.xmlof an application from
> > > the market, without installing the application? I think the official
> > > Market Application somehow get this file (or at least parts of it) to
> > > show needed permissions, etc. before installing. I'd be interested in
> > > seeing the IntentFilters defined by applications and their activities
> > > and processing this information in my application.
> >
> > > thanks,
> > > Brian
> >
>


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

Reply via email to