Fix Android HTC when battery dies

When HTC battery went off and doesn’t react on anything. Battery light is on and blinks sometimes. You should tap few times volume up, then down, and then when phone is pluged hold turn on button untill battery indicator starts blinking and press volume down and up again. Thank should help

Android Phonegap The connection to the server was unsuccessful

If you see this error go to your app directory/platforms/android/CordovaLib/src/org/apache/cordova


And find this message there.  A little bit above you should see

final int loadUrlTimeoutValue = Integer.parseInt(this.getProperty("LoadUrlTimeoutValue", "20000"));

Change 20000 to 70000 for example.