Install android apps on pepper´s tablet in Naoqi 2.5

后端 未结 2 1478
囚心锁ツ
囚心锁ツ 2021-01-15 09:20

I want to install an android app on Pepper with NaoQi 2.5. To achivie this is tried to use AlTabletService´s hidden method \"_installApk\". I built an APK in android studios

2条回答
  •  粉色の甜心
    2021-01-15 09:44

    ALTabletService is running on the tablet, not on Pepper's head, so it cannot access the unix filesystem on Pepper's head; it can, however, access any file exposed on Pepper's internal webserver (the way it does for webpages shown on the tablet) - so you need to do something like:

    1) copy the apk to /home/nao/.local/share/PackageManager/apps/helloWorld/html/app-debug.apk

    2) qicli call ALTabletService._installApk http://198.18.0.1/apps/helloworld/app-debug.apk

提交回复
热议问题