This project demonstrates "Andriod Mobile Automation" using Java with some examples. I will update with more examples soon. Please expect a litle bit delay as I am pretty much occupied these days. Thank You.
Advanced Settings that you can play for optimization:
{
"ignoreUnimportantViews": false,
"allowInvisibleElements": false,
"elementResponseAttributes": "name,text",
"snapshotMaxDepth": 70,
"mjpegBilinearFiltering": false,
"waitForSelectorTimeout": 10000,
"serverPort": 6790,
"simpleBoundsCalculation": false,
"enableNotificationListener": true,
"limitXPathContextScope": true,
"includeExtrasInPageSource": false,
"normalizeTagNames": false,
"trackScrollEvents": true,
"scrollAcknowledgmentTimeout": 200,
"enableTopmostWindowFromActivePackage": false,
"enableMultiWindows": false,
"useResourcesForOrientationDetection": false,
"shouldUseCompactResponses": true,
"wakeLockTimeout": 86291856,
"shutdownOnPowerDisconnect": true,
"mjpegServerPort": 7810,
"mjpegScalingFactor": 50,
"disableIdLocatorAutocompletion": false,
"enforceXPath1": false,
"actionAcknowledgmentTimeout": 3000,
"mjpegServerScreenshotQuality": 50,
"keyInjectionDelay": 0,
"waitForIdleTimeout": 10000,
"mjpegServerFramerate": 10
}