louis49 / androidtv-remote

MIT License
68 stars 23 forks source link

Open application by package name #17

Closed sonic16x closed 2 years ago

sonic16x commented 2 years ago

Hi, how I can open application by package name?

piyush2greedy commented 2 years ago

@sonic16x Do u need to open it from NodeJS or Java Code

sonic16x commented 2 years ago

@piyush2greedy from NodeJs, for example package name of app 'com.ololo'

piyush2greedy commented 2 years ago

@sonic16x You can try calling

this.remoteManager.sendAppLink(app_link)

*app_link - try sending https://www.netflix.com/ - Will open Netflix

Similar for other apps

louis49 commented 2 years ago

for the moment only a deep link allows to launch an app - this is not possible with the name of the package without ADB