Adding the device APIs into config.xml