可以在packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java里修改
public static final String[] ACCEPTABLE_SHARE_INBOUND_TYPES = new String[] {
"image/*",
"video/*",
"audio/*",
"text/x-vcard",
"text/plain",
"text/html",
"application/zip",
"application/vnd.ms-excel",
"application/msword",
"application/vnd.ms-powerpoint",
"application/pdf",
"application/vnd.android.package-archive",
};
之后重新编译即可
阅读(3919) | 评论(0) | 转发(0) |