This commit is contained in:
REAndroid 2022-12-20 05:34:24 -05:00
parent 54133957f9
commit fe6b86197f
2 changed files with 27 additions and 27 deletions

View File

@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Copyright [2023] [github.com/REAndroid]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@ -1,10 +1,10 @@
# ARSCLib
## Android binary resources read/write java library
This library is developed based on AOSP structure of androidfw/ResourceTypes.h , to totally replace aapt/aapt2
### Read, write, modify and create
#### Read, write, modify and create
* Resource table (resources.arsc)
* Binary xml files (AndroidManifest.xml & resource xml)
### Convert from/to json string
#### Convert from/to json string
* Decompiling resources to readable XML using traditional techniques is now becoming very challenging due to resource obfuscation (like Proguard & ResGuard)
* Just like SMALI coding this library brings unbeatable coding style
@ -21,12 +21,12 @@ can be represented in json as
"data": "My Application"
}
```
### Works on all java supported platforms (Android, Linux, Windows)
#### Works on all java supported platforms (Android, Linux, Windows)
* Use the jar file as dependency
### Check this tool developed using this library
#### Check this tool developed using this library
[https://github.com/REAndroid/APKEditor](https://github.com/REAndroid/APKEditor)
<details><summary> <b>See java example</b></summary>
<details><summary> <code><b>See java example</b></code></summary>
```java
import com.reandroid.lib.arsc.chunk.TableBlock;
@ -35,7 +35,7 @@ import com.reandroid.lib.arsc.chunk.xml.AndroidManifestBlock;
import com.reandroid.lib.arsc.chunk.xml.ResXmlElement;
import com.reandroid.lib.arsc.chunk.xml.ResXmlAttribute;
public static void exampleManifest() throws IOException{
public static void exampleManifest() throws IOException{
File inFile=new File("AndroidManifest.xml");
// *** Loading AndroidManifest ***