/android-easy-btprinter

Easy bluetooth printer setup. No more struggle in discovering, storing or picking stored devices.

Primary LanguageKotlin

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