版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
--- a/mediatek/source/packages/Bluetooth/common/bt40/src/com/mediatek/bluetooth/BluetoothShareGatewayActivity.java +++ b/mediatek/source/packages/Bluetooth/common/bt40/src/com/mediatek/bluetooth/BluetoothShareGatewayActivity.java @@ -69,6 +69,8 @@ public class BluetoothShareGatewayActivity extends Activity {	public static final String ACTION_SETTINGS = "com.mediatek.bluetooth.sharegateway.action.ACTION_SETTINGS";	public static final String ACTION_SEND = "com.mediatek.bluetooth.sharegateway.action.SEND"; +	+	private static final String ACTION_SEND_BIP_FILES = "com.mediatek.bluetooth.sharegateway.action.ACTION_SEND_BIP_FILES"; //add by zhengconglong	private static final int BLUETOOTH_DEVICE_REQUEST = 1; @@ -313,7 +315,14 @@ public class BluetoothShareGatewayActivity extends Activity { BluetoothUuid.containsAnyUuid(uuids, BIP_PROFILE_UUIDS)) { Xlog.v(TAG, "BIP is supported"); - mIntent.setClassName("com.mediatek.bluetooth", "com.mediatek.bluetooth.bip.BipInitEntryActivity"); + //mIntent.setClassName("com.mediatek.bluetooth", "com.mediatek.bluetooth.bip.BipInitEntryActivity"); +	Intent in = new Intent(ACTION_SEND_BIP_FILES); +	Bundle intentBundle = new Bundle(); +	intentBundle.putParcelable("Intent", mIntent); +	in.putExtras(intentBundle); +	sendBroadcast(in); }