【MTK】通过蓝牙分享及接收apk应用文件

注:此文章是在MTK android6.0 基础上修改平台BUG,我发通过蓝牙分享APK文件

--- a/alps/packages/apps/Bluetooth/AndroidManifest.xml
+++ b/alps/packages/apps/Bluetooth/AndroidManifest.xml
@@ -193,6 +193,9 @@
                 
                 
                 
+                
+                
+                
             
             
                 
@@ -214,6 +217,9 @@
                 
                 
                 
+                
+                
+                
             
             
                 
--- a/alps/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
+++ b/alps/packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
@@ -247,7 +247,8 @@ public class Constants {
         "application/vnd.openxmlformats-officedocument.presentationml.presentation",
         "application/x-hwp",
         "application/vnd.android.package-archive",
-        "application/x-flac"//flac
+        "application/x-flac",//flac
+        "application/*"    //added 蓝牙可接收apk等文件
     };
 
     /**


你可能感兴趣的:(MTK随记)