0

I want to develop an App using Icenium Graphite for cross platform(Android, ios).

This particular App will also access Database through WebApi.

I am new to Icenium Graphite so please let me know the resources which i can use for development.

Trupti
  • 597
  • 4
  • 8
  • 17

1 Answers1

1

When you write and app with Icenium, it's almost exactly like writing a standard HTML5 web application. Therefore, if you are accessing a service layer like Web API, you can make a standard ajax call with jQuery's $.ajax like so:

$.ajax({
    type: "get",
    url: "http://somewhere.com/service",
    contentType: "application/json",
    dataType: "json",
    success: function (x) {
        console.log(x);
    }
});
Rob Lauer
  • 3,075
  • 1
  • 32
  • 44
  • can i get any sample which access the webapi in Icenium Graphite? – Trupti Nov 06 '13 at 10:10
  • There are all kinds of Icenium sample apps here: http://docs.icenium.com/sample-apps/sample-apps - one that may help you especially is the Music Store app: http://docs.icenium.com/sample-apps/sample-kendo-mobile-music-store – Rob Lauer Nov 06 '13 at 13:44