Created
August 24, 2009 22:13
-
-
Save aaroncampos/174262 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function dialogCallback(filenames){ | |
alert(filenames[0]); | |
} | |
function selectResultFile() { | |
var options = { | |
multiple: false, | |
title: "Open file", | |
types: ['*'], | |
typesDescription: "All files", | |
path: Titanium.Filesystem.getUserDirectory() | |
} | |
Titanium.UI.openFileChooserDialog(dialogCallback,options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment