Android Asset Packaging Tool for Python3
Project description
Aapt
Android Asset Packaging Tool for Python3
Example
import aapt help = aapt.aapt('--help') print(help) ls = aapt.ls('./xx.apk') print(ls) apk_info = get_apk_info('./xxx.apk') print(apk_info) apk_info = get_apk_and_icon('./xxx.apk') # save icon from PIL import Image img = Image.open(apk_info['icon_byte_stream']) img.save('./1.png')
API
- aapt(args)
- ls(file_path)
- dump(file_path, values)
- packagecmd(file_path, command)
- remove(file_path, files)
- add(file_path, files)
- crunch(resource, output_folder)
- single_crunch(input_file, output_file):
- version()
- get_apk_info(file_path)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size aapt-1.0.1.tar.gz (1.5 kB) | File type Source | Python version None | Upload date | Hashes View |