开发者

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();

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜