AlphaOmega.ApkReader
1.0.8415.36134
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AlphaOmega.ApkReader --version 1.0.8415.36134
NuGet\Install-Package AlphaOmega.ApkReader -Version 1.0.8415.36134
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AlphaOmega.ApkReader" Version="1.0.8415.36134" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AlphaOmega.ApkReader --version 1.0.8415.36134
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AlphaOmega.ApkReader, 1.0.8415.36134"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AlphaOmega.ApkReader as a Cake Addin #addin nuget:?package=AlphaOmega.ApkReader&version=1.0.8415.36134 // Install AlphaOmega.ApkReader as a Cake Tool #tool nuget:?package=AlphaOmega.ApkReader&version=1.0.8415.36134
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Apk reader
Android package file reader assembly. Can read apk files (http://icsharpcode.github.io/SharpZipLib/), android xml files (AndroidManifes.xml, *.xml), Dalvik executable format (dex), android resource files (arsc).
Usage:
using(ApkFile apk = new ApkFile(filePath))
{
if(apk.IsValid)
{
If(apk.AndroidManifest!=null)
{//AndroidManifest.xml
Console.WriteLine("Package: {0}", apk.AndroidManifest.Package);
Console.WriteLine("Application name: {0} ({1})", apk.AndroidManifest.Application.Label, apk.AndroidManifest.VersionName);
//...
}
if(apk.Resources!=null)
{//resources.arsc
//...
}
foreach(String filePath in apk.GetHeaderFiles())
if(Path.GetExtension(filePath).ToLowerInvariant()==".dex")
using(DexFile dex=new DexFile(new StreamLoader(apk.GetFileStream(filePath))))
{//Davlik executables
//...
}
}
}
Supported structures:
- ApkFile.cs
- XmlFile — AndroidManifest.xml
- Resources — resources.arsc
- AndroidManifest — Stronly typled android manifest file
- ArscFile.cs (resources.arsc)
- Header — Resource file header
- ResourceMap — Resource table (id,value(s))
- AxmlFile.cs (https://developer.android.com/guide/topics/manifest/manifest-intro)
- Strongly typed manifest sections mapped to resources.arsc file where needed
- DexFile.cs (https://source.android.com/devices/tech/dalvik/dex-format)
- map_list — This is a list of the entire contents of a file, in order.
- STRING_ID_ITEM — String identifiers list.
- STRING_DATA_ITEM — String identifiers list.
- CODE_ITEM — Source bytecode payload
- TYPE_ID_ITEM — Type identifiers list.
- TYPE_LIST — Referenced from Class definitions list and method prototype identifiers list.
- PROTO_ID_ITEM — Method prototype identifiers list
- FIELD_ID_ITEM — Field identifiers list
- METHOD_ID_ITEM — Method identifiers list
- CLASS_DATA_ITEM — Class structure list
- encoded_field — Static and instance fields from the class_data_item
- encoded_method — Class method definition list
- CLASS_DEF_ITEM — Class definitions list
- try_item — in the code exceptions are caught and how to handle them
- encoded_catch_handler_list — Catch handler lists
- encoded_type_addr_pair — One for each caught type, in the order that the types should be tested
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net35 was computed. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 2.0
- SharpZipLib (>= 0.86.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.5 | 240 | 8/30/2023 |
1.0.8415.36134 | 398 | 1/15/2023 |