How to test apps wirelessly in Xcode or Android Studio? - android

What's the fastest and most effective way to test applications via bluetooth or Wi-Fi rather than a standard USB connection in Xcode and Android Studio?
I could transfer the APK file to Google Drive and then test it, however I'm looking for a much faster method which will also work for Xcode.
Will the live debugging data show up fast enough or will there be a lag between the workstation and test device as data is transferred between them?

In Xcode's Help search for "Pair a wireless device with Xcode".

Related

Development Environment for mobile debug

I currently working on a Xamarin .NET Core application, to debug my entire application, I use a VM with 32Gb to run back-end, web-service and web client to debug end to end.
But I want to debug my Xamarin app too. I can't debug over wifi, because the hotspot isn't accessible. I checked solution to plug directly on the cluster where my VM is hosted, however it is really convenient.
Hypervisor is an Esxi.
It's possible to route ADB flux from a physical device through a RDP connected VM ?
Answer
We found a software that bind USB over RDP on Windows, unfortunately, the software licence is not free but has a free trial period.
You need to install the workstation side on your physical computer, and the server side on your VM.
If someone find a opensource alternative working well as this client, he can share it here.

Can the MIDI communication be tested between Android Emulator and a plugged piano to the computer?

I'm reading through the documentation, it is not clear to me if when testing the transmission of MIDI data between App and Piano, an external android device is needed. To be more precise, Do I need to develop first, port the app into the smartphone, and then testing? or, can I simply plug the piano to the computer and the emulator will recognize it?
This will help me decide if I should manage a cable Smartphone-piano or Piano-computer.
Thank you for your help !!!

How to mitigate local network problem with Expo

Expo is crashing when using an Android emulator on my Ubuntu machine. So what I want to do is upload the app to my real Android device using Expo. But when I do this using the local wifi network, I get:
Perhaps I should just physically tether my phone to my Ubuntu laptop instead of going through Wifi? What about bluetooth to upload the app to the phone from my Ubuntu machine?
In the tutorial there is an explanation of how to handle this: https://docs.expo.io/get-started/create-a-new-app/
Is the app not loading on your device?
First, make sure that you are on the same wifi network on your computer and your device.
If it still doesn't work, it may be due to the router configuration — this is common for public networks. You can work around this by choosing the "Tunnel" connection type in Expo Dev Tools, then scanning the QR code again.
🐢 Using the "Tunnel" connection type will make app reloads considerably slower than on "LAN" or "Local", so it's best to avoid tunnel when possible. You may want to install a simulator/emulator to speed up development if "Tunnel" is required for accessing your machine from another device on your network.
An aside -- I've opened an issue here to discuss adding an easy and fast way to connect to your device under these circumstances.

Connecting RC controller to Android Emulator

I've been using the SDK in Android Studio and was wondering if it's possible to connect the RC Controller (either from Mavic 2 Zoom or the Matrice 210 RTK) to the laptop and have the emulator communicate with the controller rather than using a physical phone for development/testing?
If the SDK is not possible, would any of the off-the-shelf apps from DJI be able to run on an emulator?
If so, are there better device emulators that work best with DJI?
Thanks...
Unfortunately I've found that the emulators lack the capabilities to process the USB data fast thought enough to connect to aircraft. You really must use a real Android device.
There is no way to connect the RC directly to the emulator, but you could use the bridge app in addition to the emulator.
https://github.com/dji-sdk/Android-Bridge-App

How to connect Android device to Azure VM with Visual Studio

I want to connect my Android device to Azure VM with Visual Studio so I can debug and deploy an app. I created a VM by using a template that includes VS. On the RDP file, I edited settings so that all ports are redirected to the VM. This works fine with hard drives, but I can't get my Android device to show on the VM. Consequently, VS isn't aware of the device. USB debugging on the device and developer mode on the Win10 VM are enabled.
https://stackoverflow.com/a/29611391/812582
I checked all boxes on the above screenshot.
Are there any tricks I need to do to get this working?
According to your description, based on my understanding, it sounds like you want to map the Android device host USB to the remote Win10 VM over network for implementing remote debug.
There are some device driver software which can help you access remote USB device via USB over network. Meanwhile, I searched an existing SO thread Using remote host's USB port as local USB (Linux and Win) is very similar with your needs, but the USB/IP project be mentioned in the thread seems to be not suitable for your scenario which is between two Windows OS.
Suggest that try to use some business software like USB over network if you will.
Hope it helps. Any concern, please feel free to let me know.

Categories

Resources