Kindly I need your help to create program by J2ME searching any nearest WIFI device ex "wireless router LINKSYS" and then try to connect it
please give me Doc or tutorial for that
Many Thanks for your help
Much as I hate to put you through all that grief and then not have a simple answer, I don't have a simple answer.
The reason for that is because Java's networking model is based on TCP/IP, and the TCP/IP architecture is based on the idea that applications will neither know nor care about the hardware details of networking. A typical mobile device may contain several different network interfaces (WiFi, Bluetooth, Infrared, USB cable, and so forth), but when an app wants to contact another network node, the app doesn't know which of these interfaces is actually being used. And in fact, if the OS wants to do so, it can use more than one (in parallel) and/or switch interfaces in and out, based on routing criteria such as best measured data rates. Rather like how cell phones route phone calls.
So basic Java/JME won't know anything about WiFi.
However, there is an extension, specified as JSR 309 (http://jsp.org) that looks like it may help. It supports learning about and controlling the network interfaces themselves. The problem is that not all devices will implement this extension, so it will depend on what device(s) you are supporting.
Got idle CPU cycles? Join the war on COVID-19 by donating them to find the coronavirus' weak spots. folding@home Runs in the background. https://foldingathome.org
posted 9 years ago
Many Thanks for your reply
but as I understand that we can't create program by J2ME to searching any wireless network cos may be that Mobile "nokia N82" O.S can't give us Authority to control wireless adapter
but as I know that any programming language can do that by O.S cooperation example V.B 6 I already did software by V.B to searching any nearest wireless network "SSID" to PC