Does anyone know if there is a Cloud print API for Android? .To develop our own Cloud print Apk for Android device. Any tutorial or Sample code for this will b helpful
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Printing is not yet supported on Android. You have to use a 3rd party solution for that!!
You can add printing functionality to your Android application by integrating with Google Cloud Print
You didn't mention what you'd be printing so...
For normal printers and letter-sized documents, you should use Google Cloud Print as recommended previously. Google Cloud Print is the best and simplest solution out there for these printers.
Other alternatives are writing your own printer driver which is probably not even worth attempting because of how complex it is to implement perfect support or sending your print jobs through a 3rd party printing app that's already been made which probably will not provide the level of customization you want to provide.
For receipt printers, Star Micronics offers a well documented Android SDK package with lots of print samples here: http://www.starmicronics.com/support/SDKDocumentation.aspx
A printing API is included to handle status, open/close port, and basic communication. The SDK includes a sample app with a bunch of samples you can try out to get your receipt looking exactly how you want.
There is an Google Cloud Print API available which I wrote a while back: http://cloudx.fun2code.de/en/api.html
JavaDoc and examples are also available.
For a more detailed example have a look at the blog entry: http://fun2code-blog.blogspot.de/2011/10/setting-up-cloud-print-printer-using.html
Hope that helps...
Check this for Google Cloud Print integration with Android.
https://developers.google.com/cloud-print/docs/android
You can use iPrint sdk but it is paid for per user basis.
Link : http://www.iprintsdk.com/