相关疑难解决方法(0)

选择Android设备上的文件夹

我想让用户选择目录并保存下载的文件(我的应用程序下载文件).我知道有些工具(例如ES文件资源管理器)提供了这样的intent-filters.请参阅http://www.estrongs.com/en/support/developers.html.我为结果启动活动,然后获得选定的文件夹作为结果.

另外,我知道没有"选择文件夹"意图标准(我不能使用与其他工具相同的意图).您知道其他支持此类功能的工具吗?我想让用户使用他的工具,而不是ES文件管理器.

此外,Astro是否提供此类意图过滤器?我在他们的页面上找不到这个信息.(我认为astro是android最常用的文件管理器)

android file-manager android-intent

13
推荐指数
1
解决办法
7353
查看次数

Error inflating class ImageButton

I have an app which has fragment and image button on that. The problem is it's working on and above 5.0 but not below 5.0. The min sdk version is 17.

Not getting what's wrong here. I am getting 2 exceptions.

One is RuntimeException for image button. Second is ResourceNotFoundException for fab selector file.

Log : 1st exception --

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.siddhi.timetablelayout/com.example.siddhi.timetablelayout.MainActivity}: android.view.InflateException: Binary XML file line #16:

Error inflating class ImageButton

2nd exception --

Caused …

android android-resources inflate-exception binary-xml android-imagebutton

4
推荐指数
1
解决办法
1万
查看次数