This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GlobalKeypress.cpp : Defines the exported functions for the DLL application. | |
// | |
#include "stdafx.h" | |
#include "GlobalKeypress.h" | |
#include <iostream> | |
void CALLBACK dllcallback(DWORD keycode); | |
typedef void CALLBACK CallbackFunc(DWORD); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RangingActivity extends Activity implements BeaconConsumer { | |
protected static final String TAG = "RangingActivity"; | |
private BeaconManager beaconManager; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_ranging); | |
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { |