Skip to content

Instantly share code, notes, and snippets.

View georgikoemdzhiev's full-sized avatar
Working from home

Georgi Koemdzhiev georgikoemdzhiev

Working from home
View GitHub Profile
@georgikoemdzhiev
georgikoemdzhiev / uwp.cs
Created April 22, 2018 18:06
Scan for paird and unpaired bluetooth devices in UWP app
public async Task<List<Models.Printer>> ListAllPrinters()
{
//Gets all printers inside the Database
var printerDevices = await _deviceService.GetAllPrinters();
//Gets all unpaired Bluetooth devices
var unpairedDevices = BluetoothDevice.GetDeviceSelectorFromPairingState(false);
//Gets all paired Bluetooth devices
var pairedDevices = BluetoothDevice.GetDeviceSelectorFromPairingState(true);
public class ActiveMinutesActivity extends AppCompatActivity implements IActiveMinutesView {
private static final String TAG = ActiveMinutesActivity.class.getSimpleName();
public static String CHECK_SH_JOB_ID_KEY = "check_sh_job_id_key";
@Inject
IActiveMinutesPresenter mPresenter;
@Inject
SharedPreferences mSharedPreferences;
@BindView(R.id.toolbar)
Toolbar mToolbar;
private JobManager mJobManager;
package criminalintent.android.bignerdranch.com.criminalintent;
import java.util.UUID;
/**
* Created by koemdzhiev on 23/02/2015.
*/
public class Crime {
private UUID mId;
private String mTitle;
@georgikoemdzhiev
georgikoemdzhiev / app_.gitignore
Created February 17, 2015 10:07
first android app
/build