Installation
Connect via adb
Your Poly device must be dev enabled. Once this step is complete, you can connect wirelessly via Android Debug Bridge (adb) into both the TC8 and the Codec.
Note: USB-C is reserved for Device Mode. Device mode must be disabled before you can connect ADB over USB-C. To disable Device Mode, Navigate to the WebUI->General Settings->System Settings and uncheck the "Enable Device Mode" option under Collaboration Tools. This will cause the system to reboot and allow the ADB connection.
Add a new APK
These steps will install a new partner app and add it to the Provider List in the Poly WebUI.
Note: A factory reset will remove the app and these steps will need to be run again.
Install App (New Partner)
Sideload the new Anroid Package (APK) using adb install <path to apk>
.
Launch adb shell
and run the remaining commands.
Config Variables | Description |
---|---|
persona | Unique persona name of this app |
primarypackage | Package name of the app for primary device |
controllerpackage | Package name of the controller app (Optional, only needed if there is a controller app for this) |
enabled | Whether this app is currently enabled. Default False, set during OOB. (Enabled app shows up in Poly Eco Launcher) |
exported | Whether this app is available to select in OOB/Provider switch even if the app is installed (True by default) |
//Set App Index and Persona name
In the sample case below we are using App Index "21" (you can pick any number above 20).
Persona Name can be anything. This example uses "Chrome" for the Google Chrome app.
/opt/polycom/bin/pbcfg --role kSystem --write system.ecomode.app[21].persona --value 'Chrome'
//Set its primary package
This is the package name of the APK installed on the codec (G7500/X50/X30/X70).
/opt/polycom/bin/pbcfg --role kSystem --write system.ecomode.app[21].primarypackage --value 'com.android.chrome'
//Set its controller package
If you don't have a controller, skip this step.
This is the package name of the APK installed on the controller (TC8/C60).
The sample case below uses a fake name (com.android.chrome.controller).
/opt/polycom/bin/pbcfg --role kSystem --write system.ecomode.app[21].controllerpackage --value 'com.android.chrome.controller'
//Set the launcher config for primary app
/opt/polycom/bin/pbcfgwrite system.ecomode.home.launcher 0 "com.android.chrome/com.google.android.apps.chrome.Main";
# reboot