All Questions
Tagged with google-cast java
29 questions
1
vote
2
answers
684
views
How can I resolve Task is not yet complete exception when implementing Google Cast into project?
I've been working on this for weeks no joke but I'm really stumped at this one part. So I'm in the process of implementing Google Cast into a poorly constructed codebase that I inherited.
Specifically,...
0
votes
1
answer
129
views
How to show a Chromecast introduction screen?
I am developing an audio app for Android with Java as the language.
The guide from Google says
A Show a Cast introduction screen the first time Web Receivers are available
B Visually highlight the ...
2
votes
0
answers
500
views
Chromecast Sender App Android Implementation [google-cast]
I'm trying to implement Chromecast in a simple Sender App to cast a given Video. I've implemented the cast button and am able to connect to my device without error, but I'm not able to stream data. ...
1
vote
0
answers
523
views
Google Cast sender app returns timeout when start session
I'm making a Google Cast plugin to Unity and I can list and select a device, but when a start a connection, the SessionManager returns me a timeout error. Because of this, I can't even connect to ...
1
vote
0
answers
488
views
Create cast session programmatically
I'm working with Google Cast API v3 and I want to re-connect the cast device automatically if the last device that was used is available, I was able to do this on Google Cast API v2 using MediaRouter ...
0
votes
0
answers
98
views
How to use Cast SDK in Google Slides like app
So I've been working on a type of slide/power point app. I've been trying to find out whether or not Cast SDK is applicable. Ideally, I'd want to cast a Fragment (exactly like Slides), leaving the ...
3
votes
3
answers
752
views
mediaRouteTheme not found
When I try to create a style as indicated by:
https://developers.google.com/cast/docs/android_sender_advanced#customize_cast_button like this:
<style name="AppTheme" parent="Theme.AppCompat.Light....
0
votes
0
answers
510
views
ConnectSDK doesn't try to find Chromecast
all.
I try to create an android cast application with google chromecast. So I tryied to find chromecast with this code:
public void startDiscoveringDevices() {
DiscoveryManager.init(mContext);
...
1
vote
1
answer
406
views
Chromecast Expanded Controller, Tracks Chooser dialog crashes the app after 11.0.2 update
When users want to change AUDIO Track, chromecast tracks chooser dialog crashes the app. It started to happen when "play-services-cast-framework" updates 10.2.6 to 11.0.2
Is it known bug? Or how do ...
-1
votes
1
answer
1k
views
Invalid application ID Crash in Google Cast SDK
I have a valid app id which I got from Google Cast Developer.
Few Days ago it was working fine, but suddenly it started crashing and throwing
Invalid Application ID: Settings
This is the ...
3
votes
2
answers
2k
views
Converting from windows-1256 to UTF-8 causes punctuation issue
I have an Arabic subtitle I've trying to convert from SRT to VTT. The subtitles seems to be using windows-1256 according to the character encoding detector on ICU (Java). The final VTT file is on UTF-...
0
votes
0
answers
223
views
Chromecast not casting when waking from sleep
I'm building an app that wakes the phone from sleep and then starts casting.
The way I've done is by making a BroadcastReceiver that start an activity like so
WakeLocker.acquire(context);
Intent ...
0
votes
1
answer
321
views
Chromecast Sender v2.7.0 lockscreen image
How do we go about showing the lockscreen artwork for a chromecast sender app running v2.7.0. I have spent the best part of about 2 days on this without any resolution.
The v2.7.0 library currently ...
1
vote
1
answer
4k
views
How to initialize CastContext outside of onCreate method
I would like to only activate the Cast feature due to certain criteria so I don't want any Cast logic in my onCreate. I have a setupCast method that has the following code:
private void setupCast(...
1
vote
1
answer
285
views
Google Cast icon doesn't show
I'm trying to integrate Google Cast on my application, but the cast icon doesn't show on my Toolbar.
Here is the step what I've tried.
Manifest.xml
<meta-data
android:name="com.google....