Skip to content

StarStore/Hypnos_Installer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypnos_Installer

中文 | English

App update installer, to simply use

Feature

  • Three ways of silent install app: Root , AccessibilityService and Auto, to chose these way by enum Mode of Installer
Installer.getInstance().install(getActivity(), Installer.MODE.AUTO, APK_DOWNLOAD_URL);

image

Example

  • Get the Installer instance
Installer installer = Installer.getInstance();
  • Use install two params, the first parameter is install apk way : ROOT_ONLY , ACCESSIBILITY_ONLY and AUTO. the second parameter is file path : file path or http url.
//file path
installer.install(getActivity(), Installer.MODE.AUTO, file);

//http url
installer.install(getActivity(), Installer.MODE.AUTO, APK_DOWNLOAD_URL);

Tools

  • Android Stuido 2.2 preview 6
  • build SDK version: 24

About

App update installer, to simply use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%