Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / J2ME / Re: HTTP massive headers received on: 2003-12-05 04:09:45
Hi thanks for the reply, very much appreciated.

The test app actually uses GPRS and not WAP services. I dont think these two are the same services are they...? I'm not sure. But yes, seems like both will still go through the same WAP gateway. But the thing is that i'm using different phones (1 Nokia, 2 Sony Ericsson), with same test app, same SIM card from the same telco. Even if the test app do use the WAP gateway, wouldn't it be the same gatewawy that we are talking about? If thats the case, would all the test cases be producing the massive header on the server? But it is only producing that on one phone....the Nokia 3100.

Anyway, would the users be actually paying for these extra headers if it ever be an application of sort or is it going to be paid by the telco themselves?

2  Java Game APIs & Engines / J2ME / HTTP massive headers received on: 2003-12-05 00:18:32
Hi all,

Got a tricky question here and i am getting desparate for some pointers. Here it goes.

Ok, i'm writing an app targeted for all phones that is MIDP 1.0 compatible. I was testing out the basic HTTP connection between the client (mobile app on the phone) and server (standard J2SE server application). The app is to establish a standard HTTP connection and a POST header set. Then, data in bytearray is sent to the server.  The connection will be established using GPRS.

I find that there are vast differences between running the app on the emulator, Nokia phones and other phones. The actual stuff received on the server varies, which might be due to the different MIDP layer on the phones.

The problem is that running the simple test on the Nokia 3100 phone produces vastly bigger headers than using other phones such as a Sony-Ericsson T610. Besides that, it is weird to see that the headers are extras that was not set by the test app. The fact that i only set the httpconnection.POST method and nothing else.

The information received includes:
MIDP/CONFIG version, host ID, up-link, up-link fax, application postscripts, WAP settings and all these stuff.

I initially sent about 80bytes of data but ended up with around 1kilobyte of data, fatal for the app i'm gonna write. For other actual phones, i get various results as well. But the variation comes from the POST method i set. The Sony-Ericsson sent information such as transfer encoding and host ID to the server before the actual pay load, a massive reduction in comparison to the Nokia 3100.

Since both the test on different mobile phones used the same sim card (Telstra austalia), i dun think its the telco doing this. The only thing i can think of is the MIDP layer. So, is there any way of "turning off" these headers and eliminating these things being sent to the server?

And another thing, is there any Nokia SDKs for the Nokia 3100?

Thnx heaps.
Pages: [1]
nelsongames (20 views)
2018-04-24 18:15:36

nelsongames (17 views)
2018-04-24 18:14:32

ivj94 (608 views)
2018-03-24 14:47:39

ivj94 (54 views)
2018-03-24 14:46:31

ivj94 (402 views)
2018-03-24 14:43:53

Solater (66 views)
2018-03-17 05:04:08

nelsongames (111 views)
2018-03-05 17:56:34

Gornova (177 views)
2018-03-02 22:15:33

buddyBro (747 views)
2018-02-28 16:59:18

buddyBro (94 views)
2018-02-28 16:45:17
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!