running HTTPexamle?

Login to reply to this topic.
Thu, 2006-03-16 14:45
Joined: 2005-03-31
Forum posts: 50
Hi,
is there any one suceeded in running HTTPexample? in my case it shows connecting ..... nothing is displayed...
i used wap.yahoo.com as the URL...
when i tried the same url with services it asked the type of connection and i selected lan and it opened the page....
but it never asks for  type of connection in the example   and never opens the page...
pls help..
symbnewbie


Thu, 2006-05-11 06:39
Joined: 2005-02-16
Forum posts: 3
Re: running HTTPexamle?
r u able to get any solution for this.
Pls notify.

Thanks

symashi
Thu, 2006-05-18 07:22
Joined: 2006-04-17
Forum posts: 36
Re: running HTTPexamle?
I have run that example if u can specify the phone and sdk I acn probably help u

Thanks & regards

Rishabh

Thu, 2006-06-08 12:18
Joined: 2005-03-31
Forum posts: 50
Re: running HTTPexamle?
Hi, i tried it on series 60 fp2...the problem was i wasnt able to connect it to the server....ie after i supply the url nothing happens....
Wed, 2006-06-14 05:16
Joined: 2006-04-17
Forum posts: 36
Re: running HTTPexamle?
In some Nokia phones the proxy server is not created automatically. So you have to create it explicitly. So you just include a line of code in your get and post methods at the place where I have shown after RStringF and it will be fine. It worked for me perhaps

// Get request method string for HTTP GET
   RStringF method = iSession.StringPool().StringF(HTTP::EGET,
      RHTTPSession::GetTable());

   // MY METHOD
   CHttpFilterProxyInterface::InstallFilterL(iSession);

Thanks & regards

Rishabh

Wed, 2006-06-14 09:09
Joined: 2006-06-14
Forum posts: 1
running HTTPexamle?
I am using j2me wireless toolkit 2.2 and J2sdk1.4.2_05 to write and application that will make http connection with the server.
I am trying to run the http example given in the Wireless toolkit but cannot get it working .

Reading the various posts i get the impression that i shall have to install some winsock stuff so that the emulator can use the windows networking. But is this for UIQ 2.0 only ?
I am using the emulator in the wireless toolkit and that is generic one. Can i not get this generic emulator to work ??

Please help
Priya
  • Login to reply to this topic.