aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply 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: 14475
    
    7

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem at the connection between Wireless Toolkit and Apache-Tomcat
 
Similar Threads
How to try on real device ?
java lang ClassNotFoundException
install WMA RI into Sun one Studio
Connect Wireless Toolkit with Apache Tomcat in localhost
pose settings