Rate This Document
Findability
Accuracy
Completeness
Readability

Decompressing the Software Package

The software package of base engines is BoostKit-baseengine_*_11.zip. To obtain it, see Obtaining Software Packages. After obtaining the ZIP package, decompress it to obtain the installation packages of audio engine server, audio engine client, touch engine server, and touch engine client.

No.

Software

Description

1

AudioEngine.tar.gz

Software package of the audio engine server

2

AudioEngineClient.tar.gz

Software package of the audio engine client

3

TouchEngine.tar.gz

Software package of the touch engine server

4

TouchEngineClient.tar.gz

Software package of the touch engine client

Configuring the Development Environment for the Audio Engine Server

The installation package of the audio engine server is AudioEngine.tar.gz. This package does not require secondary development. You only need to decompress it and install it on the cloud phone.

  1. Save the AudioEngine.tar.gz package to a specified directory, for example, /home/AudioEngine/.
  2. Decompress the package before using the audio engine server.
    1
    2
    cd /home/AudioEngine/
    tar xzvf AudioEngine.tar.gz
    
  3. Copy the .so files to the cloud phone (cloudphone_1 is used as an example).
    1
    2
    3
    4
    docker cp system/lib64/hw cloudphone_1:/system/lib64/
    docker cp system/lib64 cloudphone_1:/system/
    docker cp system/lib/hw cloudphone_1:/system/lib/
    docker cp system/lib cloudphone_1:/system/
    

Configuring the Development Environment for the Audio Engine Client

The installation package of the audio engine client is AudioEngineClient.tar.gz.

  1. Save the AudioEngineClient.tar.gz package to a specified directory, for example, /home/AudioEngineClient/.
  2. Decompress the package before using the audio engine client.
    1
    2
    cd /home/AudioEngineClient/
    tar xzvf AudioEngineClient.tar.gz
    
  3. To perform secondary development on the audio engine client to implement the cloud phone client (/home/CloudPhoneAPK is used as the root path of the client project), save the .aar file of the audio engine client to the app/libs directory of the project.
    1
    2
    mkdir –p /home/CloudPhoneAPK/app/libs/
    cp /home/AudioEngineClient/AudioEngineClient.aar /home/CloudPhoneAPK/app/libs/
    
    1. Open the build.gradle file in the /home/CloudPhoneAPK/app directory.
      1
      vim /home/CloudPhoneAPK/app/build.gradle
      
    2. Add the following content to the file:
      dependencies {
             implementation fileTree(include: ['*.aar'], dir: 'libs')
         }
    3. Press Esc, type :wq!, and press Enter to save the file and exit.

Configuring the Development Environment for the Touch Engine Client

The installation package of the touch engine client is TouchEngineClient.tar.gz.

  1. Save the TouchEngineClient.tar.gz package to a specified directory (for example, /home/TouchEngineClient/).
  2. Decompress the package before using the touch engine client.
    1
    2
    cd /home/TouchEngineClient/
    tar xzvf TouchEngineClient.tar.gz
    
  3. To perform secondary development on the touch engine client to implement the cloud phone client (/home/CloudPhoneAPK is used as the root path of the client project), save the .aar file of the touch engine client to the app/libs directory of the project.
    1
    2
    mkdir –p /home/CloudPhoneAPK/app/libs/
    cp /home/TouchEngineClient/TouchEngineClient.aar /home/CloudPhoneAPK/app/libs/
    
  4. Add the following content to the build.gradle file in the /home/CloudPhoneAPK/app directory:
    dependencies {
           implementation fileTree(include: ['*.aar'], dir: 'libs')
       }

Configuring the Development Environment for the Touch Engine Server

The installation package of the touch engine server is TouchEngine.tar.gz. This package does not require secondary development. You only need to decompress it and install it on the cloud phone.

  1. Save the TouchEngine.tar.gz package to a specified directory (for example, /home/TouchEngine/).
  2. Decompress the package before using the touch engine server.
    1
    2
    cd /home/TouchEngine/
    tar xzvf TouchEngine.tar.gz
    
  3. Copy the .so files to the cloud phone (cloudphone_1 is used as an example).
    1
    2
    3
    4
    5
    docker cp system/bin cloudphone_1:/system/
    docker cp system/etc cloudphone_1:/system/
    docker cp system/lib cloudphone_1:/system/
    docker cp system/lib64 cloudphone_1:/system/lib64
    docker cp system/usr cloudphone_1:/system/