Made the first application for Android, using Visual Studio and Apache Cordova. The application must access a third-party site via the post. Нормально работает на компьютере в эмуляторе, но после установки в телефон не выполняет запрос type $.ajax post. Нормально работает на компьютере в эмуляторе, но после установки в телефон не выполняет запрос post. Нормально работает на компьютере в эмуляторе, но после установки в телефон не выполняет запрос S.ajax post. Нормально работает на компьютере в эмуляторе, но после установки в телефон не выполняет запрос , возвращается jqXHR.status === 0 , то есть 'Not connect. \ N Verify Network.'`;

Checked, there is a connection to the network, the application displays the type of network with the appropriate plug-in.

 var ops = { error: function (jqXHR) { alert('error: can not load); }, success: function(d1, d2) { }, url: mainUrl, async: true, cache: false, dataType: 'json', data: {}, method: 'post', crossDomain:true }; $.ajax(ops); 

    1 answer 1

    You should visit the site: http://cordova.apache.org/ and read the documentation.

    Maybe you scored to connect to the project built-in plugin

     $ cordova platform add browser 

    Just keep in mind that you have configured CROS technology