Chromecast is just a Streaming-Player. you cannot install apps on it.
if youre using a Chromecast with GoogleTV you can install Android apps and therfore use B4A
This is a wrap for this Github project. I started doing the wrap back in 2017 but did not got it working. A few tries later i now got it working ;-) Casty Author: DonManfred Version: 1.0 Class representing local media metadata. Fields: KEY_CONTENT_TYPE As String KEY_IMAGES As String...
Chromecast is just a Streaming-Player. you cannot install apps on it.
if youre using a Chromecast with GoogleTV you can install Android apps and therfore use B4A
This is a wrap for this Github project. I started doing the wrap back in 2017 but did not got it working. A few tries later i now got it working ;-) Casty Author: DonManfred Version: 1.0 Class representing local media metadata. Fields: KEY_CONTENT_TYPE As String KEY_IMAGES As String...
I was able to make a few changes (suggested in other posts) and it compiled once and close. Now I'm stuck in this error.
Is there any update of those libraries? they suppose to work recently (on 2024)? I think last update was 2019...
Log:
1
** Activity (main) Resume **
Error occurred on line: 56 (Main)
java.lang.IllegalArgumentException: menu item with ID 2131296367 doesn't have a MediaRouteActionProvider.
at com.google.android.gms.cast.framework.CastButtonFactory.setUpMediaRouteButton(com.google.android.gms:play-services-cast-framework@@21.2.0:14)
at pl.droidsonroids.casty.Casty.setUpMediaRouteMenuItem(Casty.java:193)
at pl.droidsonroids.casty.Casty.addMediaRouteMenuItem(Casty.java:120)
at de.donmanfred.Castywrapper.addMediaRouteMenuItem(Castywrapper.java:252)
at de.donmanfred.cast.main._activity_createmenu(main.java:435)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:157)
at de.donmanfred.cast.main._onCreateOptionsMenu(main.java:839)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.runHook(BA.java:190)
at de.donmanfred.cast.main.onCreateOptionsMenu(main.java:137)
at android.app.Activity.onCreatePanelMenu(Activity.java:4379)
at androidx.activity.ComponentActivity.onCreatePanelMenu(ComponentActivity.java:521)
at androidx.appcompat.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:95)
at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.onCreatePanelMenu(AppCompatDelegateImpl.java:3122)
at androidx.appcompat.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:458)
at androidx.appcompat.app.ToolbarActionBar$1.run(ToolbarActionBar.java:58)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1037)
at android.view.Choreographer.doCallbacks(Choreographer.java:845)
at android.view.Choreographer.doFrame(Choreographer.java:775)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
at android.os.Handler.handleCallback(Handler.java:980)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loopOnce(Looper.java:238)
at android.os.Looper.loop(Looper.java:357)
at android.app.ActivityThread.main(ActivityThread.java:8098)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)
Caused by: java.lang.IllegalArgumentException: cannot refreshButtonSelector with null mediaRouteActionProvider
at com.google.android.gms.cast.framework.CastButtonFactory.zze(com.google.android.gms:play-services-cast-framework@@21.2.0:3)
at com.google.android.gms.cast.framework.CastButtonFactory.setUpMediaRouteButton(com.google.android.gms:play-services-cast-framework@@21.2.0:11)
... 32 more
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.