How covert "asynchronous http" from c# to Java of BB

I'm trying to convert a code of .net compact framework Java of BB.

But the problem is that I can't find API on asynchronous http BB Java.

System.Net.HttpWebRequest . of the .net compact framework is the following method for asynchronos http.

  • Public Overrides IAsyncResult BeginGetResponse(AsyncCallback callback, object state)

Anyone know which API of Java BB is compatible to the BeginGetResponse method ?

If this is not the case, how can I implement http asynchronous with BB Java?

Thank you

Sorry if I'm off base, but while the "asynchronous" term is used as part of these applications, I'm not sure they really are "asynchronous HTTP."

My understanding of this term, it's that it is used to differentiate traditional regular web application HTTP request/response cycles and the kind of real-time demand used by AJAX, etc. usually to perform updates without a complete request/response cycle. In both cases, an application is published, and a response is received unless there expire.

You build an application in webgame or a JavaME?

If JavaME for BB, you are in full control of thread and HTTP requests, you can create new threads and issuing HTTP requests as want you up to a certain limit of the device. In other words, you must write the logic of the "async" call yourself.

There are examples in the samples of the IDE directory. Order the browser folder com/rim/samples/device/BlackBerry and the HttpConnection API provides details on the query itself.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • How to remove Babylon in the search engine menu?

    My OS is Windows 7 Pro 64 bit. using Firefox worm 15.0. I downloaded the toolbar of Babylon and related applications because they were associated with a manual of the tool I wanted to see again. Then I discovered how invasive these apps are. Successf

  • Mac printing

    I get the dreaded, software for this printer is currently unavailable, please contact the manufacturer for the latest version of the software. I have a hp cp1025nw that worked very well until I had to reinstall everything what he.  I am running OS S

  • Satellite Pro A110 crashes during the transfer of the large data in LAN

    Hello My Satellite Pro A110 crashes during the transfer of the large data in LAN. The network driver is a Realtek RTL8139/810 x Family Fast Ethernet NIC I've been looking through this forum and found some wire whit exactly the same problem, saying th

  • I want to improve my video card

    Hi, I have a Hp P6510f with an ati 4200 integrated video card computer, I want to no if my processor AMD Athlon II X 4 630 with 4 GB of memory can work if I put a new card Ati 6770 with 1 GB GDDR5 or if I should go with one which is DDR3? Thank you

  • Update the fields in a HorizontalFieldManager

    I have this kind of configuration, basically, I have a refreshment menuitem that once selected will extract data from an xml page. I have already developed information retrieval, my problem is the display of the information. I searched the forums and