5,599,842 Members 47,206 Now Online
XDA Developers Android and Mobile Development Forum

Where the chromecast gets its app list?

Tip us?
 
nano351
Old
#1  
Junior Member - OP
Thanks Meter 4
Posts: 10
Join Date: Oct 2013
Default Where the chromecast gets its app list?

So the official SDK is released! But the app list doesn't seem to come from: https://clients3.google.com/cast/chr.../device/config anymore.

I've looked around some and there doesn't seem to be any documentation of how the new configs are being retrieved and even how the serial information from the chromecast is being transmitted either. I know it's definitely not the old config URL anymore because that doesn't list new apps like AllCast which works on my chromecast perfectly fine. Anyone know how the new app list is constructed?
 
bhiga
Old
#2  
bhiga's Avatar
Recognized Contributor
Thanks Meter 558
Posts: 1,576
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by nano351 View Post
So the official SDK is released! But the app list doesn't seem to come from: https://clients3.google.com/cast/chr.../device/config anymore.

I've looked around some and there doesn't seem to be any documentation of how the new configs are being retrieved and even how the serial information from the chromecast is being transmitted either. I know it's definitely not the old config URL anymore because that doesn't list new apps like AllCast which works on my chromecast perfectly fine. Anyone know how the new app list is constructed?
Are you rooted or stock?

If you're rooted, probably you are using the Team Eureka whitelist which is the Google whitelist + Team Eureka.
You can go into the web panel and switch to the Google whitelist if you want to test.
-- Brandon // Google Chromecast threads: FAQ - READ THIS FIRST! || Rootable Serial Numbers
Mini-FAQ: What's the big deal with root? || Mini-FAQ: Rooting with FlashCast || Assemble a powered OTG cable
WiFi Bandwidth and Router considerations || Not all 1080p/720p is created equal
Follow the rules / Use 'Search' before posting / Post in the correct sections / Do not spam the board / Press thanks, don't post 'Thanks'
 
nano351
Old
#3  
Junior Member - OP
Thanks Meter 4
Posts: 10
Join Date: Oct 2013
Quote:
Originally Posted by bhiga View Post
Are you rooted or stock?

If you're rooted, probably you are using the Team Eureka whitelist which is the Google whitelist + Team Eureka.
You can go into the web panel and switch to the Google whitelist if you want to test.
So I'm using stock but the reason why I'm interested is that I'm the author of a chromecast receiver emulator with the goal of allowing any device that can run desktop chrome can run this app and be a chromecast receiver. However, the method by which a chromecast builds its app list isn't as simple as querying https://clients3.google.com/cast/chr.../device/config since that doesn't contain all the apps that are available on the device and I've never found any documentation about how the serial of the device is transmitted
 
mathorv
Old
(Last edited by mathorv; 4th February 2014 at 08:22 PM.)
#4  
mathorv's Avatar
Senior Member
Thanks Meter 65
Posts: 144
Join Date: Jun 2011
Rooted Chromecast takes application list from here:
http://pwl.team-eureka.com/applist.php
 
bhiga
Old
#5  
bhiga's Avatar
Recognized Contributor
Thanks Meter 558
Posts: 1,576
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by nano351 View Post
So I'm using stock but the reason why I'm interested is that I'm the author of a chromecast receiver emulator with the goal of allowing any device that can run desktop chrome can run this app and be a chromecast receiver. However, the method by which a chromecast builds its app list isn't as simple as querying https://clients3.google.com/cast/chr.../device/config since that doesn't contain all the apps that are available on the device and I've never found any documentation about how the serial of the device is transmitted
Ahh, I see. You're beyond my knowledge. Maybe @Team-Eureka can help.
-- Brandon // Google Chromecast threads: FAQ - READ THIS FIRST! || Rootable Serial Numbers
Mini-FAQ: What's the big deal with root? || Mini-FAQ: Rooting with FlashCast || Assemble a powered OTG cable
WiFi Bandwidth and Router considerations || Not all 1080p/720p is created equal
Follow the rules / Use 'Search' before posting / Post in the correct sections / Do not spam the board / Press thanks, don't post 'Thanks'
 
Asphyx
Old
#6  
Senior Member
Thanks Meter 209
Posts: 1,421
Join Date: Dec 2007
Quote:
Originally Posted by nano351 View Post
So I'm using stock but the reason why I'm interested is that I'm the author of a chromecast receiver emulator with the goal of allowing any device that can run desktop chrome can run this app and be a chromecast receiver. However, the method by which a chromecast builds its app list isn't as simple as querying https://clients3.google.com/cast/chr.../device/config since that doesn't contain all the apps that are available on the device and I've never found any documentation about how the serial of the device is transmitted
What apps do you think are missing from the list returned in the json.txt?

It seems like they are all there to me....
 
nano351
Old
(Last edited by nano351; 4th February 2014 at 11:16 PM.)
#7  
Junior Member - OP
Thanks Meter 4
Posts: 10
Join Date: Oct 2013
Quote:
Originally Posted by Asphyx View Post
What apps do you think are missing from the list returned in the json.txt?

It seems like they are all there to me....
Which app corresponds to AllCast by Koushik Dutta? https://play.google.com/store/apps/d...shikdutta.cast

Also the homescreen app in that url points to: https://clients3.google.com/cast/chromecast/home?chs=1

Whereas the current official homescreen is at: https://clients3.google.com/cast/chr...ome/v/c9541b08
 
Asphyx
Old
#8  
Senior Member
Thanks Meter 209
Posts: 1,421
Join Date: Dec 2007
Quote:
Originally Posted by nano351 View Post
Which app corresponds to AllCast by Koushik Dutta? https://play.google.com/store/apps/d...shikdutta.cast

Also the homescreen app in that url points to: https://clients3.google.com/cast/chromecast/home?chs=1

Whereas the current official homescreen is at: https://clients3.google.com/cast/chr...ome/v/c9541b08
Well the Homescreen stuff is built into the ROM I'm pretty sure.

As for AllCast are we sure he is using a Player App that gets loaded to the CCast or is he merely sending a link to directly connect to the unit running Allcast?

Koush would be the best one to answer that.
 
mathorv
Old
(Last edited by mathorv; 6th February 2014 at 10:52 AM.)
#9  
mathorv's Avatar
Senior Member
Thanks Meter 65
Posts: 144
Join Date: Jun 2011
Quote:
Originally Posted by nano351 View Post
Which app corresponds to AllCast by Koushik Dutta? https://play.google.com/store/apps/d...shikdutta.cast

Also the homescreen app in that url points to: https://clients3.google.com/cast/chromecast/home?chs=1

Whereas the current official homescreen is at: https://clients3.google.com/cast/chr...ome/v/c9541b08
If I were you I'd go for:
android SDK sources
https://www.youtube.com/watch?v=Qsw9Ogb6t4Y#t=92
https://developers.google.com/cast/docs/sender_apps
https://developers.google.com/cast/docs/receiver_apps
https://developers.google.com/cast/a...ackage-summary
and then is not satisfied contact Team-Eureka info@team-eureka.com

Eventually:
Reverse android apk code of allcast(this tool is widely discussed on xda):
https://code.google.com/p/android-apktool/

Look at posted sourcecode:
https://github.com/googlecast/
https://code.google.com/p/chromecast-mirrored-source/
https://github.com/team-eureka/

Also if you are really bored you can sniff communication between Chromecast and any app for instance AllCast with wireshark on linux distro.
If you found this information helpful please click [THANKS] below
 
nano351
Old
#10  
Junior Member - OP
Thanks Meter 4
Posts: 10
Join Date: Oct 2013
So I talked to one of the Team Eureka members and he gave me some very useful information.

The current URL for looking up available apps is this:
https://clients3.google.com/cast/chr...ice/baseconfig

The response is the same format s the old URL except this one has an extra field in it called "enabled_app_ids". This is a list of IDs that the chromecast device should show as existing. Once the app is requested to load, the metadata for the app is loaded from:
https://clients3.google.com/cast/chromecast/device/app?a={appid}
where {appid} is the id of the app.

It seems google opted for this to increase the number of apps that can be loaded into the manifest before they reach the limit

The Following 3 Users Say Thank You to nano351 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Keep Track of Everything Your Device Does with Event Logger

Regardless of their OS choice, computing power users generally share one common … more

A More Competitive Spin on the Addictive 2048 Puzzle

You may recall that a few weeks ago, we talked about a rather interesting take on … more

Multiboot in Progress for the Sony Xperia Z1

As we’ve mentioned quite a few times in the past, multiboot is quite the interesting … more

Samsung EFS Tool Updated to V5, Brings Universal Device Support

You may recall that we’ve talked about XDA Recognized Contributor … more