上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 41 下一页
摘要: 关于Listview点击条目,自动滑动到点击条目实现:map_searchresult_list.post(new Runnable() { @Override public void run() { map_searchresult_list.smoothScrollTo... 阅读全文
posted @ 2015-04-23 14:44 狂奔的小狮子 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 两种解决方案:Two actions, first:1.Right click on the project and go to "Properties"2.Select "Java Build Path" on the left3.Open "Source" tab4.Click "Add Fol... 阅读全文
posted @ 2015-04-21 11:01 狂奔的小狮子 阅读(405) 评论(0) 推荐(0) 编辑
摘要: package com.view.drop;import android.content.Context;import android.content.res.TypedArray;import android.graphics.Bitmap;import android.graphics.Bitm... 阅读全文
posted @ 2015-04-20 22:18 狂奔的小狮子 阅读(242) 评论(0) 推荐(0) 编辑
摘要: /** * This class allows you to listen to when the user is entering the background (i.e. after a home button press, * or opening recent apps etc) and w... 阅读全文
posted @ 2015-04-20 20:18 狂奔的小狮子 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 通知栏简介:Notification can display some information for user.Some users use Android Wear platform, whichwork with notification better and use wear devices... 阅读全文
posted @ 2015-04-20 17:52 狂奔的小狮子 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 发送通知这次邮件我们将会讨论怎么获取电量状态在安卓设备上,为了完成这个目标,我们将会使用到广播。What is BroadcastReceiver?A broadcast receiver is an Android component which allows you to register fo... 阅读全文
posted @ 2015-04-20 14:07 狂奔的小狮子 阅读(1072) 评论(0) 推荐(0) 编辑
摘要: 关于eclipse运行出现,attempting to bokeyaunrun eclipse useing the jre instead of jdk,to run eclipse using错误的解决方案“Incorrect path to your JDKWhen you install t... 阅读全文
posted @ 2015-04-19 16:27 狂奔的小狮子 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 异常信息:java.lang.IndexOutOfBoundsException: index=3 count=2在instantiateItem各个条目View的时候。会有container.addView(view, 0);这样一行代码。如果写成container.addView(view, p... 阅读全文
posted @ 2015-04-14 12:11 狂奔的小狮子 阅读(1513) 评论(0) 推荐(0) 编辑
摘要: 为了解决这个问题。可以自定义viewpager,然后在里面监听首饰,自定义点击事件package com.hpuvoice.view;import android.content.Context;import android.graphics.PointF;import android.suppor... 阅读全文
posted @ 2015-04-13 18:09 狂奔的小狮子 阅读(1901) 评论(0) 推荐(0) 编辑
摘要: fragment里面的onActivityResult 怎样才能被调用,很简单,就一句话,# startActivityForResult(intent, getActivity().RESULT_FIRST_USER);(注意,不要写成getactivity().startactivityforr... 阅读全文
posted @ 2015-04-13 11:49 狂奔的小狮子 阅读(649) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 41 下一页