Hello all, 

I am an android developer from Bangalore.
Currently developing an application which needs to printer facility from 
app. But the client has below 4.4 android handheld.

To integrate the printer i referring 
https://developers.google.com/cloud-print/docs/android#printdialogactivityjava

i done with the below code 

File fileNew = new File("/sdcard/Download/audit.pdf");//Before only the file 
created and saved successfully in device memory in this location
Intent printIntent = new Intent(this, PrintDialogActivity.class);
printIntent.setDataAndType(Uri.fromFile(fileNew), "application/pdf");
printIntent.putExtra(Intent.EXTRA_STREAM, "audit");
startActivity(printIntent);

The web view will opens successfully and then i will selects attached printer, 
then after i clicked "print" button in top it doesn't happening anything.

Please help me.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/dc994a2f-4d5d-467b-9f79-fb71524b55d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to