Skip to content

Instantly share code, notes, and snippets.

View saeed-khalafinejad's full-sized avatar

Saeed saeed-khalafinejad

View GitHub Profile
@saeed-khalafinejad
saeed-khalafinejad / AndroidManifest.xml
Last active October 16, 2022 10:10
Android barcode scanner activity that is implemented by Google ML Kit and Fotoapparat library with the Kotlin language
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kasabeh.barcode_ml_foto">
<uses-permission android:name="android.permission.CAMERA"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
@saeed-khalafinejad
saeed-khalafinejad / WoosimPrnInvoice6Cm.java
Created January 8, 2020 12:07
Print Invoice and Person's Transaction from Android to Bluetooth Thermal Printers
package ilia.anrdAcunt.export;
/*
1- Printing an invoice to Blutooth printers via Android.
2- Please visit the corresponding printing library at https://github.com/saeed-khalafinejad/Android-Thermal-Bluetooth-Print.
3- This code is part of Kasabeh Pocket Accounting Software (نرم افزار حسابداری جیبی کسبه). You can download the software
directly from our website or from the Cafebazaar Iranian Anroid market:
- http://mobile.kasabeh.org
- https://cafebazaar.ir/app/ilia.anrdAcunt.ui?l=en
*/
import java.util.ArrayList;