Java tutorial
//package com.java2s; //License from project: Apache License import android.bluetooth.BluetoothDevice; import java.lang.reflect.Method; public class Main { public static boolean unPair(BluetoothDevice device) throws Exception { Method removeBondMethod = device.getClass().getMethod("removeBond"); return (Boolean) removeBondMethod.invoke(device); } }