Add phonegap app get network info