File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes problem at the connection between Wireless Toolkit and Apache-Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "problem at the connection between Wireless Toolkit and Apache-Tomcat " Watch "problem at the connection between Wireless Toolkit and Apache-Tomcat " New topic
Author

problem at the connection between Wireless Toolkit and Apache-Tomcat

fatma beji
Greenhorn

Joined: Dec 01, 2010
Posts: 1
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:

"VideoPlayer wants to connect to http://localhost:8080/midp/shark.mpg using airtime. This may result in charges."

I didn't understand what's this means?

Can someone help me, please?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem at the connection between Wireless Toolkit and Apache-Tomcat