1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    4
    Vote Rating
    0
    chilukuri is on a distinguished road

      0  

    Default Sample code for ajax call on sencha touch

    Sample code for ajax call on sencha touch


    Someone can provide me the sample code, to use sencha touch ajax calls on mobile applications.

    I want to call the servlet using ajax call in sencha. Servlet will return the JSON object as response. I have to catch the JSON object and need to display the data on the screen.

  2. #2
    Sencha - Services Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,353
    Vote Rating
    33
    arthurakay is a jewel in the rough arthurakay is a jewel in the rough arthurakay is a jewel in the rough

      0  

    Default


    First, you posted to the wrong forum. This is Ext Help forum, not the Sencha Touch Help & Discussion forum.

    Second, just look at the API docs:
    - http://dev.sencha.com/deploy/touch/docs/?class=Ext.Ajax

    Ext.Ajax.request() is (I think) what you're asking for.
    Arthur Kay
    Developer Relations Manager, Sencha Inc.

    Twitter | Sencha Chicago User Group

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    3
    Vote Rating
    0
    adolf.za is on a distinguished road

      0  

    Default


    sorry, replied to wrong thread

Similar Threads

  1. Sample code to submit a Sencha Touch form?
    By profunctional in forum Sencha Touch 1.x: Discussion
    Replies: 11
    Last Post: 12 Apr 2012, 9:11 PM
  2. How i connect java code with Sencha Touch ! ! !
    By sunder in forum Ext 3.x: User Extensions and Plugins
    Replies: 6
    Last Post: 8 Jan 2012, 12:54 PM
  3. Sencha Touch and MySQL&PHP sample
    By itoh5588 in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 8 Feb 2011, 5:27 PM
  4. sencha touch code VS ext2
    By luftangrep in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 5 Jan 2011, 11:19 AM
  5. Sencha Touch Code Assist for Eclipse
    By vnvrk in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 15 Dec 2010, 3:09 PM

Thread Participants: 2