• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

problem at the connection between Wireless Toolkit and Apache-Tomcat

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
Saloon Keeper
Posts: 27817
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic