Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alianblank/blankappoperation

Unity3D 操作APP应用.包含是否安装/打开/卸载/安装 操作
https://github.com/alianblank/blankappoperation

install openapp operator unity unity3d unity3d-plugin

Last synced: 17 days ago
JSON representation

Unity3D 操作APP应用.包含是否安装/打开/卸载/安装 操作

Awesome Lists containing this project

README

        

# BlankAppOperation
Unity3D BlankAppOperation

# Docs
> [文档连接在这里](https://blog.alianhome.com/AppOperation)

# Demo

```csharp

private string build_id = string.Empty;
#if UNITY_ANDROID
void OnGUI()
{

build_id = GUILayout.TextField(build_id, GUILayout.Width(520), GUILayout.Height(200));

if (GUILayout.Button("IsExist", GUILayout.Width(200), GUILayout.Height(100)))
{
Debug.Log(BlankAppOperation.IsExist(build_id));
}
if (GUILayout.Button("UninstallAPK", GUILayout.Width(200), GUILayout.Height(100)))
{
Debug.Log(BlankAppOperation.UninstallApp(build_id));
}
if (GUILayout.Button("OpenApp", GUILayout.Width(200), GUILayout.Height(100)))
{
Debug.Log(BlankAppOperation.OpenApp(build_id, build_id, build_id, build_id));
}
if (GUILayout.Button("InstallAPP", GUILayout.Width(200), GUILayout.Height(100)))
{
BlankAppOperation.InstallApp(Application.persistentDataPath + "/demo.apk");
}
}
#endif

```