When I use Eclipse to develop my Android Project through remote desktop, I want to use my real mobile to test the apps.
How can I do that??
Is it possible to connect??
Related
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.
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".
I am working on an Android project. I want to make an Android app and load to an Android tablet. My goal is control the peripheral device over the Android app installed Android device. Therefore, I researched on the Internet to send/receive data over USB, and I saw the FTDI chip.
I have an FT232BL. I loaded the D2XXsample and driver and also read and processed TN_134_FTDI_Android_D2XX_Driver.pdf and TN_147_Java_D2xx_for_Android.pdf. But I don't achieve to connect the Android tablet and peripheral device. How can I fix this?
Okay so here is the background of this problem. I commute a lot on the train and build a lot of PHP web apps optimized for mobile devices. I would like to develop code on a netbook (Running Ubuntu Server) with no GUI. All development done using Vim directly on the netbook.
I would like to connect up my Nexus 4 to the netbook via USB and "connect" to the netbooks web server in the chrome browser. I can only use USB for this since I won't be having any reliable internet access.
I understand that using adb from the Android SDK, you can forward a port from the netbook to the phone. However, I need to do it the other way around.
For example:
Run a web server on the netbook on port 4000
Connect phone via USB
Somehow forward port 4000 on the phone to port 4000 on the netbook
Open chrome browser on phone and go to localhost:4000.
I am aware of the "reverse port forwarding" method that is described in the Google docs at https://developers.google.com/chrome-developer-tools/docs/remote-debugging. However, this requires an installation of chrome on the netbook. I don't want to have to install an entire GUI just for this.
Update
With regards to the above, I have found https://groups.google.com/a/chromium.org/forum/m/#!topic/chromium-reviews/7mE61hDcFdA. Does this mean I could install Chrome on the netbook (even though I don't have a GUI) and port forward via CLI?
An APP might do the job here. If you know some java you might be able to pull it off. Basicly you tunnel a connection through adb, then use an app as proxy and a small program on the computer. There might be an easier way though
I am trying to setup a Nexus One phone to communicate with an application running on a Linux tablet.
On the phone side of things, the Nexus One is Android 2.3.4 so it has the USB accessory library on it. And I have created an application Android following the instructions on http://developer.android.com/guide/topics/usb/accessory.html. I have verified that the Android application works by plugging it into the Microchip Accessory Development Starter kit and connecting to it.
On the Linux side of things, I have configured it to register the Nexus device with the usbserial module and create a ttyUSB0 device when the phone is plugged in. I have verified my application reads and writes to ttyUSB0 correctly. I did this by connecting it to a serial port on another computer and watching data come in through minicom.
Unfortunately The Android developer website does not cover any configuration that host devices (in my case, my Linux tablet) need to perform. In other words, what protocol does the Linux heed to follow to communicate with the phone?
This is not possible. After further research it is not possible to communicate with the Android device using serial USB communication. To communicate with Android applications through Linux use the libusb-1.x library.