This is a migrated thread and some comments may be shown as answers.

How to send data from telerik app to an ip address

1 Answer 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mads
Top achievements
Rank 1
Mads asked on 28 Mar 2015, 03:50 PM
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 :)

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 01 Apr 2015, 12:04 PM
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.

 
Tags
General Discussions
Asked by
Mads
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or