I am trying to use a remote service to build a BlueTooth Chat (like the one of the Android Samples). But since my last modifications, the application does not start and the log shows the error no empty constructor
for my service. I have read this post but I cant add any empty constructor. There must be something I do wrong, or maybe it doesnt work for remote services.
This is my constructor :
public RemoteService(Context context, Handler handler) {
mAdapter = BluetoothAdapter.getDefaultAdapter();
mState = STATE_NONE;
}
Can someone tell me what is wrong with it?