Problem in running sample apps

General discussion on Zend Studio
Post Reply
Posts: 1
Joined: Wed Feb 08, 2017 1:36 am

Problem in running sample apps

Post by chan6539 » 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 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
Android Emmulator2.jpeg
Screen shot with Android emmulator running APIservice on the browser
Android Emmulator2.jpeg (56.09 KiB) Viewed 1789 times
Screen shot with cordovaSim running
cordovarSim.jpeg (51.45 KiB) Viewed 1789 times
Android Emmulator1.jpeg
Screen shot with Android emmulator running the app
Android Emmulator1.jpeg (34.34 KiB) Viewed 1789 times

Post Reply