Bluetooth Printer Plus application API help
API Help
Download the app from play store Bluetooth Printer Plus
1. Access from another application
1. Open your application
2. Create intent as below
Intent intent = new Intent();
intent.setComponent(new ComponentName(“com.iyaltamizh.app.btprinter”,
“com.iyaltamizh.app.btprinter.Print”));
intent.putExtra(“content”,”Hello World”);
startActivity(intent);
3. create intent with componentName “com.iyaltamizh.app.btprinter” and activity name is “com.iyaltamizh.app.btprinter.Print”
4. Load your print content in putExtras as “content”
5. Start activity.
2. From JavaScript Interface
1. Create webview with javascript interface
2. Call Javascript method like below
@JavascriptInterface
public void newActivityCalled(){
Intent intent = new Intent();
intent.setComponent(new ComponentName("com.iyaltamizh.app.btprinter",
"com.iyaltamizh.app.btprinter.Print"));
intent.putExtra("content", "Hello World\n");
startActivity(intent);
}
Help us to improve application. Please share your suggestions and comments to iyaltamizh@gmail.com.
Thank you for your suggestions and support.
La veo muy buenas la,nueva,actualización solo ya,no hay la vista preliminar y el lenguaje no carga correctamente en español
Thanks for the feedback. We are working on the preview option. you can see preview option in the next update.
Thank you for the reply, We will check and fix it in the upcoming update.
How do I print an already existing document on my phone using this app
We are working on the feature for pdf printing, we will update here once it is available.
verynice