W wl Well-Known Member Licensed User Longtime User Jan 3, 2015 #1 Hi, I would like to create a push application using websockets (server on B4J; client on B4A). But on https://www.b4x.com/android/forum/threads/custom-websocket-based-push-framework.40272/page-3 I read some concerns about battery drainage on an Android device and large data transfert ? Does anyone have some more technical details on this ? How much faster would a battery on an Android drain ? And how many bytes are being transferred assuming the websocket connection runs idle ? Thanks !
Hi, I would like to create a push application using websockets (server on B4J; client on B4A). But on https://www.b4x.com/android/forum/threads/custom-websocket-based-push-framework.40272/page-3 I read some concerns about battery drainage on an Android device and large data transfert ? Does anyone have some more technical details on this ? How much faster would a battery on an Android drain ? And how many bytes are being transferred assuming the websocket connection runs idle ? Thanks !
Erel B4X founder Staff member Licensed User Longtime User Jan 4, 2015 #2 The data transfer should be minimal. In order to implement a custom push framework you need to make sure that the process is running all the time in the background. This will take some battery. Try the server and client I wrote and see whether it meets your requirements. Upvote 0
The data transfer should be minimal. In order to implement a custom push framework you need to make sure that the process is running all the time in the background. This will take some battery. Try the server and client I wrote and see whether it meets your requirements.