Commit Graph

1750 Commits

Author SHA1 Message Date
Ryszard Wiśniewski
58e7d6960f Moved publicizeResources() implementation to AndrolibResources. 2010-06-02 13:27:42 +02:00
Ryszard Wiśniewski
be3743e967 Removed HTC resources. 2010-06-02 11:45:00 +02:00
Ryszard Wiśniewski
2eb8b20d40 Use framework files from hard disk when building apk. 2010-06-02 11:39:35 +02:00
Ryszard Wiśniewski
51a429ebd9 AndrolibResources.getFrameworkApk(): fixed small bug, occuring when frameTag is null. 2010-06-02 11:21:37 +02:00
Ryszard Wiśniewski
c3fc711ee2 AndrolibResources.aaptPackage(): added include argument, removed some bad magic. 2010-06-02 11:07:17 +02:00
Ryszard Wiśniewski
c410a27cd8 AndrolibResources.aaptPackage(): create args array using List. 2010-06-02 10:31:25 +02:00
Ryszard Wiśniewski
3d69eb9fd5 +ResTable.listFramePackages() 2010-06-02 10:12:00 +02:00
Ryszard Wiśniewski
0ad4f262a6 Androlib.writeMetaFile(): use default intendation. 2010-06-02 10:11:24 +02:00
Ryszard Wiśniewski
ebfb9e3038 Storing isFrameworkApk bool in apktool.yml instead of guessing it at build time. 2010-06-02 09:37:19 +02:00
Ryszard Wiśniewski
1826c7f65f Added apktool.yml file for storing project meta-data. 2010-06-02 09:32:12 +02:00
Ryszard Wiśniewski
c57b79ff27 +Androlib.getVersion() 2010-06-02 09:08:54 +02:00
Ryszard Wiśniewski
ce9c6304af AndrolibResources.loadFrameworkPkg(): added check for loaded pkg id. 2010-06-02 00:43:31 +02:00
Ryszard Wiśniewski
28d4457481 Moved OutDirExistsException to package brut.androlib.err . 2010-06-02 00:10:52 +02:00
Ryszard Wiśniewski
d2fdeb5a73 Reading framework files from hard disk. 2010-06-02 00:09:38 +02:00
Ryszard Wiśniewski
43797e0c0d Throwing exception when decoding to existing directory. 2010-06-01 14:30:08 +02:00
Ryszard Wiśniewski
25ec196cfa From now there is no need to use -s/-r switch, when apk doesn't contain sources/resources. 2010-06-01 14:06:13 +02:00
Ryszard Wiśniewski
f07aae158a TypeName.fetchFromInternalName(): fixed a bug occuring when parsing class name without a package. 2010-06-01 13:30:09 +02:00
Ryszard Wiśniewski
0aa2015fda ResFileDecoder: rewritten file type recognition algorithm. 2010-06-01 13:09:46 +02:00
Ryszard Wiśniewski
e4ecd30a27 ResFileDecoder: continue on exception. 2010-06-01 11:52:06 +02:00
Ryszard Wiśniewski
620b71abd3 ARSCDecoder: automatically adding missing resources. 2010-06-01 10:25:38 +02:00
Ryszard Wiśniewski
7e060064ac DebugInjector: removing ".end local" directives. 2010-04-29 22:22:19 +02:00
Ryszard Wiśniewski
e6d2e9c605 DebugInjector: types recognition using dexlib code analyzer. 2010-04-29 22:20:44 +02:00
Ryszard Wiśniewski
d459a4bb8b AndrolibResources.escapeForResXml(): fixed a bug when there are many spaces at the end. 2010-04-28 21:31:06 +02:00
Ryszard Wiśniewski
add6fbc24d ResReferenceValue: omitting type in theme references only if it equals to "attr" 2010-04-28 21:12:33 +02:00
Ryszard Wiśniewski
e520d13d6b Added HTC resources from Desire rom. 2010-04-28 20:47:45 +02:00
Ryszard Wiśniewski
9503976b59 Publicized all framework resources. 2010-04-28 12:33:00 +02:00
Ryszard Wiśniewski
329d9b4b3f +Androlib.publicizeResources() 2010-04-28 12:17:48 +02:00
Ryszard Wiśniewski
dc190d9210 ARSCDecoder: added possibility to get flags offsets of ARSC file. 2010-04-28 12:15:57 +02:00
Ryszard Wiśniewski
2aec8cbcbb AndrolibResources.escapeForResXml(): proper escaping of whitespaces. 2010-04-28 10:09:34 +02:00
Ryszard Wiśniewski
07ad2a1a36 Moved DexFileBuilder to package brut.androlib.src . 2010-04-27 21:49:38 +02:00
Ryszard Wiśniewski
78f0899921 Deleted old AndrolibSmali class. 2010-04-27 21:47:19 +02:00
Ryszard Wiśniewski
fe6580427f Androlib, ApkDecoder: added support for debug mode. 2010-04-27 21:44:59 +02:00
Ryszard Wiśniewski
2891abf96b Androlib: using SmaliDecoder and SmaliBuilder instead of AndrolibSmali. 2010-04-27 21:40:17 +02:00
Ryszard Wiśniewski
060572e824 Added new mechanisms of smali decoding and building. 2010-04-27 21:31:52 +02:00
Ryszard Wiśniewski
f9c9588f1d DexFileBuilder: added possibility to name streams. 2010-04-27 21:29:49 +02:00
Ryszard Wiśniewski
853d807f59 DexFileBuilder: added possibility to smali InputStream. 2010-04-26 18:37:24 +02:00
Ryszard Wiśniewski
5afc491ebc +DexFileBuilder 2010-04-26 18:28:12 +02:00
Ryszard Wiśniewski
3955e7082c Added interface of Java decoding and building. 2010-04-23 14:23:08 +02:00
Ryszard Wiśniewski
3cee5a0b02 Updated to use (bak)smali 1.2.2 . 2010-04-23 13:31:45 +02:00
Ryszard Wiśniewski
476ddbfa27 . 2010-04-03 22:44:28 +02:00
Ryszard Wiśniewski
cd56ffadd0 . 2010-04-02 20:14:58 +02:00
Ryszard Wiśniewski
651f4d37d8 Fixed support for apk without any sources. 2010-04-02 20:08:04 +02:00
Ryszard Wiśniewski
02c93c725d ResPluralsValue: escaping values when serializing to XML. 2010-04-02 18:45:50 +02:00
Ryszard Wiśniewski
85a767c9e3 . 2010-04-02 18:43:25 +02:00
Ryszard Wiśniewski
ec1abd3f9b ResFlagsAttr: use smallest possible number of flags to describe decoded value. 2010-04-02 18:16:14 +02:00
Ryszard Wiśniewski
6ce6d76484 ResBagValue.serializeToXml(): serializing as style, array or plurals value depending on type of ResResource. 2010-04-02 14:56:51 +02:00
Ryszard Wiśniewski
c9f298fdea ResArrayValue: added support for empty arrays. 2010-04-02 14:53:36 +02:00
Ryszard Wiśniewski
916e872330 Marking items of enum and flags attrs as synthesized. 2010-04-02 14:20:20 +02:00
Ryszard Wiśniewski
e9db0b3426 Added possibility to mark resource as synthesized, so it won't be included in value XMLs. 2010-04-02 14:19:09 +02:00
Ryszard Wiśniewski
08a95d754c . 2010-04-02 14:17:13 +02:00