Does Google Cast support screencasting from Android devices? - android

Does Google Cast support screencasting from Android devices? For example, could we implement it into our tablet app to broadcast our screen to a receiver device running on a bigscreen TV, for demonstrations and events?
This post mentions creating a mini-server on an iPhone to serve content from. Would it be possible to create a mini-server within our Android app that captures and broadcasts the screen?

Google Cast doesn't support screen casting. However, you could certainly create a tiny web-server (such as http://tjws.sourceforge.net/) which serves images you've created. (Remember to shut it down when the user turns off the screen -- to save power) You should even be able to use the Styled Receiver for that.

No, Google Cast only supports streaming to a Chromecast, from any Chromecast supported device.
Also the "app" must be chromecast capable, so you would have to do what the post suggests, create your own app that acts as the middle-man in-between your device and your chromecast-supported-TV.
Simple Alternative For Screen Sharing:
On the other hand, a faster solution (if all you need is share your screen) is to use Droid#Screen and mirror your computer's display to the bigger screen or use join.me so users seeing your screen can also see your Android device.

Related

How to Configuration Device as a Single Purpose Application Device?

I have seen this in action in places like hostels/hotels:
How can you lock/restrict/configure an android device to only use an application, while having the following or most of them?
After every boot open and lock to a specific application.
Restrict specific hardware buttons, if any. (power button or all)
Lock device to use specific applications.
Is there anything "out of the box" provided by the SDK when building your applications? And if there is something like that what is the API support for that and how low does it get, API level wise?
Do you configure your device in a specific way? Is ther a documented pipeline for that?
I would prefer something official from google rather than 3rd party applications that do that.
firet it will suport in or after android 5.0
second lock app on your device for that creaate activity for luncer startLockTask(){}
First of all Single Purpose application is supported after Android 5.0.
To lock the app on your device call a method startLockTask() in your onCreate of launcher activity.
For detailed decription see this doc.

How can I push a URL to several phones and tablets when doing development?

Smartphone and tablet use is so diverse now that the only way to see if a website is actually rendering properly is to directly view it on the device itself (especially if it is an interactive bug).
Is there a way I can push a url to several devices in front of me?
I'd really want to do this in-house and not use an outside service if possible since this is for development.
If I have to do a one-time configuration on each device that is fine of course but the idea is that it would go to the url by itself as if it was entered directly.
I've seen "pushbullet" and apparently there used to be service called Site-To-Phone that no longer exists, but again, in-house would be best.

Android App - Turn on "Screen Cast" from ChromeCast App

This is a tricky one and I am guessing it won't be answered as I am not sure its possible. I am working on an application that the customer would like screen cast on to a large TV, with effectively "one click" in a menu on an android device (to a ChromeCast).
Scenario is
ChromeCast in TV and on wifi (but not connected to android device).
Android application is run by user.
User hits "one click" button (which is more like two click), one to start cast device lookup, second selects device.
Mirroring occurs
That's pretty much it. Its the same feature as the ChromeCast App "Screen Cast" functionality...to be honest we just want to turn this on from our app, instead of having to load the ChromeCast App.
Thanks.
There is currently no API to turn mirroring on from within an app. Note that on devices such as N5, the mirroring option is also offered from the notification shade so no need to bring up the chromecast app.
I have the same problem. The only way I have been able to acheive this is by starting the chromecast app and starting screen mirroring from there, and have my app implement a Presentation class. Even though I have been able to fully implement the ChromeCast UIButton, it doesn't work for starting screen mirroring from within the app. Probably an undocumented API or something they might add in the future, but currently I have found no way of doing it only in-app.
-edit-
Just thought I'd mention it, but a while back (after I/O 15) Google updated the available ChromeCast API's. Using a CastPresentation and the latest callbacks, it's possible to do this.

Casting from Android - can you cast an entire app or only media content within the app

I'm looking through the chromecast api and trying to figure out whether I can cast an entire android app on to the screen, or only media within that app. Does anyone know the answer to this? I want to make sure if I build a cast app, that the entire app can be sent to a tv screen, not just media contained within it.
No, you cannot cast an entire Android app to the ChromeCast device. The mobile app and the ChromeCast app are two different apps. The app running on the ChromeCast device is HTML. The app on your mobile device can send commands to the app running on the ChromeCast device. These commands can be used to play media or for handling custom messages.
You can do this: you have to use the Presentation API to display your content, and the only way to get this done right now is to start the ChromeCast app and apply screen mirroring. Then you can see only the contents of your Presentation class on the chromecast ... but so far I haven't been able to start screen mirroring solely from the ChromeCast UIButton within my app.

Is it possible to have a second screen device launch an application on Google TV?

I've been reading the AnyMot protocol and the fling is mentioned wherein a second screen app can launch the YouTube app. Could a tablet application launch say the Flixter, Pandora or the Goolge Music app without it being a remote control emulator. If so would the AnyMot protocol be what's used?
Thanks
Anymote is a very much adequate for that. If, you want to do an app like "Able Remote", you'll need to put a small app on the TV which will tell you what apps are present. But for what your asking, it's doable w/ just Anymote.

Categories

Resources