javascript - sending http request to local server using appcelerator -


i developing mobile apps appcelerator. problem is, not able calling rest webservice using android emulator i.e server in local system

i getting "not found" error message,also using local ipv4 address in emulator, no luck.

please asap.

i think need access rest services local server emulator.

so if using rest services using localhost try follow.

if webservice url below,

http://www.domain.com/your_web_service_name

then replace www.domain.com 10.0.2.2 because running application emulator, have use localserver using 10.0.2.2

hopefully, work you.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -