• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to transmit data through the Mobile Service Provider

 
George Kalfas
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings to all!

I've recently written a Midlet that tries to transmit a png image to a server that runs on Apache Tomcat. My Midlet uses an HTTP connection.
When I use the emulator of the wtk everything works fine. But when I use the the Midlet from my mobile, the response I get is a xml page that tells me that my network settings do not allow me to request such a URL ( or something like that, I don't remember exactly). This xml page does not seem to be coming from my apache.

So my question is do I need a special service from my local Mobile Service provider in order to be able to transmit data from my mobile? I'm currently living in Greece and I'm using Vodafone as my service provider. My mobile is able to tranmsit MMSs and I am able to view WAP pages and stuff.

Here in Greece, mobile service providers offer a service that is called "Data Service", but as far as I know it is mainly used to access the Internet through your laptop. They give you a SIM card which you place inside a modem of some sort that hoooks on youn PCIMCIA slot. Is this what I need maybe?

If anybody knows how to transmit data in the real world and has some knowledge of the services offered by the providers I would deeply appreciate a reply!

Thank you very much and in advance!
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you do need a data service. They're generally billable at flat rates or by the kilobyte. The wireless modems are simply doing the same thing that data-enabled phones do - using the cell phone signal as a carrier for the data. In fact, in the U.S., the Sprint mobile data service unit actually dials '#777' and issues AT-commands just like a regular modem would over a regular phone.
 
George Kalfas
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Tim!!You've been very helpful!Again!
 
Syam Sathyan George
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In India we use an Online Data Service offered by our provider -'Airtel' over GPRS,EDGE as well as WIMAX(not fully operational).

So you need something like this activated on your mobile device, and check the connectivity via OperaMini which is also a J2ME app. If opera is fetching the page then its time to access the tomcat via your app.
 
George Kalfas
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Syam,

Thank you very much for your reply! What you said actually worked!
As it turns out here in Greece the providers also give Internet access through GPRS.
But I would like to ask you something. I tried to transmit a 50kb image to the server and it took about 31 seconds. From this fact I conclude that the data rate is about 12,6 kbps. Is this rate normal for GPRS tranmsissions?

Data service here in greece is supposed to be 56k on non 3g networks and up to 1,8Mbps in 3g networks.
So I guess that if I pay for data service I sould normally expect better performance, am I correct??
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://en.wikipedia.org/wiki/General_Packet_Radio_Service

The GPRS EDGE system is one of the aspects of the iPhone that got less-than-enthusiastic reviews. It's functional, but not all that fast. In contrast. the Sprint EVDO system runs at a reported nominal rate of about 400Kb/s.

For best performance, phones that have them should use Wi-Fi. However, that requires you to be within range of a Wi-Fi gateway.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic