Example of push syncing using websockets in android.
android-websocket-example is hosted in the following web site
https://github.com/schwiz/android-websocket-example
If you think the Android project android-websocket-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of android-websocket-example.
Item | Value |
---|---|
Java File Count | 6 |
Supported screen sizes | [hdpi, xhdpi] |
Target SDK Version | 17 |
Minimum SDK Version | 16 |
Activity Count | 2 |
jar files used | android-websockets.jar gson-2.2.3.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET android.permission.RECEIVE_BOOT_COMPLETED android.permission.WAKE_LOCK |
There are 2 image files in android-websocket-example. The names of the image files are listed as follows.
ic_action_delete.png ic_action_new.png
The following screenshort is generated from the image listed above.
android-websocket-example has the following Java source files.
net.schwiz.eecs780.NetworkReceiver.java net.schwiz.eecs780.PullingActivity.java net.schwiz.eecs780.PullingService.java net.schwiz.eecs780.PushActivity.java net.schwiz.eecs780.PushService.java net.schwiz.eecs780.Response.java