Skip to main content

FireflyApi installation

3.4 Installation upgrade

  1. Local ota package upgrade
    Function:public void installPackage(String path)
    Description:Restart the ota package upgrade. Currently, it only supports to put in the built-in storage root directory, i.e./sdcard/
    Parameters:Absolute path to the ota package
    Example:

  2. Reboot into recovery
    Function:public void rebootRecovery()
    Description:Reboot into recovery
    Example: