I wrote a sender in android and wrote a custom receiver, I have a problem that how can I know to show different language content from receiver when sender connected
Asked
Active
Viewed 206 times
1 Answers
0
On the sender side, when you want to launch your application on a cast device, you can provide additional data in the api that launches the app by providing a LaunchOptions parameter (see this, for example). One of the parameters there is language and once you set that, when the cast device requests your receiver, it includes the appropriate "Accept-Language" header and your server can provide the appropriate page to the cast device.

Ali Naddaf
- 16,951
- 2
- 21
- 28
-
Any example of it, I found a lot of web site that no any example fit to me – Eagle Oct 11 '15 at 14:10