JG Web Designs - Aurora, IL website design, development, SEO, SMM
delivering simple, effective website solutions
630-674-9763
[email protected]
  • Home
  • About
    • What's new
    • Contact
  • Portfolio
    • Testimonials
  • Business
    • Social Media Marketing
    • Lifecycle
  • Programming Services
    • Android development tips and tricks

Extracting manifest info from an APK file

7/2/2015

7 Comments

 
If you ever need to extract information from a APK's manifest file (e.g. to get the name of the launch activity),

You can use Android application packaging tool (AAPT) found under the build-tools folder under your Android SDK installation

$ aapt dump --values xmltree <name>.apk AndroidManifest.xml

and then you have to parse the output to find needed info. The output is a little "rough" but usable.

The parts in bold above are fixed/required.  The "<name>.apk" is the name of the APK file from which you're extracting the manifest.

You probably want to redirect the output to a local file to have for future reference, since the line above just outputs to the screen.  So...for example

C:\Eclipse_ADT\adt-bundle-windows-x86_64-20140702\sdk\build-tools\17.0.0> aapt dump --values xmltree <app-name>.apk AndroidManifest.xml > C:\temp\app-name_Manifest.txt


7 Comments
Singles Chat Kansas link
3/20/2021 11:56:25 pm

Hello maate nice post

Reply
Reemsingh link
11/30/2023 04:33:32 am

Genuine information

Reply
mark link
1/25/2024 12:19:07 pm

Stumbled upon this APK that perfectly complements my Java development on Android! The synergy between the APK and Java functionalities is impressive. Streamlining processes and enhancing the overall Java experience on my device.

Reply
smith link
1/25/2024 12:22:18 pm

Just discovered this amazing APK for my Android device, and it's a game-changer! The seamless integration and compatibility with Android make it a must-have

Reply
Lightroom Mod Apk link
4/1/2024 01:04:20 pm

A photo and video editor for creative, innovative lovers and experts of Lightroom Mod Apk. It requires users to improve and control their web content, guaranteeing it meets their criteria. These flexible editors provide a large range of functions, such as color and shade adjustment cropping, unique impacts, and shifts, permitting customers to change raw pictures and video footage right into refined works of art. with user-friendly interfaces that control picture and video clips.

Reply
Lightroom Mod Apk link
5/26/2024 10:05:36 am

The Lightroom Mod app is a powerful image editing tool that offers a wide variety of premium features for free on Android devices. By downloading the latest version of the Lightroom Mod app, users can access a range of advanced functionalities, enhancing their photo editing experience without any cost. This modded version of Lightroom stands out as one of the best tools for improving and enhancing the visual appeal of your photos, adding a touch of brilliance to every image.






Reply
Jade link
9/2/2024 09:35:09 pm

Nice blog, thanks for posting

Reply



Leave a Reply.

    Picture

    Unless stated otherwise, everything discussed herein is related to development I've done on semi custom hardware, (Freescale-based, derived from a FS reference platform) with a rooted BSP/OS (also based on a Freescale reference build).  I have not built the BSP (nor have I ever built a BSP)

    Author

    John Goluch has been a software developer since 1989. He has developed code for a variety of embedded systems in Assembly and C, for the web in HTML/JS/PHP, and mobile devices in Qt/C++ and Android/Java.  Content here comes from "in the weeds" level of research and discovery related to Android development

    Archives

    January 2020
    July 2015

    Categories

    All

    RSS Feed

JG Web Designs | Aurora, IL 60504 | 630.674.9763 | [email protected]