Advice is required about WAP and GPRS
| Sun, 2004-06-13 14:49 | |
|
I am here is asking for advice more than a solution until i face problems. I have been reading about GPRS and WAP and the sort trying to decide what is the best way to do the following and was wondering ifyou can help me out with the decssion since you are more experienced than I am. I would like to download a file from a server somewhere. I am not sure what is the correct method to do that. From this forum Eric did it using a HTTP reqeust. So what is better using a HTTP request instead of WAP protocol and if yes what is the adv. or disadv of this. Thanks for the help in advance.
|
|






Forum posts: 2009
HTTP pros & cons:
+ issuing a GET request and getting the result back is not really difficult, even without full HTTP support as it is the case in Series 60 v1.x
+ you can get some progress information as you will have to code the reception of each TCP packet.
+ less problem due to WAP gateways.
+ you can develop and test on local network far more easily.
- on NS60 v1.x, you just have a TCP socket. you have to develop everything from scratch.
WAP pros & cons:
+
- WAP APIs used to be very badly documented and you will need some time to understand how to use them.
- no progress is available, which is quite annoying for big downloads.
- all the WAP gateways do not react the same (this should be less and less but you never know...).
I just made my testing through the french networks. So this may not be true for every countries.
Eric
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 26
I have developed some application for Nokia 6600 that connects to my tomcat servlet using HTTP connection (RHTTPSession, RHTTPTransaction,...). Everything worked fine while I tested the application in my mobile network but now I have a problem with connection in other networks (not suporting HTTP connection I assume).
So I think that the only solution I have is to change my application and to connect to the servlet using Wap protocol.
As Eric mentioned, I discovered that symbian documentation is very bad so I need somebody who have some working example, tutorial or any other kind of usefull documentation?
Thanx in advance
It is always nice to help out people that need help.
http://www.vegaitsourcing.rs
http://www.codeplex.com/aspnetlibrary
Forum posts: 2
http://www.cs.helsinki.fi/u/mraento/symbian/wap.html
How would you feel about using plain TCP protocol over GPRS? I tried this sometimes, with only large text files though, and it was quite straightforward. I thing it would work with any kind of files. Am i totally wrong?
pzn