AM Debug v2.7.0 Run#1563
Refactor Show/hide/enable/disable selection actions based on selections
During batch selections, certain selection actions will be hidden or disabled
based on the selected items, in both main page and running apps page.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Show/hide/enable/disable selection actions based on selections
During batch selections, certain selection actions will be hidden or disabled
based on the selected items, in both main page and running apps page.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1565
Refactor Fix parsing Android binary XML files
After trying all the parsers available out there written in Java, it was
apparent that no parser is able to parse Android binary XML files in perfect
shape. Hence, for App Manager, a new parser has been made.
* Manifest viewer no longer parses the resources by parsing the APK file which
is how it should have been implemented in first place.
* Clicking on any XML file opens the human-readable version of the binary XML
file, like in the APK Editor app. The possibility of converting XML to binary
XML is also being investigated (without using AAPT/AAPT2).
In addition, readability in the Manifest viewer has also been improved by
making the font-size smaller and parsing more numeric values to corresponding
constants or flags values.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Fix parsing Android binary XML files
After trying all the parsers available out there written in Java, it was
apparent that no parser is able to parse Android binary XML files in perfect
shape. Hence, for App Manager, a new parser has been made.
* Manifest viewer no longer parses the resources by parsing the APK file which
is how it should have been implemented in first place.
* Clicking on any XML file opens the human-readable version of the binary XML
file, like in the APK Editor app. The possibility of converting XML to binary
XML is also being investigated (without using AAPT/AAPT2).
In addition, readability in the Manifest viewer has also been improved by
making the font-size smaller and parsing more numeric values to corresponding
constants or flags values.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1566
Backup Fix restoring APK files in no-root mode
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Backup Fix restoring APK files in no-root mode
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1567
Add tests for AndroidBinXmlDecoder
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Add tests for AndroidBinXmlDecoder
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1568
Refactor Add XML header in the output XML file
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Add XML header in the output XML file
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1569
APK Add binary XML encoder written in pure Java
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
APK Add binary XML encoder written in pure Java
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1570
Update trackers and libraries
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Update trackers and libraries
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1571
Refactor Add DocumentFile abstraction for ZipFile
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Add DocumentFile abstraction for ZipFile
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1572
APK Add option to explore DEX files
In the “Explore” activity, it is possible to view DEX contents as well as open
the Smali files with an external editor. Previously, this was only possible
with the XML files.
Additionally, both ZipDocumentFile and DexDocumentFile are subclassed from a
more generic VirtualDocumentFile along with simple tests.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
APK Add option to explore DEX files
In the “Explore” activity, it is possible to view DEX contents as well as open
the Smali files with an external editor. Previously, this was only possible
with the XML files.
Additionally, both ZipDocumentFile and DexDocumentFile are subclassed from a
more generic VirtualDocumentFile along with simple tests.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
AM Debug v2.7.0 Run#1573
Refactor Fix URI issues in VirtualDocumentFile
A Unix style mount-unmount system has been introduced in order to fix the
existing URI issues introduced earlier in the VirtualDocumentFile, making it
easier to handle virtual file systems for DEX and Zip files, removing the
overhead of analysing the file contents everytime the user choose to view the
file contents.
However, Path, an abstraction independent of Java's NIO or File API introduced
in order to handle Storage Access Framework, File API, etc., is currently
unable to handle the VirtualFileSystem which will be implemented later on.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
Refactor Fix URI issues in VirtualDocumentFile
A Unix style mount-unmount system has been introduced in order to fix the
existing URI issues introduced earlier in the VirtualDocumentFile, making it
easier to handle virtual file systems for DEX and Zip files, removing the
overhead of analysing the file contents everytime the user choose to view the
file contents.
However, Path, an abstraction independent of Java's NIO or File API introduced
in order to handle Storage Access Framework, File API, etc., is currently
unable to handle the VirtualFileSystem which will be implemented later on.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>