- 博客(7)
- 资源 (19)
- 收藏
- 关注
原创 解决自定义ListView中滑动事件和点击的setOnItemClickListener事件冲突的问题
解决自定义ListView滑动事件和点击事件冲突的问题一、问题描述自定义的ListView加入下拉刷新和上拉加载更多后会出现滑动时触发了点击单个条目的setOnItemClickListener事件,导致两个事件冲突了二、解决方案当我们重写ListView的OnTouchEvent方法时,通常都会switch一下MotionEvent的action,检查符合一定条件是ret
2016-06-22 10:41:27 5950 2
原创 在网页中打开指定的应用APP
实现在网页中直接打开手机中安装的自己的应用的功能一、实现的功能 在网页中点击某个链接直接跳转到本地APP的功能,可以跳转到指定的Activity,同时可以向其传递参数。二、HTML代码代码如下: New Document This is a TestHTML open myapp 具体的解释:主要的代码格式是
2016-06-15 22:16:48 1160
原创 the logging tag can be at most 23 characters
使用Android Studio时项目中Log报错the logging tag can be at most 23 characters今天写代码的时候,突然发现平时用的好好的Log竟然报错,提示信息为:the logging tag can be at most 23 characters,was 27...当前Android studio版本为1.4.1, sdk版本为23,
2016-06-04 18:20:26 1067
原创 In Gradle projects, always use http://schemas.android.com/apk/res-auto for custom attributes
In Gradle projects, always use http://schemas.android.com/apk/res-auto for custom attributesAndroid studio项目中XML报错:In Gradle projects, always use http://schemas.android.com/apk/res-auto for custom a
2016-06-04 18:16:49 2009
原创 Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. 将Eclipse项目移到Android Studio中时报错:Error retrieving parent for item: No resourc
2016-06-04 18:10:30 1087
原创 Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException:
Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException:
2016-06-04 11:33:18 625
原创 Android libpng error: Not a PNG file错误解决
Android libpng error: Not a PNG file错误解决 从Eclipse迁移项目到AndroidStudio中,在Eclipse中没有报错的项目在AndroidStudio中会报此错误。 解决方案:此错误提示为某个PNG图片的原本格式不是PNG,我们需要找到这个图片然后将其改为正确的格式即可。 在android studio中依次点开每个pn
2016-06-04 11:26:48 746
android获取通讯录联系人
2015-12-03
xUtils-2.6.14.jar
2015-10-28
Android解决软键盘弹起时遮住登录按钮的问题
2015-09-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人