10-04-2013 09:15 PM
Trying to load some json from an external url. Does this look right?
console.log("DataSource2 is loading...")
10-05-2013 06:54 AM
Depends. What does that link return? XML, SQL?
What are you using the DataSource for a ListView or just your own code?
Did you look at this...
10-05-2013 07:10 AM
Not the most helpful answer but here goes
My uPnP extension does exactly that with any data source
My extension merely wraps miniupnp but is modified for selective uPnP targets - all of whhich is irrelavant as part of the underlying library includes a wget implementation
This gets any target and returns the raw which ends up as a nicely usable string to the caller
Stupid Q time - the project I'm finishing now needs exactly the same as I want returned data from the Roku
I'm investigating ways to do this without huge time spent for release (11th for compo - good product - might as well get a LE)
Can you use JS? I'm targeting WebWorks for interface with Native for the hard stuff
It appears that I can use a worker to socket the info without drastic battery hits
If so - lemme know (email me) and I'll keep you in the loop as to how I get on