I am working with chromecast device.I am working in android native app. I am in too much trouble with this. I have tried all sample projects that are available on Github. Try to make my own app.
here are steps which I follows.
GoogleCastSdk
mediarouter library
AppComp Library
Whitelisted My device Properly
Set chromecast app as"Send the serial # when checking for updates"..
I have also checked that my device is properly whitelisted with chromecastIP:9222.
But In every sample or my own app I am facing an issue. Chromecast icon is Enabled as there is chromecast Device.. But cant discover my device listed there..
Is there any thing that I am missing??
Any help is this case where I am wrong would be highly appreciated.
Related
For work I am trying to set up multiple OEM Android tablet devices (Rockchip rk3288 / Android 8.1) as fully managed devices using Google's Android Management API.
Following the quickstart steps I can see that after generating an onboarding QR code I should factory reset the device and tap 6 times to scan the QR code.
Unfortunately it seems that these devices were supplied in such a way that the image does not contain the setup application - after factory reset no setup application runs and I can't find setup among the installed apps.
Does anyone know of a way that I can onbaord the devices as Fully Managed using the Android Management API?
Thanks in advance.
I've developed an Android App Supports Endoscope using library UVCCamera.
Everything working properly but when using the camera with LED Light, a moment later the camera will disconnect and show the message "USB DEVICE DETACHED". This error also cannot find and not show in log console.
When I tested the app with similar apps in the Google Play (CameraFi, UsbWebCamera), I also found the same problem.
Any suggestion about this?
This link is video I recorded. https://www.youtube.com/watch?v=BkXbZo6AO8c
I using Samsung Note 2 and Redmi2 in test.
Thank you.
looked everywhere but no one had an answer to this sadly.
Been trying to use an android app that comes with the Android development tools called SDKcontroller. This app is suppose to let me test the multi touch capabilities of my apps. This app is suppose to send input information from a real android device to the emulator. It should let me control the emulator by using the touch sensor in my android device.
I fallowed the instruction and the app is telling me that is connected to the emulator but that is as far as i get. I can touch and touch all I want but the emulator is not responding.
Has somebody been able to get this to work? If so please let me know.
here is a link to the you tube video demonstrating the app: http://www.youtube.com/watch?v=Erd2k6EKxCQ
here is the android project site: http://tools.android.com/tips/hardware-emulation
I have a problem when i am trying to use my chromecast device.
Currently I have an app for Android , one for iOS
and these 2 apps from github.
https://github.com/googlecast/MediaRouter-Cast-Button-android
https://github.com/googlecast/CastVideos-android
All of them have a common problem. They sometimes cannot accuratelly tell if a chromecast device is connected or disconnected.Taking around a minute before they find it out themselfs.While an application like Youtube , discovers if it is connected or not, instantly.
EDIT #1 START:
While using the application "Cast Videos" for android from GitHub the following thing happens.
I hold the android device in my hand (Samsung Galaxy S2).
I know chromecast is on because I can see it on my monitor.
I start the application "Cast Videos".
The Chromecast icon does not appear, even if the chromecast device is on.
EDIT #1 END;
I have tried using the app_id from my own receiver application , and the default receiver app_id.
I have found a way to trick them into finding the device. By launching the youtube application on an Android or iOS device , connect to the chromecast device , then disconnect.
When I return to on off the apps I have mentioned at the start of the question , they can detect it now , and connect to it.
The two applications from github are not modified , and use the most up to date support libraries (appcompat, mediarouter, CCL).
The applications are now being currently build on a Mac (if that matters). I don't think it will be of any difference if they were built on Windows or something else.
EDIT #2:
I am starting to suspect that actually the wifi router in the building im programming may cause these connection problems. Because when I send the app to other people they don't have the same problem.
EDIT #3:
Good news :D.
The latest update on the castcompanionlibrary made chromecast detection much more reliable and the sample now detects preciselly every time if it is connected or not.
Hi I've been trying to use an android app that comes with the Android development tools call SDKcontroller. This app is suppose to let me test the multi touch capabilities of my apps. This app is suppose to send input information from a real android device to the emulator. It should let me control the emulator by using the touch sensor in my android device.
I fallowed the instruction and the app is telling me that is connected to the emulator but that is as far as i get. I can touch and touch all I want but the emulator is not responding.
Has somebody been able to get this to work? If so please let me know.
here is a link to the you tube video demonstrating the app:
http://www.youtube.com/watch?v=Erd2k6EKxCQ
here is the android project site:
http://tools.android.com/tips/hardware-emulation