All Questions
15 questions
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. ...
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 ...
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....
0
votes
0
answers
85
views
How to determine if the user willingly disconnected from a Cast device?
When an Android app gets disconnected from a Cast device, Cast Companion Linrary's callback onApplicationDisconnected() is called to inform the app of the disconnection.
But how can we distinguish ...
1
vote
0
answers
2k
views
Is there such a thing as too many chromecast devices on one network?
I have an app that uses the CastCompanionLibrary and I'm having a weird issue. On a small network with one chromecast device my application is able to detect it and show the MediaRouterItem.
...
0
votes
1
answer
1k
views
cast device discovery won't work with my application ID
I'm very new to the google cast sdk and I have registered a app on the cast developer console with a style media receiver. My idea is to send images to the chromecast device from an android ...
0
votes
1
answer
621
views
understanding the manual for google cast companion library
[SOLVED] I did not have the same namespace on both ends.
I have this manual page about the Google cast companion library and I don't understand the part about 'Support for data-centric applications' ...
7
votes
2
answers
3k
views
Chromecast-ing a WebView?
My current application uses a WebView to display HTML5 & CSS3 content (some animations).
Is it possible to "cast" this WebView to a Chromecast, in effect, mirroring what is displayed on the main ...
2
votes
0
answers
170
views
google cast sender app does not disconnect on first try
I integrated google cast support into my android application. I am able to connect and play video remotely with no problems. The only issue I seem to be running into intermittently is that sometimes ...
3
votes
1
answer
2k
views
cast button not showing up on Demo
I am running the demo from https://github.com/googlecast/CastVideos-android .
It is dependent the library located here https://github.com/googlecast/CastCompanionLibrary-android
The project is ...