12-01-2011 08:03 AM
Hi,
I tried to find RenderingSession and HttpConnection classes alternatives in the Native SDK but without success. I just need some kind of web browser control and simple http connection to download files over the Internet. Any suggestions?
Thanks,
Kal
12-01-2011 10:10 AM
I don't think we have anything ready in Native SDK for handling http (though you can write it from scratch in C). Use AIR.
12-01-2011 10:48 AM
12-02-2011 07:23 AM
Thanks for the suggestions!
12-09-2011 10:46 AM
Hi,
Please see navigator_invoke method in include/bps/navigator.h.
in the ndk, to call up the browser, youi can pass in a URI to that method.
If you're just looking to grab data via HTTP, we have libcurl present.
Please see include/curl/curl.h.
06-01-2012 05:31 AM
hey anhu,
thanks for the information, what can i use in BB OS 10 for http connection?
Thanks & Regards,
Dinesh
06-01-2012 11:59 AM
Anhu has told you what to use.
If you want to open a web page, use the navigator_invoke method to tell the native browser to open a URL that you specifiy.
If you need to send/receive data over HTTP in your application, you can use libcurl.