Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (43 loc) · 1.74 KB

README.md

File metadata and controls

59 lines (43 loc) · 1.74 KB

Android BTPrinter - Easy Bluetooth Device (Printer) Manager

No more struggle on discovering, storing or picking stored devices to print directly.

Favorite Devices

Device Discoveries

Test Printing

[Currently under development state]

Add the activity into your AndroidManifest.xml :

<activity
  android:name="com.inibukanadit.easybtprinter.ui.BTPrinterActivity"
  android:theme="@style/AppTheme.NoActionBar" />

Ensure to use only .NoActionBar themes :

<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
  <item name="colorPrimary">@color/colorPrimary</item>
  <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
  <item name="colorAccent">@color/colorAccent</item>
</style>

Start the activity through your application :

startActivity(Intent(this, BTPrinterActivity::class.java))

Warning - This library needs DataBinding feature enabled to run completely. (will be improved in the future)

In Development

  • Device discoveries
  • Store a printer device - possible even on before or after test print
  • Test print directly - in discovery page
  • Test print directly - in stored devices page
  • Reusable dialog call - callable everywhere, to print on choosen favorite (stored) device
  • Make a stored device as 'default'

Improvements

  • Remove data binding dependent