You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains the source code for the 'apktools' ruby gem, a set of utilities for parsing resource data out of Android APK files.
5
+
This repository contains the source code for the `apktools` ruby gem, a set of utilities for parsing resource data out of Android APK files.
6
6
7
7
This library only contains utility code to read XML and resource data from an APK. It does not contain utilities to de-dex or otherwise decompile the sources.
8
8
9
9
Its intended purpose is to assist web applications that need to read basic resource information from APKs that are uploaded in order to manage them (like a private app store).
10
10
11
-
**This library is in early beta, feedback is greatly appreciated. Please submit issues or pull requests for anything you'd like to see added or changed to make this library more useful.**
11
+
**This library is not feature complete, feedback is greatly appreciated. Please submit issues or pull requests for anything you'd like to see added or changed to make this library more useful.**
12
12
13
13
Installing/Building
14
14
========
@@ -168,6 +168,53 @@ end
168
168
169
169
**For more information on the capabilities of the library, take a look at the RDoc posted in the `doc/` directory of the repository.**
170
170
171
+
Resource References
172
+
-------------------
173
+
`apktools` does not automatically follow references links found in resources. Instead, the library will return the resource id of the reference, allowing you to manually follow the reference as far as you like. The following example script recursively traces resource references until a value is found:
174
+
```ruby
175
+
require'apktools/apkresources'
176
+
177
+
## Resolve a resource value, tracing references when necessary
0 commit comments