mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-29 22:04:25 +02:00
V1.0.8
This commit is contained in:
parent
54133957f9
commit
fe6b86197f
2
LICENSE
2
LICENSE
@ -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.
|
||||
|
12
README.md
12
README.md
@ -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 ***
|
||||
|
Loading…
x
Reference in New Issue
Block a user