androidxmlrpcbatteryconsumption

XML-RPC on Android Tablet (battery consumption)


I want to implement a XML-RPC server on an android tablet. I have read some about web services and their great battery consumption.

How big is the battery comsumption with a XML-RPC server? Is it to big for a mobile device?


Solution

  • XML-RPC require HTTP server and XML-RPC requests handler.

    For HTTP server, you can use some small HTTP server, like NanoHTTPD It has all the features, required on implement XML-RPC and it's very good suited for mobile devices. Memory, CPU and battery consumption by NanoHTTPD is minimal.

    Battery consumption depends on how many requests you will have. If you will issue request every second, it will drain battery signifantly.