简体   繁体   English

如何通过USB电缆从Android应用程序访问tomcat服务器?

[英]how to access tomcat server from android app over usb cable?

I have developed servlet on apache tomcat which is having mysql connectivity. 我已经在apache tomcat上开发了servlet,它具有mysql连接。 and android client app. 和Android客户端应用程序。 its working fine on emulator with url: http://10.1.10.203:8080/myServlet . 它的工作正常在模拟器上使用url: http//10.1.10.2038080 / myServlet but now i want to deploy this app on actual device using usb cable. 但现在我想使用USB电缆在实际设备上部署此应用程序。 how i can i do this?? 我怎么能这样做? how to access ip of pc using android device over usb cable???? 如何使用Android设备通过USB电缆访问电脑的IP?

使用设备Wi-Fi连接到PC注册的同一网络。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 有可能通过 usb 电缆访问胡椒平板电脑,或者有一种方法可以尽快从 Android Studio 构建应用程序吗? - There is a possibility to access pepper tablet via usb cable or a way to build the app from Android Studio as fast as possible? 可以通过 USB 电缆从 Android Studio 发送“发布”版本吗? - Possible to send “release” build, over USB cable, from Android Studio? 通过 USB 电缆进行 PC 到 Android 通信 - PC to Android communication over USB cable 如何完全不使用USB电缆通过TCP连接到具有ADB的Android手机? - How can I connect to Android phone with ADB over TCP without using a USB cable at all? 如何修复Android中使用USB网络摄像头拔掉usb电缆错误? - How to Fix unplug usb cable error in android with usb web cam? 通过USB电缆将条形码从android应用发送到C#桌面应用 - Send Bar code from android app to C# desktop application via usb cable 如何使用 usb 从 windows 访问 android 应用程序数据 - How to access android app data from windows using usb 仅当手机使用USB电缆连接到计算机时,A​​ndroid应用才会启动 - Android app only starts if phone connected to computer using usb cable 如何在没有 usb 电缆的情况下通过 wifi 网络连接 ADB? - How to connect ADB over wifi network without usb cable? Android应用程序通过USB电缆的数据引脚发送信号 - android app to send a signal through the data pin of the usb cable
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM