Permalink
Browse files

signed app, bug in sample application fixed

- signed the bluetooth emulator app (no need to sign it anymore
- the sample application had a bug (looked for serializable instead of parcelable)
  • Loading branch information...
Francesco Zanitti Francesco Zanitti
Francesco Zanitti authored and Francesco Zanitti committed Apr 9, 2010
1 parent 2bf504c commit ac44dd6871cc446d41630d5f961fe8e317aad412
Binary file not shown.
@@ -34,7 +34,7 @@
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if(BluetoothDevice.ACTION_FOUND.equals(action)) {
- addDevice( (BluetoothDevice)intent.getSerializableExtra(BluetoothDevice.EXTRA_DEVICE) );
+ addDevice( (BluetoothDevice)intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE) );
}
}
};

0 comments on commit ac44dd6

Please sign in to comment.