Is there a way for a Chromecast Customer Receiver app to differentiate which Chromecast device is connected and then show different content based on such ID or unique connector?
If you are asking whether there is an api on the receiver side to return a unique id, the answer is no, there is no such api.
Related
I am developing an app for Chromecast and I need something specific about that particular device. (MAC Address, ID, something like that) in order to generate an unique deviceID.
I need to access the information from the receiver app.
If it's not possible, how can I generate the same unique deviceID at startup?
There is no API on the receiver to return the MAC address or any other unique identifier; you need to create and manage that yourself.
i am trying to create a slideshow type app that will play both videos and photos. i am populating the array of the items from a network request performed by the chromecast after it gets a unique id from the sender. i am them trying to add these items to the media queue from the receiver but this error is showing up when i try.
Unexpected command, player is in IDLE state so the media session ID is not valid yet
any advice on what i am doing wrong, or logs that i can provide to help identify the issue? thanks in advance.
We have application that automatically sends message through a broadband stick then We want to buy a sim or any other way (LEGALLY) that make our Sender number will be a Company name
0999xxxxxx7 into CompanyName
please give me suggestion
(Philippines)
You can use a service like http://www.clickatell.com/ and specify the sender ID when sending messages through their API. However, the sender ID capability is not supported everywhere and you might have to get multiple numbers from then to support different locations.
Is it possible to have a Chromecast sender application to pass custom data to the receiver in the URL? The goal is to pass user-specific data to the receiver so it can generate the appropriate contents each time it's called.
An example of this would be a simple to-do list. When the user casts to their device, that user's data should be passed via URL to the receiver so that their task list can be loaded in the custom receiver.
I haven't seen any tutorials or much information on this in the Cast documentation.
If you mean passing parameters as part of the receiver url that loads the receiver, the answer is no; there is no such thing. You can either use the customData that can be passed to the receiver in a number of APIs, or you can create a custom data channel if the former is not adequate for your needs.
The Cast receiver URL is specified as a static URL when you're registering/publishing the app on the Google Cast SDK Developer Console so it is not possible to add custom parameters.
However you can use the Cast Messages system to send data between a Cast sender and Cast receiver. It's similar to the messaging system in modern browsers.
I am using Google Cloud Messaging APIs.
On the server side i want to get the list of all the devices that are registered on a Project ID that is given by Google Cloud Messaging .So could i get the all list of the devices so that i can store all of them into the database.Please provide me the suggestion on this how can we do this.Thanks
You must be registering a device on client side by getting the registration ID. So, as soon the user's device gets a registration ID, send the ID to your own server. At your server, you can store all the registration ID's this way. You'll have the list of all the devices that are registered to your SENDER ID.