wake up iweb_response not working | developer.brewmp.com wake up iweb_response not working | developer.brewmp.com

Developer

wake up iweb_response not working

Forums:

I have the following code in EVT_APP_START:

IDISPLAY_ClearScreen(.....);
IDISPLAY_DrawText(..some text...);
IDISPLAY_Update(pMe->a.m_pIDisplay);

ISHELL_CreateInstance(pMe->a.m_pIShell, AEECLSID_WEB, (void **)&pMe->pIWeb);
CALLBACK_Init(&pMe->WebCBStruct, IWebCB, pMe); // out, in, in
IWEB_GetResponse(pMe->pIWeb,
(pMe->pIWeb, &pMe->pIWebResp,
&pMe->WebCBStruct,
"http://www..........",
WEBOPT_END));

The application works perfectly well, when I start it voluntarily.The callback functions are working fine.It fetches a page and displays it on the screen.

But when I call it using BDSMS ie.. When I give in EVT_APP_MESSAGE
ISHELL_StartApplet(pMe->a.m_pIShell,AEECLSID_APPLET);

it does not work.

It no doubt starts the applet and some text is displayed(as given in Displaytext) but does not proceed further.There is no http connection happening.

Regards,
vaidya

Try giving some delay before http connection...

Try giving some delay before http connection...

Thanks for you immediate reply.
I tried call the IWEB_GetResponse in a EVT_TIMER with ntimers set to 1000.Did not work
I also tried WEBOPT_CONNECTIONTIMEOUT set to 30000.But did not work.
How do we set delay before http connection ?
Regards

Thanks for you immediate reply.
I tried call the IWEB_GetResponse in a EVT_TIMER with ntimers set to 1000.Did not work
I also tried WEBOPT_CONNECTIONTIMEOUT set to 30000.But did not work.
How do we set delay before http connection ?
Regards

Any help !!

Any help !!

Any HELP please !!

Any HELP please !!

Have you tried other delay values larger then 1000? Like 10000 or 50000?
Have you tried your small app on different devices to see if you get the same problem?
Also, are you sure you have service and a connection on the device with the problem?
I still don't understand why the poster thought delaying the start of the IWeb call would help. I can't find anydocumentation that says you have to delay an IWeb call after a BDSMS.
Anyone from Qualcomm out there lisenting who could speak up?

Have you tried other delay values larger then 1000? Like 10000 or 50000?
Have you tried your small app on different devices to see if you get the same problem?
Also, are you sure you have service and a connection on the device with the problem?
I still don't understand why the poster thought delaying the start of the IWeb call would help. I can't find anydocumentation that says you have to delay an IWeb call after a BDSMS.
Anyone from Qualcomm out there lisenting who could speak up?

Thanks a lot !!.It worked.I put a delay of 3000 and it worked.
Regards,
Vaidya

Thanks a lot !!.It worked.I put a delay of 3000 and it worked.
Regards,
Vaidya

I download the required data using IWeb_get Response.Everything is working fine.
After the data arrives and is displayed on the screen, I keep it idle for about 30 seconds.The backlight goes.When I press the red button(probably it is avk_end), the phone reboots.
If I exit the application through the normal button which I have mapped(softkey 2), it works fine.
Regards,
vaidya

I download the required data using IWeb_get Response.Everything is working fine.
After the data arrives and is displayed on the screen, I keep it idle for about 30 seconds.The backlight goes.When I press the red button(probably it is avk_end), the phone reboots.
If I exit the application through the normal button which I have mapped(softkey 2), it works fine.
Regards,
vaidya