Reputation: 3488
I am developing application where I want to find all available WiFi enabled printers and print file on it.
To find available list of devices currently I am using WifiP2pManager but its not working as expected.
Note: Google Cloud Printing is not a desired solution
Upvotes: 2
Views: 3993
Reputation: 2219
If the API level you are using is greater than 19. You would need the use of the android.print class.
You would also need an adapter derived from PrintDocumentAdapter. This adapter provides the content of a document to be printed.
As for getting the connection to the printer without Google Cloud Printing is a tough one. However, there are SDKs and a similar post about that subject.
Or you could also try and set up a P2P connection with the printer, learn that here!
Upvotes: 3