Greetings, all.
Would this be the best way to print an xls file?
Is the SetType - i.SetType("text/xls") - correct?
I presume the user then would get choices to open the xls with another app or print with whatever printing app they have?
Second question:
In 4.4, Print Services are included - like Cloud and HP Plugin. What happens then?
Any and all help welcomed.
Thank you in advance.
Would this be the best way to print an xls file?
B4X:
Try
Dim i As Intent
i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "1.xls"))
i.SetType("text/xls")
StartActivity(i)
Catch
ToastMessageShow("No matching application.", True)
Log(LastException)
End Try
Is the SetType - i.SetType("text/xls") - correct?
I presume the user then would get choices to open the xls with another app or print with whatever printing app they have?
Second question:
In 4.4, Print Services are included - like Cloud and HP Plugin. What happens then?
Any and all help welcomed.
Thank you in advance.