Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/auxten/libarsc
pure C++ lib of Android resources.arsc Parser
https://github.com/auxten/libarsc
Last synced: about 1 month ago
JSON representation
pure C++ lib of Android resources.arsc Parser
- Host: GitHub
- URL: https://github.com/auxten/libarsc
- Owner: auxten
- License: apache-2.0
- Created: 2014-02-21T02:42:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-02-21T03:07:16.000Z (over 10 years ago)
- Last Synced: 2024-05-01T19:40:09.287Z (7 months ago)
- Language: C++
- Size: 254 KB
- Stars: 12
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
libarsc
=======pure C++ lib of Android resources.arsc Parser
almost all code transplanted from aapt
cause i use this just in a small executable, mutexes are removed.
this works very well, i promiseexample
=======resources_content_bin = getResFromApk(apk_path,
&resources_content_bin_len, ARSC);
LOGD("resources content len %d", resources_content_bin_len);arsc_index = strtoimax(package_label_addr_manifest + 1, NULL, 16);
if (arsc_index == 0u)
{
LOGE("package label index error %s", package_label_addr_manifest);
break;
}LOGD("package label in manifest %u", arsc_index);
ResTable res(resources_content_bin, resources_content_bin_len, resources_content_bin);
std::vector * label_vec = res.getLabel(true, arsc_index);