• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

GPRS connection

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The mobile operator is charging me 4 cents / 10 KB of data transmited during a GPRS session. The measurement is made by 10 KB units, so if I send + receive less than 10KB I'm also charged with 4 cents.
I wrote an application witch heavily use the http connection and I want to use a single GPRS session because the app sends small amounts of data (1-2 KB).
I use a NOKIA 6310i and every time a GPRS connection is established a "G" letter is shown is top-left corner of the screen , so I know when a session begins and when is over. Every time a httpconnection is opened, the session is initiated then discarded. So I pay no_of_connection * 4c.
I tried to use a single HTTPConnection, but it throws exceptions like "connection already open".
Is there any solution ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic