How to send data from telerik app to an ip address

2 posts, 0 answers
  1. Mads
    Mads avatar
    1 posts
    Member since:
    Mar 2015

    Posted 28 Mar 2015 Link to this post

    I am releatively new to developing hyprid app through Telerik. What i am wondering, is if it's possible to send data from my Telerik app to an ip address.

    I can't find anything relevant in the Telerik or Kendo documentation, but is it possible to send data to an ip address (+port num) using either sockets or http(json) requests?
    Also, what is the fastest way to send a simple string, it the above is possible?

    Any help will be greatly appreciated :)
  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 01 Apr 2015 Link to this post

    Hello Mads,

    I am guessing that you have a JSON web service hosted on your web server and you would like to connect to it from a hybrid mobile app. To accomplish this you can use simple XMLHttpRequest as per its specification or the more widely-used - jQuery AJAX object.

    Support for web sockets can be added in your project with a custom Cordova plugin.

    Please, let me know if further questions arise.

    Regards,
    Anton Dobrev
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top