Reputation: 11
I am searching for a Camera Roll link in Adobe air! A clickable link to the Gallery for Android!
It will be great if anyone know this?
Upvotes: 1
Views: 617
Reputation: 345
so basically you would create a function
function browseCameraRoll(){
if( CameraRoll.supportsBrowseForImage ){
mediaSource.addEventListener( MediaEvent.SELECT, imageSelected );
mediaSource.addEventListener( Event.CANCEL, browseCanceled );
mediaSource.browseForImage();
} else {
log( "Browsing in camera roll is not supported.");
}
}
and call that when the user clicks on your link.
Upvotes: 1