bms phonegap