I'm new to TV apps, and I've built some simple TV apps. And now I want to find a way to test the apps in the actual 4-5 TVs I own. The point is to do automation tests and have access to "console" messages, like I have when I do this in emulators. Unfortunately, I haven't found any relative software. The TVs which I have are: 2 LG, 1 Samsung and 1 Android and one older FireTV.
I have looked into docs for Android, WebOs, and Tizen and I found nothing. I found just for FireTV the "Amazon Web App Tester (Fire TV)" but because I have an old Fire TV I want more to check out the others.
I cannot really help with Tizen OS or WebOS, but on Android TV/Fire OS this should be relatively simple. You need to setup an ADB connection and you will be able to debug and build your apps directly on the Android TV device.
Enable Developer options on the tv
Enable ADB debugging in the developer options
Go in the wifi settings of the TV and take note of the IP address (and make sure that your PC and TV are connected to the same wifi)
On your Android Studio console/computer terminal type:
adb connect <TV IP address>
Allow the connection in the popup that prompts on the TV
You should be able to now see the device in Android Studio and use that as a build target.
Related
Can I use any Android device/TV as a wireless display screen (not Mirroring/Screen Casting) ?
I am looking for a way to mimic the setup when we connect an External monitor using HDMI/VGA/Display cable with a Laptop and then extend the display of Laptop to the Secondary/external Monitor.
Here I want to use the android device as a secondary monitor connected Wirelessly (Wi-Fi). I am able to achieve same thing from My Windows 10 installed on Lenovo T490 and a Samsung Smart TV having Tizen running on it.
I have already tried SpaceDesk and few other Screen sharing apps but they all are dependent on Apps/drivers installed on both Laptop and the Android Device. I am OK to install it on the Android device but I am thinking if without installing any such driver/application on the laptop it should work. Please note that for the Samsung TV setup as mentioned above, I do not have to install anything on the laptop.
I am trying to figure out if it is possible to share the display of my LG Style watch to a PC for an app demonstration. I haven't been able to find anything online mentioning this. Does anyone know how this might be done?
Thank you
You may refer with this tutorial on how to Cast your Android Wear Screen. Make sure that you have setup the Android SDK on your machine. Specifically, you need to be aware where you have setup your Android SDK and Tools and are aware of the adb command.
Steps:
Enable Developer Options on your Android Wear device.
Enable Debugging over Bluetooth on your Android Phone.
Enable ADB Debugging on your Android Wear Device.
Fire up a few ADB Commands.
Verify that both Android Device and Wear Device appear in the ADB devices.
Use any of the ADB Screen Casting Tools
Hope this helps!
I'm trying to debug a Website in Chrome on an Android device. For this I'm following the official remote debugging guide.
Things are working up to 6. Make sure that Discover USB devices is enabled., but then in point 7. Connect your Android device directly to your development machine using a USB cable., the device is not showing up. Also on the device, I do not get the the Allow USB Debugging permission prompt as described in point 8.
The device has USB Debugging enabled, and Windows recognises the device.
I'm able to connect to the device using Android Studio, and then use Chrome remote debugging. But it looks like overkill to install several GigaBytes just to be able to clic ont the Allow USB Debugging permission prompt on the device.
What can I do to launch remote debugging without installing Android Studio ?
If you turn on Developer options on your Android device, you should be able to toggle USB Debugging from there. Download the standalone ADB package or install Android Studio. Run adb server in the command line. Connect it and then the prompt to accept the device's RSA key fingerprint should appear and you should be good to go.
The docs do a better job of showing the step-by-step process https://developers.google.com/web/tools/chrome-devtools/remote-debugging/
P.S. if you'd like to test this multiple times on the same two devices you can click Revoke USB debugging authorizations in the Developer options to revoke all previously connected devices' RSA keys.
For those landing here from Google: my problem was a bad cable shipped with the device (Samsung Galaxy A03). It only charged but did not transfer data. I bought a decent third-party cable and it started working.
I am a budding developer. I want to develop an app for Sony Smart Glass and I have bought the glass already started the process of developing with Android Studio. My question is how can I install the app in Sony Smart Glass? I have tried to read the Sony website but it's not mentioned there.
If it has USB debugging somewhere in the settings, then enable it. Then you would be able to run the app from studio or adb via usb cable. Or just push your .apk into that device and install it even with some file explorer. Even Bluetooth might be an option here if the device supports it.
This SDK is probably necessary.
If it has no port through which you could push your .apk to that device and it relies only on google play or its specific store (something like samsung used to have), then the only option is to use the store - but it shouldn't be that much restricted.
I'm a newbie to the Android development world but have some experience with embedded systems.
I'd like to use an Android phone (4.x or higher) to control other devices via its USB port. We want to set the Android device as a USB host, so solutions where other devices play the host role (e.g. Android Open Accessory Development Kit's Arduino) will not meet our goal.
We are currently using Eclipse-SDK for Android development and successfully have compiled/run/debug several apps. However, I have a very naive question. I was wondering if there is a way one could use the USB port of the development host PC as an input to the Android Virtual Device emulator.
I realize that an easier way to debug the USB-host apps we are writing would be by having a real device. However, the price of the new Ice Cream Sandwich devices is somehow far away from our reach and not the ideal way for debugging an application at its early stages.
I appreciate any help you can provide me with.
The Android Open Accessory Dev kit has been backported to 2.3.4 see here http://developer.android.com/guide/topics/usb/adk.html
So install CM7 or earlier (http://www.cyanogenmod.com/) on your HTC desire and you should be good to go!
Look at the example projects for the 2.3 SDK should help get you going in the right direction.
Path to SDK Samples for me was C:\Program Files\Android\android-sdk\samples
If your looking for USB Host Support basically control and talk to another usb device such as mouse, keyboard, usb thumb drive etc the following should help.
Nexus One as USB Host: http://sven.killig.de/android/N1/2.2/usb_host/
USB Host: External USB devices to Android phones?
Official Android SKD UsbDevice Class: http://developer.android.com/reference/android/hardware/usb/UsbDevice.html
You should take a look at this project, its a great reference
https://code.google.com/p/mover-bot/