I have contacted Printershare and they have indicated that an app can print via intent through their software.
I've tried to create a proper intent and point it toward the file I wish to print.
The below is my attempt at the intent, but instead of printing, it is opening a file editor.
Any advice is appreciated
Thanks, Rusty
I've tried to create a proper intent and point it toward the file I wish to print.
The below is my attempt at the intent, but instead of printing, it is opening a file editor.
B4X:
'the recommended intent from Printershare
'Intent i = new Intent(Intent.ACTION_VIEW);
'i.setPackage("com.dynamixsoftware.printershare");
'i.setDataAndType(data_uri, data_type);
'StartActivity(i);
'my b4a intent
Dim Instl As Intent
Instl.Initialize(Instl.ACTION_VIEW, "com.dynamixsoftware.printershare")
Instl.SetType("text/html")
Instl.PutExtra("data_uri", File.DirRootExternal & "/survey/Facilities.txt")
StartActivity(Instl)
Thanks, Rusty