Print image in android

后端 未结 2 426
盖世英雄少女心
盖世英雄少女心 2021-01-17 03:24

I am using the below code to send the command to the printer. The temp folder is created and the file is sent to the folder. but it gives me an error saying `

相关标签:
2条回答
  • 2021-01-17 03:47

    check your code once....!!whether the intent is registered in manifest with proper action and category...!!

    0 讨论(0)
  • 2021-01-17 03:57

    You are missing an app, that is actually able to use that print-intent you are trying to start. Install whatever can receive com.dynamixsoftware.printershare.print intents. If this is already installed, make sure the uri and mime-type make sense to that app.

    An intent is only a signal to do some job. It will be dispatched at runtime, so there is no compile time checking for errors. This also allows the user in some cases (e.g. send by email) to choose between multiple possible receivers

    0 讨论(0)
提交回复
热议问题