Home | History | Annotate | Download | only in opp

Lines Matching refs:mimetype

103                             .getColumnIndexOrThrow(BluetoothShare.MIMETYPE));
162 public static void openReceivedFile(Context context, String fileName, String mimetype,
164 if (fileName == null || mimetype == null) {
165 Log.e(TAG, "ERROR: Para fileName ==null, or mimetype == null");
190 if (isRecognizedFileType(context, path, mimetype)) {
192 activityIntent.setDataAndType(path, mimetype);
196 if (V) Log.d(TAG, "ACTION_VIEW intent sent out: " + path + " / " + mimetype);
199 if (V) Log.d(TAG, "no activity for handling ACTION_VIEW intent: " + mimetype, ex);
214 public static boolean isRecognizedFileType(Context context, Uri fileUri, String mimetype) {
217 if (D) Log.d(TAG, "RecognizedFileType() fileUri: " + fileUri + " mimetype: " + mimetype);
220 mimetypeIntent.setDataAndType(fileUri, mimetype);
225 if (D) Log.d(TAG, "NO application to handle MIME type " + mimetype);
297 values.put(BluetoothShare.MIMETYPE, transInfo.mFileType);