Correct some bugs in searchfile and searchprinter.

Add in the androidmanifest another permission.

Add on main.xml for visualizing the file to print.