Does anyone know any INTENT CODE to print/share a PDF/JPG via com.hp.printercontrol "HP Smart (HP AiO Remote)"
I used this code before, but it stopped working with new versions of android.
B4X:
Dim Intent1 As Intent
Intent1.Initialize("org.androidprinting.intent.action.PRINT", Starter.Provider.GetFileUri(filename))
Intent1.SetType("text/plain")
StartActivity(Intent1)
'i.Initialize("org.androidprinting.intent.action.PRINT", "file://" & File.Combine(Dir, FileName)) 'make sure that the file is in the external storage
There are several versioned components that affect the compilation process and the runtime behavior of our apps. The purpose of this tutorial is to explain the differences between them and help you choose which version to use. Each Android version is mapped to an api level. You can see this...
There are several versioned components that affect the compilation process and the runtime behavior of our apps. The purpose of this tutorial is to explain the differences between them and help you choose which version to use. Each Android version is mapped to an api level. You can see this...
If I'm not wrong... This intent ... org.androidprinting.intent.action.PRINT ... worked through this application
The problem is, I don't have an HP to test
Thanks for your reply
I change the example of the initial post that I put, because it copied an old code.
Currently I am already using FileProvider and it works for all the other uses I have.
this is the problem, I have not found anything on the web that talks about "INTENTS" documentation using the new hp application
I think I'll send a message to see if they tell me something.