updated AndroidManifest.xml and now the full image activity works.
Added Password File functions to write the password and to retrieve it