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.

Another library seems better. Usage:


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:

Leave a Reply

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