java – How to use server sent events (SSE) in android?-ThrowExceptions

Exception or error:

How to use server sent events (SSE) in android client application? Is there a java library for that?

How to solve:

I use eventsource-java library. It’s works perfectly on android.

upd
Another library seems better. Usage:
gist

###

I am not sure but you can always try, capture your sse using javascript and as android have support for html5 it will work.

Refer this:
http://developer.android.com/guide/webapps/webview.html

Leave a Reply

Your email address will not be published. Required fields are marked *