This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm trying to write my first Midlet that uses http connection, but I have problem.
This Midlet, named "VideoPlayer", enables to play a video file "shark.mpg" from Tomcat server.
Under the folder "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\midp", I placed the file "shark.mpg".
When I give my browser the address ("http://localhost:8080/midp/shark.mpg"); it displays it correctly.
But when I give the same address to my Midlet, and after launching the application, the wireless toolkit prints:
It means that the application is opening an Internet connection. Many phones support the ability to network over a variety of interfaces, including WiFi, Bluetooth, and infrared, but their primary network connection is typically through the telephone network.
Telephone-based tcp/ip networking frequently is an extra-cost service, resulting in charges above and beyond the normal telephone charges. In many cases, you have to add a separate contract ("data plan") to your telephone account, but sometimes you can do an ad hoc data connection where you're charged by the minute or kilobyte rather than some sort of base rate.
All this message is doing is warning that there may be a little extra "surprise" on your next telephone bill.
An IDE is no substitute for an Intelligent Developer.