Problem in running sample apps

General discussion on Zend Studio

Problem in running sample apps

Postby chan6539 on Thu Feb 16, 2017 3:22 am

I am trying to runn the provided sample mobile app "customers" with REST service. MY REST API is on a xampp local host with url http://192.168.2.21/myAPI/public/customers and it works fine. When I test the mobile app with cordovar sim it works fine too. However when I run it on a connected device or Android emulator I get an ajax error and I noticed the the data call never reach the server (I have xdebug installed). However when I check the same API url on a browser with both the connected device and Android emmulator the API service works fine. Can someone hepl me figure out what is causing this problem

Thanks in advance
channa
Attachments
Android Emmulator2.jpeg
Screen shot with Android emmulator running APIservice on the browser
Android Emmulator2.jpeg (56.09 KiB) Viewed 622 times
cordovarSim.jpeg
Screen shot with cordovaSim running
cordovarSim.jpeg (51.45 KiB) Viewed 622 times
Android Emmulator1.jpeg
Screen shot with Android emmulator running the app
Android Emmulator1.jpeg (34.34 KiB) Viewed 622 times
chan6539
 
Posts: 1
Joined: Wed Feb 08, 2017 1:36 am

Return to Zend Studio

Who is online

Users browsing this forum: No registered users and 1 guest