Skip to main content

Accessing a WLAN via MIDlet? Possible?

1 reply [Last post]
oldshoe
Offline
Joined: 2008-08-27

How can I use a PDA WLAN Interface to connect to a local WLAN and change Data with a MIDlet?

Message was edited by: oldshoe

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
terrencebarr
Offline
Joined: 2004-03-04

The MIDP spec simply allows a MIDlet to connect via HTTP/HTTPS or sockets - it is unaware of the network infrastructure. If the user has selected to connect via WLAN then the MIDlet will be able to use that interface. Then simply use HTTP- or socket-based communication to exchange data, for example via a servlet.

You will find some samples here:

http://wiki.java.net/bin/view/Mobileandembedded/MIDPResources

-- Terrence