• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem at the connection between Wireless Toolkit and Apache-Tomcat

 
fatma beji
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic