开发者

How to config computer/phone network to access local web server via USB (Android:GAE)?

Current configuration

Use Android emulator and GAE tools (to access local GAE service I set uri http://10.0.2.2:8888/XXX and it works.

Question

I would like to use Android device(phone) via USB to call web service running on connected "local" computer. Wh开发者_运维知识库at is best configuration practice ((I don't have static IP) I am using mac and linux)?


If you can connect both the local computer and your phone to the same wireless network, you could just access your PC from your phone by the IP address of the computer's wifi interface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜