Connecting S5 for debugging without USB - android

I have a dilemma in that I have just bought a Galaxy S5 to debug my Android apps on, but I've just discovered my work computer has disabled write access to USB for security, so I cannot connect the S5 via that method. Is there any other way I can debug on my S5 given this limitation?

Related

Geymotion emulator galaxy s8 no WiFi settings

I am trying to get an emulated Galaxy S8 in GenyMotion to proxy all traffic through my Kali VM that has Burp suite (intercepting proxy) running. All tutorials say to just turn on wifi in the emulated phone and set the proxy settings there (and that is how I remembered doing it around a year ago). But I cannot turn on the WiFi in the emulated phone.
So the question is: does anyone know:
a. How to turn the WiFi on in an GenyMotion emulated Galaxy S8?
b. If a is not answerable: how to direct all traffic from the emulated phone to the proxy?
EDIT: Using a galaxy S5 emulated phone does work with wifi....
EDIT2: So it is a problem with GenyMotion and android 8.0 (as the galaxy s8 with android 7 does work with the wiredSSID wireless). I would still like to know how to set this up though! :D

Android device acting as an accessory

I have 2 Android devices, which I would like to connect with a USB OTG cable and have back-and-forth communication between the two devices. From what I understand, one Android device will act as the USB Host (Nexus 7 running 4.4) and the other Android device will act as a USB Accessory (Galaxy Nexus running 4.2.2). I've tried googling around for an answer, but I can only seem to find articles explaining how to connect an Android device to a USB accessory (like a USB mouse or keyboard), not how to treat an Android device as the USB accessory itself.
So, following this page, I have configured an app on the Nexus 7 to be the USB Host. I can find the connected Galaxy Nexus based on its product id & vendor id, form a connection to the Android Open Accessory Protocol and successfully connect over USB. From what I can tell, the Nexus 7 can successfully send bytes to the Galaxy Nexus.
My question is how to access this connection on the Galaxy Nexus side. I have added permissions and the USB filter into the manifest, so the desired app opens on the Galaxy Nexus once the USB connection is established, but I can't figure out how to receive the data coming in from the Nexus 7 or how to send data from the Galaxy Nexus back to the Nexus 7.
Any help would be greatly appreciated! Thanks!
See my SO answer here.
If you want the Galaxy Nexus to act as the USB Accessory, then it must implement the Android Open Accessory protocol. An Android Accessory is a usb host, so technically you would have two hosts (assuming you managed to implement correctly the AOA protocol on the Galaxy Nexus), which is clearly a deviation of the USB spec.

Does the sprint galaxy nexus support usb host mode?

I was wondering if the sprint galaxy nexus supports the usb host mode? As stated here it is supposed to be available on android versions above 3.1. The galaxy nexus uses ice cream sandwich(version 4+) so it should have it. This video shows someone using the galaxy nexus with a usb mouse attached, so the stock galaxy nexus version should have this capability. I was just wondering if Sprint changed the kernel in someway that disabled the usb host mode functionality. This site states that the galaxy s from sprint has "Mass storage device, USB Host, USB charging" as a feature but for the galaxy nexus from sprint the only feature listed is "USB charging."
I only realized this might be a missing feature because when I tried to set up a small test app using the Usb host mode api no device that I connected was ever recognized. I tried pluggging the device in after device startup and before device startup. I was reading the logcat wirelessly as is defined here so I could moniter what would happen when I was plugging a usb device in and removing it. Logcat displayed nothing. Any explanation or links to other sites saying that the Sprint galaxy nexus does or does not support usb host mode would be much appreciated(only Sprint, I beleive Verizon does support it, but I have a Sprint test device). Thanks.
Stock Galaxy Nexus works for me with USB Host mode. Been able to use the Ant+ receiver with no problems.

USB host APIs public or blocked on Samsung Galaxy S3

we know the Samsung Galaxy S3 will have USB host but do you guys have any knowledge if also the USB APIs will be public/accessible or blocked on the Samsung Galaxy S3 to allow developing apps requiring access to these APIs?
It will be similar to other SGs.
Same access through the android OS/(Linux if rooted) as normally.
I have a galaxy S3 and apps like 'USB Host Viewer' and 'USB Host Controller' are able to see slave devices just fine with an OTG host adaptor connected.
I'm going to assume this means that the APIs are enabled but as I'm yet to find a usb driver that will l

What Android tablets are developers using to writing & test USB Host apps?

We're looking to start some development which will require USB Host functionality on Android. We were going to use the Samsung Galaxy 10.1, but this question suggests that Samsung have removed this api.
What tablets definitely have this working fully?
The US version of the Motorola Xoom Wifi-only (MZ604) is your best shot. This is a GDE (Google Device Experience) which means that it is a clean Android version. In other words Motorola has not done any modifications to Android and the USB-host API is intact.
Check my thread on the motodev forum.
I can't verify the Samsung has removed the USB API from the Galaxy Tab 10.1 with OS 3.2, but I can verify that its full functionality is not present.
The Tab apparently has a special handler for HID devices, and a number of USB devices do not enumerate at all.
I use two:
Google Galaxy Nexus OTG works, while I initially assumed it does not by using the wrong cable. There is OTG cable and there is micro USB device cable, both fit into connector but they are not the same.
Lenovo Thinkpad tablet just has the additional normal size USB connector, same as ordinary laptop. It is for USB host devices, and these devices work when connected.

Categories

Resources