Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Parsing JSON Data ( IOS Device )

Mohamed_Ali_B_
628 Views

 

Parsing JSON data with javascript ( ajax request or getJSON ) works in emulator but does not working in ios device

 

Example :

 var url= "http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true";

   $.ajax({

        type: 'GET',

        url: url,

        async: false,

        contentType: "application/json;charset=UTF-8",

        dataType: 'json',

        success: function(data) {

           alert(data);

    },        error: function(e) {       

    alert("error ");  

        }

    });

0 Kudos
1 Solution
Swati_S_Intel1
Employee
628 Views

The issue has been fixed now.

View solution in original post

0 Kudos
2 Replies
Swati_S_Intel1
Employee
628 Views

We are having issue with iOS build and engineering is looking at it. Please follow this thread, we will post as soon as it is fixed.

https://software.intel.com/en-us/forums/intel-xdk/topic/611793

0 Kudos
Swati_S_Intel1
Employee
629 Views

The issue has been fixed now.

0 Kudos
Reply