Using HTTP vs UDP vs Socket in J2ME
In the case of MIDP, the specification only requires support for HTTP, although many devices support datagrams and sockets as well, because these protocols are needed to implement
Read tutorialTHE TUTORIAL LIBRARY
In the case of MIDP, the specification only requires support for HTTP, although many devices support datagrams and sockets as well, because these protocols are needed to implement
Read tutorialThis J2ME example will cover reading data using the MIDP HttpConnection. Note that this connection interface is not part of the CLDC or CDC, but is defined rather in the MIDP and P
Read tutorialSockets are different than datagrams because they use a connection-based paradigm to transmit data. This means that both a sender and a receiver must be running and establish a com
Read tutorialIt is quite possible for someone to have worked with Java for some time without ever needing to understand or use datagrams. For mobile devices, however, datagrams offer some advan
Read tutorialAll the statements in C ends with a ";". The various statements in C are Declaration Statement, Assignment Statement, Output Statement, Input Statement, Control Statement, Loop Sta
Read tutorialThis sample code shows how to POST UTF-8 encoded data to the server in J2ME. The first requirement is to set the content-type for the connection. You should also use a OutputStream
Read tutorialIf you are looking for a solution to remove an element from a select list just by clicking on it then obviously you can do it using Javascript. This tutorial explains a step by ste
Read tutorialAssuming you have a html form that has a textarea or a input text box to enter text. If you only have to allow a specic number of characters into that box and remove any text that
Read tutorialThis is a simple stock tracking MIDlet that demonstrates the use of alerts and tickers. Note that the stock values are generated randomly for example purposes. In the real world, y
Read tutorialThis example creates a list of items (Item1 to Item4) and calls the prepare method whenever an item is selected. The testItem# methods, where # s a number between 1 and 4, call the
Read tutorialThis example demonstrates how to create various GUI components. The MIDlet for this example allows you to test lists, forms, choices, gauges, text fields, text boxes, for example.
Read tutorialThe basic syntax of writing a C program - The anatomy of C
Read tutorialOne example today. A better developer tomorrow.