Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,395 Members 47,079 Now Online
XDA Developers Android and Mobile Development Forum

How to start custom app via http

Tip us?
 
zsoltt
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 3
Join Date: Apr 2014
Default How to start custom app via http

Dear All,

I am a bit stuck. How can I start a custom receiver via http? I tried sending a GET to /apps/1234ABCD (with the code I get on the developer console) but I constantly get 404.
The same code works via ios/android/chrome sdk, but unfortunately I have to use this outside of the ios/android/chrome world...
I did not have success with Wiresharking the network traffic using the chrome sdk, the app id seems to be not trivially stored in the requests.
Any ideas?

Thank You!
 
knoxbrder
Old
#2  
Senior Member
Thanks Meter 80
Posts: 335
Join Date: Jan 2009
The old V1 app ids like youtube, netflix, etc can be launched with a POST but that doesn't work for the new V2 app ids.

I would like to know how to launch the V2 apps as well (as I have my own). From Wireshark, it looks like it might be related to SSL traffic on port 8009 to the Chromecast, but I have not been able to figure out what to send it.
The Following User Says Thank You to knoxbrder For This Useful Post: [ Click to Expand ]
 
zsoltt
Old
#3  
Junior Member - OP
Thanks Meter 1
Posts: 3
Join Date: Apr 2014
Quote:
Originally Posted by knoxbrder View Post
The old V1 app ids like youtube, netflix, etc can be launched with a POST but that doesn't work for the new V2 app ids.

I would like to know how to launch the V2 apps as well (as I have my own). From Wireshark, it looks like it might be related to SSL traffic on port 8009 to the Chromecast, but I have not been able to figure out what to send it.
Thank You. At least I know that I am not alone with my problem!
If you find out anything, or have an idea, please don't hesitate to tell me.

It's sad that this is closed this way, can't figure out why.
 
zsoltt
Old
#4  
Junior Member - OP
Thanks Meter 1
Posts: 3
Join Date: Apr 2014
The 'nodecastor' project on github (_not_ nodecast) seems interesting!
The Following User Says Thank You to zsoltt For This Useful Post: [ Click to Expand ]
 
knoxbrder
Old
(Last edited by knoxbrder; 22nd April 2014 at 05:24 AM.)
#5  
Senior Member
Thanks Meter 80
Posts: 335
Join Date: Jan 2009
Quote:
Originally Posted by zsoltt View Post
The 'nodecastor' project on github (_not_ nodecast) seems interesting!
Wow, that was a pain to get installed. But it was worth it. Now I can launch my app from the command line or my webserver without have to start it from an android app or a special chrome plugin. Thanks!

When I have a few hours I need to trace through it and see what it does that required so many other npm installs.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes