`
zhenping
  • 浏览: 79695 次
  • 性别: Icon_minigender_1
  • 来自: 广州
文章分类
社区版块
存档分类
最新评论
文章列表
之前看Googl提供的Android API 没有发现有onWindowFocusChanged(boolean hasFocus)这个方法,我还以为Activity的生命周期就只有那表述的7个方法而已 无意中测试的项目的时候发现了这个方法,我就随意的测试了一下,Activity 启动的时候最先调用的是这个onApplyThemeResource(Theme theme, int resid, boolean first) 方法,然后依次是:onCreate(Bundle savedInstanceState)---->onContentChanged()--->onStart( ...
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <!-- 非触摸模式下获得焦点并单击选择时的背景图片 --> <item android:drawable="@drawable/tab_weixin_pressed" android:state_checked="true" android:state_focused="true" ...
android:layout_toRightOf 使当前控件位于给出id 控件的右侧 android:layout_toLeftOf 使当前控件位于给出id 控件的左侧 android:layout_above 使当前控件位于给出id 控件的上方 android:layout_below 使当前控件位于给出id 控件的下方 android:layout_alignTop 使当前控件的上边界与给出id 控件的上边界对齐 android:layout_alignBottom 使当前控件的下边界与给出id 控件的下边界对齐 android:layout_alignLeft 使当前控件的左边 ...
编译Android项目老是报这个错误:Unable to execute dex: java.nio.BufferOverflowException,Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. 坑爹啊自从用了R22后就不得安宁了。 错误描述: [2013-11-18 10:02:58 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the E ...
编译Android项目老是报这个错误:Unable to execute dex: java.nio.BufferOverflowException,Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. 坑爹啊自从用了R22后就不得安宁了。 错误描述: [2013-11-18 10:02:58 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the E ...
...
出现的错误信息具体如下: [2014-01-21 22:36:22 - AChartEngineDemo] ------------------------------ [2014-01-21 22:36:22 - AChartEngineDemo] Android Launch! [2014-01-21 22:36:22 - AChartEngineDemo] The connection to adb is down, and a severe error has occured. [2014-01-21 22:36:22 - AChartEngineDemo] You must r ...
出现的错误信息如下: [2013-11-14 17:34:59 - HelloWorld] Android Launch! [2013-11-14 17:34:59 - HelloWorld] The connection to adb is down, and a severe error has occured. [2013-11-14 17:34:59 - HelloWorld] You must restart adb and Eclipse. [2013-11-14 17:34:59 - HelloWorld] Please ensure that adb is correct ...
做一下笔记吧,N久没有配置SDK了,今天弄这个SDK出现很多问题,所以就记记吧 这里更新的是API4.0 还有一些扩展的功能 Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml Fetched Add-ons List successfully Fetching URL: https://dl-ssl.google.com/android/repository/repository-8.xml Validate XML: https://dl-ssl.google.com/android/re ...
public JFreeChart drawLineChart2D(DefaultCategoryDataset dataset,String title, String scope) {JFreeChart chart = ChartFactory.createLineChart(title, null, "数量",dataset, PlotOrientation.VERTICAL, // 图表方向垂直true, true, true);chart.addSubtitle(new TextTitle(scope));LegendTitle legend = chart.ge ...
public JFreeChart drawLineChart2D(DefaultCategoryDataset dataset,String title, String scope) {JFreeChart chart = ChartFactory.createLineChart(title, null, "数量",dataset, PlotOrientation.VERTICAL, // 图表方向垂直true, true, true);chart.addSubtitle(new TextTitle(scope));LegendTitle legend = chart.ge ...
有时候我们需要对list进行排序,方便我们查阅,下面就是本人做的一个小测试。 package www.huarui.biz.jfreecharts; public class BuffBean {private String month = null;private int count = 0;public String getMonth() {return month;}public void setMonth(String month) {this.month = month;}public int getCount() {return count;}public void setCou ...
有时候我们需要对list进行排序,方便我们查阅,下面就是本人做的一个小测试。 package www.huarui.biz.jfreecharts; public class BuffBean {private String month = null;private int count = 0;public String getMonth() {return month;}public void setMonth(String month) {this.month = month;}public int getCount() {return count;}public void setCou ...
如何在PHP上显示JFreechart?可能大部分都遇到这种情况,在JSP上的servlet能完全的显示出JFreechart画的统计图,但是和其他语言混合运用就不能显示了 我现在也遇到这个问题,想了半个小时终于弄明白了,实现的过程还是很简单的。(个人经验总结而已) 解决的思路: 1.先将JFreechart生成的图片保存在web 服务器上。 2.然后在JSP上用<img>标签显示 3.通过JS将JSP导入PHP页面 这样就实现了。 部分getColumnChart.jsp源码: <%String startTime = request.getParam ...
HTML <img> 标签的 usemap 属性 HTML <img> 标签 定义和用法 usemap 属性将图像定义为客户端图像映射。 图像映射指的是带有可点击区域的图像。 usemap 属性与 <map> 元素的 name 或 id 属性相关联,以建立 <img> 与 <map> 之间的关系。 HTML 4.01 与 HTML5 之间的差异 没有。 <!-- 用QQ邮箱阅读空间订阅我的博客 --> <a href="http://mail.qq.com/cgi-b ...
Global site tag (gtag.js) - Google Analytics