Philips 32BDL4051D User Manual page 57

Table of Contents

Advertisement

(b) Via Adb Shell
1. Make sure that your PC can connect to Philips Android Signage
Display using adb.
2. Prepare your apk in a folder(for example, C:\apkfolder) on your
PC.
3. Execute the following instruction using command line tool.
C:\apkfolder> adb install -r apk_name.apk
(c) Via Customized Intent
1. If you develop an apk which can download any Android App, then
your APK can issue a customized intent.
2. Giving that the apk name and the path have been stored., the
system will help you to install by program.
Description Intent
Parameters
filePath
keep
php.intent.
action.
Sw Update
UPDATE_
packageName
APK
activityName
isAllowDowngrade
For example,
Intent intent = new Intent();
intent.setAction("php.intent.action.UPDATE_APK");
intent.putExtra("filePath", "/sdcard/Download/sample.apk");
intent.putExtra("keep", true);
intent.putExtra("packageName", "com.tpv.example");
intent.putExtra("activityName", "com.tpv.example.MainActivity");
intent.putExtra("isAllowDowngrade", true); // allow downgrade
sendBroadcast(intent);
The absolute file path
including the file name.
Please make sure that
the file access permission
should be 664 at least.
Indicate that you want
to keep the file or not
after updating. The default
value is false.
The target package
you want to launch
automatically after
updating.
The target activity
you want to launch
automatically after
updating. But if current
top activity is not
activityName, nothing
happened.
"true: update apk no
matter the version of
target apk is lower than
the verion of current one
or not.
false: stop install if it is
downgrade."
46

Advertisement

Table of Contents
loading

This manual is also suitable for:

43bdl4051d49bdl4051d55bdl4051d

Table of Contents