added support for Android, still need to see how to move device specific methods into ios.js and android.js. Have split them out to make it easier.