Added AndroidManifest.xml file and fixed a deprecated method warning.