开发者

android app development: app cant connect to internet on phone but can so on emulator

开发者 https://www.devze.com 2023-04-10 14:50 出处:网络
so somehow when I run the emulator, my app works fine and parses the xml correctly which is located on my webspace.Everything is good and expected.

so somehow when I run the emulator, my app works fine and parses the xml correctly which is located on my webspace. Everything is good and expected.

Then I try running it on my phone (LG Optimus one) and it crashes unexpectedly.

I already put internet permission in my manifest so that can't be the problem.

how can I get this to work?

EDIT:

Wo开发者_如何学编程w ok now it works. I have a feeling I did something stupid and not turned my Wifi on or something. It was late at night so... Thanks for everyone's responses though

0

精彩评论

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