Closed Spartan51150 closed 2 months ago
I'm downloading it now on my Fire TV through the official app store, so that's a good start!
Is this an official app request, or are you looking for some "do it yourself" help, or maybe both?
The following command will work:
adb shell am start -n com.flipps.fitetv/com.bianor.ams.androidtv.activity.TvMainActivity
I know how you got the command that you tried, which is why I direct everyone who is making a request through the official App Shortcut Request form over to the Providing Details for App Launcher Requests wiki article to follow that same procedure. I'd say that method works about 90% of the time. The other 10% end up like this one did, with a permissions error:
adb_response: Starting: Intent { cmp=com.flipps.fitetv/com.bianor.ams.androidtv.activity.VideoListActivityV2 } Security exception: Permission Denial: starting Intent { flg=0x10000000 cmp=com.flipps.fitetv/com.bianor.ams.androidtv.activity.VideoListActivityV2 } from null (pid=15827, uid=2000) not exported from uid 10278
When this error occurs, I ask the app to dump some if its data by using this command:
adb shell pm dump com.flipps.fitetv
The response to this command will be extremely verbose, but normally the item we are looking for can be found inside the Non-Data Actions: section
Non-Data Actions:
android.intent.action.MAIN:
8598e66 com.flipps.fitetv/com.bianor.ams.MainActivity filter 76172cd
Action: "android.intent.action.MAIN"
Category: "android.intent.category.LAUNCHER"
Category: "android.intent.category.DEFAULT"
24747c0 com.flipps.fitetv/com.bianor.ams.androidtv.activity.TvMainActivity filter d1770ef
Action: "android.intent.action.MAIN"
Category: "android.intent.category.LEANBACK_LAUNCHER"
zopim.action.RESUME_CHAT:
eb63cf9 com.flipps.fitetv/com.zopim.android.sdk.prechat.ZopimChatActivity filter 901a93d
Action: "zopim.action.RESUME_CHAT"
Category: "android.intent.category.DEFAULT"
mPriority=-1000, mOrder=0, mHasPartialTypes=false
android.intent.action.SEARCH:
bc2043e com.flipps.fitetv/com.bianor.ams.androidtv.activity.VideoDetailsActivity filter 43984da
Action: "android.intent.action.SEARCH"
4dae29f com.flipps.fitetv/com.bianor.ams.androidtv.activity.VideoDetailsActivityV2 filter d942d0b
Action: "android.intent.action.SEARCH"
8391fec com.flipps.fitetv/com.bianor.ams.ui.activity.VideoListActivity filter f52b7e8
Action: "android.intent.action.SEARCH"
494afb5 com.flipps.fitetv/com.bianor.ams.ui.activity.xlarge.VideoListActivityXLarge filter 3b14a6
Action: "android.intent.action.SEARCH"
From this response, I was able to find and test this command which works as expected:
adb shell am start -n com.flipps.fitetv/com.bianor.ams.androidtv.activity.TvMainActivity
I hope that brief tutorial was helpful!
I will proceed with adding this to the Firemote project now.
-Doug
Here is the APK matching then version I have on my fire TV
https://www.apkmirror.com/apk/flipps-media-inc/fite-boxing-wrestling-mma/fite-boxing-wrestling-mma-8-2-1-release/
I tried seeing if I could find the adb command myself and came up with
adb shell am start -n com.flipps.fitetv/com.bianor.ams.androidtv.activity.VideoListActivityV2
However this didn't seem to work. Any help would be appreciated.