Skip to content

Instantly share code, notes, and snippets.

Working from home

Georgi Koemdzhiev georgikoemdzhiev

Working from home
View GitHub Profile
georgikoemdzhiev / uwp.cs
Created April 22, 2018 18:06
Scan for paird and unpaired bluetooth devices in UWP app
View uwp.cs
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";
IActiveMinutesPresenter mPresenter;
SharedPreferences mSharedPreferences;
Toolbar mToolbar;
private JobManager mJobManager;
import java.util.UUID;
* Created by koemdzhiev on 23/02/2015.
public class Crime {
private UUID mId;
private String mTitle;