Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7766471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:25:35+00:00 2026-06-01T15:25:35+00:00

I written a android mobile application in JQuery Mobile and PhoneGap in Eclipse. In

  • 0

I written a android mobile application in JQuery Mobile and PhoneGap in Eclipse. In the application I am calling a jquery ajax to load list of data from other domain.

My jquery ajax call code is:

$.ajax({
            type: "POST",
            url: WEBSERVICE_URL,
            async: false,
            data: dataString,
            dataType: 'json',
            crossDomain: true,
            success: function(data) {
                loginData = new Object(data);
                hideActivityIndigator();
                if(loginData.success == "true"){
                    $.mobile.changePage("#selectionScreen", "slide", false, true);
                } else {
                    $("#message_ajax").html("Invalid UserName/Password.");
                }
            },
            error: function(xhr, ajaxOptions, thrownError){
                alert(xhr.status);
                alert(thrownError);
                hideActivityIndigator();
            }
        });

The variable “WEBSERVICE_URL” has a other domain php service url.
On executing above code on “pageview” event I am getting following error

Error: NETWORK_ERR: XMLHttpRequest Exception 101

Any solution is there to access service from other domain in JQuery Mobile + PhoneGap…?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:25:37+00:00Added an answer on June 1, 2026 at 3:25 pm

    If you are using Phonegap/Cordova you should be able to call cross-domain web-services.. are you using an emulator or a phone?

    As for emulator I would recommend Ripple, you can add it as a Chrome extension or Download the standalone version

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've written a PhoneGap plugin for Android that gets called from the browser on
I am developing application using phonegap in eclipse for android .I have created folder
I've written Client Server application for Android mobile and PC using bluetooth connectivity, in
I've written an Android app which populates the UI via data from an XML
I have written a mobile application for android. When I test it on Samsung
I am working on a mobile app written HTML/CSS/PHP/jQuery, testing on Android (Gingerbread) and
I have written an application for Android. the main part being that it communicates
I've written an android application for tee time reservations at a single golf course.
I have written an Android application that uses SQLite database which is saved in
I have written an Android application that I am about to release, but I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.