Added a special case for android >= 4.4 pdf creation (using the print framework now).