[Q] size of apk file - Android Q&A, Help & Troubleshooting

Hi Friends
My name is Katy Peterson i m working as android developer i have one doubt about apk file " How to reduce the size of apk file?"
Please help me to reduce apk file ....
Thanks & Regards
Katy Peterson

Mainly, on file size affects images and sounds used in the application. You can compress it's more using special programs for compressing sounds and images.
Also, using of ProGuard decreases size of apk file.

Related

[APP] Z-archiver

I just want to share an awesome file extractor/browser with you guys.....
Some features:
ZArchiver - program to
manage archives (archive
manager). The program has
a simple and functional
interface. ZArchiver lets
you: * Create following
archive types: 7z (7zip), zip,
bzip2 (bz2), gzip (gz), XZ,
tar; * Decompress archive
types: 7z (7zip), zip, rar,
bzip2, gzip, XZ, iso, tar, arj,
cab, LZH, LZMA, xar, tgz, tbz,
Z, deb, rpm; * View archive
contents: 7z (7zip), zip, rar,
bzip2, gzip, XZ, iso, tar, arj,
cab, LZH, LZMA, xar, tgz, tbz,
Z, deb, rpm; * Compress and
decompress password-
protected archives; * Create
and decompress multi-part
archives: 7z, rar
(decompress only); * Partial
archive decompression; *
Open compressed files; *
Open an archive file from
mail application. Key
features: * Multithreading
support (useful for
multicore processors); *
UTF-8/UTF-16 support in
filenames. Allows you to
have national symbols in
compressed filenames; * No
need to enable multiselect
mode. You can select files
by clicking on icon to the
left of the filename;
Attention! The program is in
testing phase now. Any
notes are welcome. You can
send them by e-mail or just
leave comment. FAQ: Q:
Program is not working
correctly? A: Send an email
to the author for a detailed
description of the problem.
Q: How to compress file? A:
Select all files you wish to
compress by clicking on
icons(to the left of
filenames). Click on one of
selected filenames and
choose "Compress" item
from menu. Set desired
options and pres OK button.
Q: How to extract files? A:
Click on archive name and
select suitable option
("Extract Here" or other).
Keywords and tags: Archiver
7z RAR ZIP TAR GZIP BZIP2
tar.gz tar.bz unzip unrar
untar 7-Zip WinZip WinRAR
password protected encrypt
decrypt ZipCrypto AES-256
compress decompress
create archive unicode
UTF-8 UTF-16 android zip
android rar zipper.
D/L: https://play.google.com/store/search?q=zarchiver
Enjoy
Last update on March 25th ... But i'll try it just for see
Halco said:
Last update on March 25th ... But i'll try it just for see
Click to expand...
Click to collapse
Updates will be. After the exam I will continue to work on the application
Ant-ON said:
Updates will be. After the exam I will continue to work on the application
Click to expand...
Click to collapse
you are the dev of Zarchiver?:what:...could you add copy/paste feature too?..otherwise great work...i like the app very much
rkoby13 said:
you are the dev of Zarchiver?:what:...could you add copy/paste feature too?..otherwise great work...i like the app very much
Click to expand...
Click to collapse
Yes, I'm a developer of the ZArchiver.
I'll try to add this feature in the next version.
i use this app from a long time and love it bcz it extract and compress files so fast and have so many formats to compress files into.really this is best app for archives.you did a great work on making this app.just one thing it cant compress files into rar formats.
Ant-ON said:
Yes, I'm a developer of the ZArchiver.
I'll try to add this feature in the next version.
Click to expand...
Click to collapse
sorry for asking....but i have to....any ETA on the new version?..don't wanna push you to hard
rkoby13 said:
sorry for asking....but i have to....any ETA on the new version?..don't wanna push you to hard
Click to expand...
Click to collapse
Now not all of the old code rewritten. Version 0.5 is very limited (not all that was in version 0.4) in the functionality and has a lot of flaws. Now I can not upload it.
Ant-ON said:
Now not all of the old code rewritten. Version 0.5 is very limited (not all that was in version 0.4) in the functionality and has a lot of flaws. Now I can not upload it.
Click to expand...
Click to collapse
@Ant-ON ...
Great app. Currently using v0.4.1 and is the reason I made the switch entirely to 7z archives (I was formerly a .rar junkie). Aside from the AES-256 encryption, my favorite part is the fact both files and file names can be encrypted. The only way to encrypt files, imo. :thumbup::thumbup:
I really like the overall look & feel (esp. the.compact line spacing) and all the options for creating various archives.
If / whenever basic file management functionality gets included (rename, cut / copy, move / paste, create folders, etc), it will be my go-to file manager.
@ant-on(if you still check this thread) can your app decompress files that are split into volumes? I know I can compress into different volumes but can I decompress them? Thanks
Sent from my GT-I9003 using xda app-developers app
bscraze said:
@ant-on(if you still check this thread) can your app decompress files that are split into volumes? I know I can compress into different volumes but can I decompress them? Thanks
Sent from my GT-I9003 using xda app-developers app
Click to expand...
Click to collapse
For decompress multivolume archive needs click on the first part of it and choose extract.
Open Source?
Zarchiver is the best archiver and unarchiver currently on Android. It supports all major for archive formats. That's why i prefer this app to other archivers on market.
Will you Open Source the app, Ant-ON? It'll make the development faster. If you do, Zarchiver will be the 7zip of Android!
HEXcube said:
Zarchiver is the best archiver and unarchiver currently on Android. It supports all major for archive formats. That's why i prefer this app to other archivers on market.
Will you Open Source the app, Ant-ON? It'll make the development faster. If you do, Zarchiver will be the 7zip of Android!
Click to expand...
Click to collapse
yeah...it's really ...and there's also Total Commander for android which is awesome aswell....
>Sent from my S-II powered by DorimanX<
Ghost Commander
Ghost Commander is better than Total Commander for Android. It's got a lot of features:
*the best 2 panel file manager
*fast and minimalistic
*even more features if rooted!
-root mode file browsing
-mount points viewer
-execute terminal commands
-app explorer: it's not just a simple app manager or viewer. It can dig inside each app, show it's component activities,services etc. You could also create shortcuts on desktop targeting a particular service/activity. I've not seen this feature anywhere else yet.
*and the best part is that it is completely Open Source! Go check out the code in sourceforge.
need some help
seems zarchiver remembers bad password. when opening an encrypted file, if click "cancel", zarchiver will remember this action. then next time, if open the same file, zarchiver will not ask for password but straightly prompt "Error: invalid password".
Ant-ON, could u correct that? thanks
i have problem too

[Q] help me for find xml files

where i find the XML files associated with UI sound like charger_connecting or sound camera
Sounds aren't defined by XML files; they typically are in "assets" or "res/raw" folder inside an APK file.

[APP]File Tools 3.1 Updated!

File Tools 3.1 Updated
Version:3.0
Requirement:Android 2.1+
File Tools is a collection for Tools to preform some useful actions on files.
Now it contains File Renamer,File Finder and Duplicate Finder.In future,i will add more tools based on your suggestions.
File Tools Features:
1.Collections of Useful Tools
2.Completely Ad-Free
3.Easy to Navigate
File Renamer:
Do you want to rename 1000 files or more than of that.Then really you need this tool.You can rename 1000 files by adding Date,Number,Custom Text etc at your desire position easily by this tool.
Features:
1.Custom Text
2.Numbering
3.Date
4.Find & Replace
5.Remove Char
File Finder:
Don't know where your files are placed or saved on your Memory Card and want to Search for your desire file easily.Then use this tool.You can easily locate your desire file by choosing a Filters like File Extensions,File Size etc..
Features:
1.Match Case.
2.Search on desire folders.
3.Filtering
Size limit.
Extension.
Duplicate Finder:
Do you have more files in your Memory Card and also having lot of Duplicate files(Same files found in different folders).Then you can easily search for it and able to delete it.By using this tool you can save more memory.
Features:
1.Byte by Byte Search.
2.Easy to delete.
3.Faster search.
Click to expand...
Click to collapse
Pls try it and Review it.
Market Link:http://bit.ly/JIt2fW
Website:http://www.cybapps.com/view.php?id=8

[APK] Extracting data from Package File in apk.

Did anyone know how can i extract res.package(PACKAGE file type) in apk after we extracting it?..can we get game data such ass picture, sound, texture and 3d model from the apk? Is it possible?

Trim.txt on bootanimation [HELP]

Anyone know what is trim.txt on bootanimation?
can anyone explain how to use it and how to make it ?
Because I see the PA (Paranoid Android) rom bootanimation using trim.txt
You can download from here https://github.com/AOSPA/android_vendor_aospa/tree/sapphire/apex/bootanimation/media
in the folder there are also images that do not use a background
Is there anyone here who can explain in detail to me? Or can you make me a video how to use it until it bootanimation ?
The documentation is here: https://android.googlesource.com/platform/frameworks/base/+/master/cmds/bootanimation/FORMAT.md
I tried to get trim.txt to work but even when you specify background in desc.txt it doesn't seem to work, at least on my system.
Although I looked in bootanimation -> libbootanimation.so and it seems to support trim.txt
Edit: So I solved it. None of the files inside the bootanimation.zip may be compressed.
The PNG files obviously don't need it, but if the text files (like trim.txt) are compressed they will be ignored.
Usually desc.txt is so small that it will not be compressed, but while trim.txt is longer (and repetitive) it could be compressed.
Easy (-est) solution if your zipper is stuck? Rename trim.txt -> trim.jpg, compress as usual, then hexedit the zip in two places to turn jpg into txt.
The attached file is an example of trim'ed animation. It's designed for 1072x1448 so smaller screens will not see anytihng.
OTOH, this will work with any size display if you adjust the numbers in trim.txt
(It shows a countup in the lower right corner.)

Categories

Resources