0

Good Morning. I've been searching thoroughly and can't seem to find a similar question. The Tizen documentation seems to not be straightforward.

Suppose I have a Ruby-on-Rails application running on localhost, say at 192.168.1.3:3000. How do I create a Tizen application on a Samsung Gear S2 device that would connect to the running server and fetch the webpage from there? Is this possible?

CodeMouse92
  • 6,840
  • 14
  • 73
  • 130
  • I've improved your formatting just a little. Also, while "thank you" is polite in real life, it's just extra noise here. Show your gratitude with upvotes instead. :) – CodeMouse92 Apr 20 '16 at 03:39
  • @JasonMc92 Thank you very much. I'll upvote when I've enough reputation points. :) – Neithan Casano Apr 22 '16 at 06:49

1 Answers1

1

you can use XMLHttpRequest.

For XMLHttpRequest tutorial you can see:

How to get the response of XMLHttpRequest?

http://www.w3schools.com/json/json_http.asp

*Don't forget to add the required privileges.

*Also remember to connect your GS2 to the same router your localhost is connected to.

Community
  • 1
  • 1