Back to project page BluetoothHidEmu.
The source code is released under:
Apache License
If you think the Android project BluetoothHidEmu listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package andraus.bluetoothhidemu.spoof; /* w w w.j a v a 2 s. c o m*/ import android.bluetooth.BluetoothAdapter; import android.content.Context; public final class BluetoothAdapterSpooferFactory { private static BluetoothAdapterSpoofer mInstance = null; /** * * @param appContext * @param adapter * @return */ public static BluetoothAdapterSpoofer getInstance(Context appContext, BluetoothAdapter adapter) { if (mInstance == null) { //mInstance = new BluetoothAdapterSpooferMotoReflect(adapter); mInstance = new BluetoothAdapterSpooferGeneric(appContext, adapter); } return mInstance; } }