开发者

How to read a remote file into a string in BADA

开发者 https://www.devze.com 2023-03-11 18:10 出处:网络
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?

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

精彩评论

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