public void showFirstDialog() {
try {
new AlertDialogWrapper.Builder(this).setTitle(R.string.set_save_location)
.setMessage(R.string.set_save_location_msg)
.setPositiveButton(R.string.btn_yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
new FolderChooserDialogCreate.Builder(Album.this).chooseButton(
R.string.btn_select) // changes label of the choose button
.initialPath(Environment.getExternalStorageDirectory()
.getPath()) // changes initial path, defaults to external storage directory
.show();
}
})
.setNegativeButton(R.string.btn_no, null)
.show();
} catch (Exception ignored) {
}
}
Album.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:Slide
作者:
评论列表
文章目录