Reputation: 73
recently started developing smart tv app for Samsung.
I am wondering the best way to access any external link and get the data we wanted (processing HTML/DOM etc.) from the app. Planning to use ajax, is that the right way? Or is there any native Samsung API we could use which will have better performance? Couldn't find any detail on such API in samsung dev forum.
I know ajax will not work for this purpose on browser or browser emulator (due to cross-domain restriction), but hoping it should work from real device or SDK emulators, right? If not what would be the best way to do this.
Thank you
Update: Reg #2 above: I found the XMLHttpRequest (ajax/jquery) will work in real device (in my case Samsung Smart TV Orsay). Tested myself in my smart tv. Even before testing, I was kind of confident about this after reading: http://blog.jaspermorgan.com/2013/04/matchmaking-jquery-and-samsung-smart-tv.html and https://github.com/BrightcoveOS/Samsung-Smart-TV-Sample-App (read "A note on local setup" section)
Upvotes: 1
Views: 811
Reputation: 5089
Upvotes: 0