2

I discovered that there is ALTabletService methods that is not listed on the official Aldebaran ALTabletService API. For example if you initialize: tabletService = self.session().service("ALTabletService") then you can call:

  • tabletService._installApk("path_to_apk")
  • tabletService._uninstallApps()
  • tabletService._stopApk("package_name")
  • tabletService._openSettings()

How can I the list of all "private" methods the AL serices?

I guess I can find the binaries and then I can try to decompile the files, but I suppose there is an easier way to do that.

dim
  • 992
  • 11
  • 26

2 Answers2

2

The easiest is to SSH onto a robot and use qicli - see the doc here.

For example, try qicli info ALTabletService --show-doc --hidden.

Note that usually methods are hidden for good reasons, so you should not write code that depends on them; they may disappear in future versions.

Emile
  • 2,946
  • 2
  • 19
  • 22
1

Try .getMethodList, it should also list hidden methods.

Anders_K
  • 982
  • 9
  • 28
  • It looks like a good solution, but unfortunately for some reason it does not work for me. – dim Jul 24 '18 at 11:22