When I run:
java -jar apkeditor.jar info -i input.apk -t json
It outputs a JSON list of many Dicts. For example:
[
{
"package":"com.waze"
},
{
"VersionCode":1021577
},
{
"VersionName":"9999.46.0.2"
},
{
"AppName":"Waze"
},
{
"AppIcon":"res/drawable-ldpi-v4/launch_icon.png"
},
{
"application-class":"com.waze.WazeApplication"
},
{
"activity-main":"com.waze.FreeMapAppActivity"
}
]
This isn't the most optimized output for anything automated. Lookups are not easy. It would better to have this output:
[
{
"package":"com.waze",
"VersionCode":1021577,
"VersionName":"9999.46.0.2",
"AppName":"Waze",
"AppIcon":"res/drawable-ldpi-v4/launch_icon.png",
"application-class":"com.waze.WazeApplication",
"activity-main":"com.waze.FreeMapAppActivity",
}
]
With this output, it will be easy to lookup any key and get a value. Example: result.getString("activity-main");. The current implementation looking through each set of key, value to find the right one.
@REAndroid please let me know your thoughts, thank you for this amazing project!
When I run:
java -jar apkeditor.jar info -i input.apk -t jsonIt outputs a JSON list of many Dicts. For example:
[ { "package":"com.waze" }, { "VersionCode":1021577 }, { "VersionName":"9999.46.0.2" }, { "AppName":"Waze" }, { "AppIcon":"res/drawable-ldpi-v4/launch_icon.png" }, { "application-class":"com.waze.WazeApplication" }, { "activity-main":"com.waze.FreeMapAppActivity" } ]This isn't the most optimized output for anything automated. Lookups are not easy. It would better to have this output:
[ { "package":"com.waze", "VersionCode":1021577, "VersionName":"9999.46.0.2", "AppName":"Waze", "AppIcon":"res/drawable-ldpi-v4/launch_icon.png", "application-class":"com.waze.WazeApplication", "activity-main":"com.waze.FreeMapAppActivity", } ]With this output, it will be easy to lookup any key and get a value. Example:
result.getString("activity-main");. The current implementation looking through each set of key, value to find the right one.@REAndroid please let me know your thoughts, thank you for this amazing project!