How to detect the USB printer port in the tablet and print the document
<p>I have made an application which reads the pdf files, i want to print the document from the tablet. so when i connect the printer's USB to the port it should first detect the USB is connected or not and then if printer is connected print the document.if anyone has the idea for this concept please share here.
any help would be appreciated</p>
