2013-05-05 61 views
2

我TideSDK與openFileChooserDialog()工作:最近使用的文件墜毀在openFileChooserDialog在TideSDK

Ti.UI.openFileChooserDialog(callbackFunc, options); 
callbackFunc = function(filenames){ 
    fileSelected = filenames[0]; 
    console.log('---'); 
    console.log(fileSelected); 
    console.log('---'); 
}; 
var options = { 
    multiple: false, 
    title: "Select files to open...", 
    types: ['txt'], 
    typesDescription: "Documents", 
    path: Ti.Filesystem.getUserDirectory() 
}; 

一切正常,當我選擇我的磁盤上的文件,但是......我 使用Linux Mint的13 64伴侶我的文件對話框中有「最近打開的文件」助手。當我選擇從這些領域我對TideSDK的應用程序文件,按OK鍵確認,應用程序崩潰:( 依賴從我的系統或TideSDK?在Linux上這方面的任何解決辦法嗎?

recent files on file chooser dialog screen

回答