Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Posts: 263
Registered: ‎05-18-2011
My Device: Curve 9300, BB10 Dev Alpha C, Z10

How to invoke native BlackBerry 10 File Picker from within Android app?

Hi all,


It has been said that the native BlackBerry 10 File Picker when selecting files within an Android app is supported (https://developer.blackberry.com/android/documentation/bb_runtime_release_notes.html).


But I don't know how to call/invoke the File Picker which allows the user to pick a plain text file (e.g., memo.txt) on the device's file system. I have tried the following code but a dialog says "No applications can perform this action".


Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
try {
	startActivityForResult(Intent.createChooser(intent, "Select a plain text file:"), REQUEST_CODE_TEXT_FILE_SELECT);
} catch (android.content.ActivityNotFoundException ex) {

 Please can anyone provide helps on this? Thanks