First, I will discuss the HttpConnection interface that can be used to establish Http connection HttpConnection Interface Connected Limited Device Configuration. Provides a set of classes for the network connection is connected to the frame normal? A platform-independent connectivity framework provides a layered connection interface, and its operating system to achieve a specific device from the summary table provided. MIDP HttpConnection HTTP, through the provision of support to extend the framework to achieve the general connection framework CLDC role. All MIDP implementations of applications required to support HTTP, because HTTP is mainly through the use of IP-based protocols can also be achieved using non-IP protocols. All connections are using the Connector open method to create the class, if the connection is successful, this method returns a pretext to achieve the object of a common connection, one example, the following code snippet can be used to open a connection to a a URL of the HTTP connection. String url = "http://www.ora.com/whatif.jsp";; HttpConnection connection = Connector.open; Once a connection is established, you can set properties, then you can create I / O streams to send or receive data. For example, consider the following snippet of code that is used to set the property and the establishment of input / output stream. / / Set HTTP properties connection.setRequestMethod; connection.setRequestProperty; connection.setRequestProperty; connection.setRequestProperty; / / Create I / O stream InputStream is = connection.openInputStream; OutputStream os = connection.openOutputStream;
Google open innovation network has been absorbed to become a member. OIN is a Linux developer to reduce the pressure by the institution of patent litigation. For the OIN, this is a major advance: Google is not only the worlds largest open source software users, is one of the first end-user OIN members. Including IBM, Red Hat, including the sale of OIN members are vendors of open source software products. Google noted that it relies heavily on open source, especially Linux. Googles open-source project manager Chris this week, said in a blog post, Google engineers workstation running Linux, to handle user search requests that Linux server. Google that Linux is the source of its strength and flexibility.
About IcFull.com | Services | Payment | Advertisements Service | Contact Us | Links
All rights reserved:iceach.com © 2000-2010 Certificate No.:Guangdong ICP No.08108781