gwt-comet in Android Browser

78 views
Skip to first unread message

ddhanis

unread,
Jun 9, 2011, 7:53:03 AM6/9/11
to gwt-comet
Hi,
Are there anyone succesfully using gwt-comet in Android browser ?
Can you share your experience.

best regards,
Dyan Dhanisworo

Richard Zschech

unread,
Jun 26, 2011, 8:06:11 PM6/26/11
to gwt-comet
Hi Dyan,

There was some discussion about Android a year or so ago.

I don't have an Android device so I can't test it :-(

Did you make any progress?

From Richard.

Dhanisworo Dhanisworo

unread,
Jul 19, 2011, 11:49:43 AM7/19/11
to gwt-...@googlegroups.com
Hi Richard,
I've tried the chatting example in android browser and it does not work.
I suspect the 4k buffer issue happens here.
I've check with the android discussion forum that the situation is as expected (the 4k buffer issue).
so I guess there must be some adjustment on the gwt-comet code to handle this situation.

I also haven't tried yet to package every message I send in 4k package but even if I do, sending 4k package message to send any small packages to android browser would be bandwith consuming especially for application like chatting applcation.

best regards,
Dyan Dhanisworo     
--
best regards,Dyan Dhanisworo

Richard Zschech

unread,
Sep 10, 2011, 6:40:51 PM9/10/11
to gwt-comet
Hi Dyan,

There is a test entry point for testing the padding required for a
browser:
http://code.google.com/p/gwt-comet/source/browse/trunk/src/net/zschech/gwt/comettest/client/CometTestEntryPoint.java

To alter the behaviour for Android you need to override
getPaddingRequired() in HTTPRequestCometServletResponse to determine
if the browser is Android or not and return the padding required for
Android.

From Richard.

On Jul 20, 12:49 am, Dhanisworo Dhanisworo <ddha...@gmail.com> wrote:
> Hi Richard,
> I've tried the chatting example in android browser and it does not work.
> I suspect the 4k buffer issue happens here.
> I've check with the android discussion forum that the situation is as
> expected (the 4k buffer issue).
> so I guess there must be some adjustment on the gwt-comet code to handle
> this situation.
>
> I also haven't tried yet to package every message I send in 4k package but
> even if I do, sending 4k package message to send any small packages to
> android browser would be bandwith consuming especially for application like
> chatting applcation.
>
> best regards,
> Dyan Dhanisworo
>

denis...@googlemail.com

unread,
May 29, 2012, 11:25:44 AM5/29/12
to gwt-...@googlegroups.com
Hi ddhanis,
was there any success in changing the padding size?
Or can someone tell if he/she got comet to work on android?
Reply all
Reply to author
Forward
0 new messages