Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startApp - howTo? #16

Open
The-Big-M opened this issue Feb 27, 2018 · 4 comments
Open

startApp - howTo? #16

The-Big-M opened this issue Feb 27, 2018 · 4 comments

Comments

@The-Big-M
Copy link

Hi,
i just installed the Adapter on my ioBroker. Unfortunately, it doesn't work the way I think...
Emulate "home"-click inside a blockly-code works, but i dont know how to start / stop a app. Please, can you explain me how?
Second question. 3 of my firetv´s are in a different network-Segment, so the iobroker is behind a firewall. Which ports do i need to open?

Kind Regards
Matze

@klaus-schuster
Copy link

it seems that you need to know the exact name off the class to start.. i just got the tagesschau to work with that entry in the StartApp

de.cellular.tagesschau/de.ndr.tagesschau.firetv.activities.HomeActivity

i got that from connecting via adb to the stick

adb connect xx.xx.xx.xx:5555

to get the package name:

adb shell pm list packages -f tages

to get some idea about what the class may be named:

adb shell pm dump /data/app/de.cellular.tagesschau-1/base.apk | grep tages


if you just enter de.cellular.tagesschau
the adapter tries to open "MainActivity" which doesn't seem to exist...

i need a beer now

@oskarnarten
Copy link

using this string
com.plexapp.android/com.plexapp.plex.activities.SplashActivity
in the field StartApp started the PLEX client on my FireTV

@tushjd
Copy link

tushjd commented Mar 22, 2020

Hello,

I just figured out how to use startApp for any apps.

  1. download and install "package browser" from fire tv apps
  2. start and filter for your app name. For example "magenta"
  3. Open the packed if found and write down the app name on the first entry. For example "tv.accedo.xdk.dtag.production"
  4. go to Activities.. and click on the first entry (public enabled activity ...
  5. write down the name value (name="...") for example "t.accedo.xdk.dtag.MainActivity"
  6. combine your notes from 3) and 5) with a "/" in between. For example:
    tv.accedo.xdk.dtag.production/tv.accedo.xdk.dtag.MainActivity
  7. enter the whole string into appStart to start the app

@SchiFrank
Copy link

Hi,
doesn't work for kodi. The string is "org.xbmc.kodi/org.xbmc.kodi.Splash". Any ideas, what I could try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants