How to read a remote file into a string in BADA
I am an iOS developer migrating to BADA. In iOS we had a simple method to load the contents of a text file from a server and use it as a str开发者_如何学Going in our app. How do I do the same in BADA?
Something like this
NSData *dtXmlData = [NSData dataWithContentsOfURL:url];
You should probably send an http GET request and read the buffer received in OnTransactionReadyToRead();
精彩评论