手机中所有文件路径的数据库,返回键Toast处理

手机中所有文件路径的数据库

文件路径:data/data/com.android.provider.media/databases/external.db

访问uri:content://media/external/file


返回键Toast处理


	private Toast mToast = null;
	
	private void showToast(Context context, String content){
		if(mToast == null){
			mToast = Toast.makeText(context, content, Toast.LENGTH_SHORT);
		}else{
			mToast.setText(content);
			mToast.setDuration(Toast.LENGTH_SHORT);
		}
		mToast.show();
	}

你可能感兴趣的:(手机中所有文件路径的数据库,返回键Toast处理)