If you're trying to make AJAX requests from within the Workshop app—for example, with $.get() or $.ajax()—you'll notice nothing happens. Why? AJAX requests cannot be made across different domains. App Cloud provides a device method for this very reason: bc.device.fetchContentsOfURL(url, successCallback, errorCallback); This asynchronous method can be used to load any kind of textual data, from JSON to XML to HTML. For example: Read More →
