自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

cxcbupt

我的学习记录

  • 博客(9)
  • 资源 (4)
  • 收藏
  • 关注

转载 SharedPreferences.Editor 的commit方法与apply方法的区别

public abstract void apply ()Added in API level 9Commit your preferences changes back from this Editor to the SharedPreferences object it is editing. This atomically performs the requested

2015-09-30 16:39:27 1579

转载 关于Adapter的The content of the adapter has changed but ListView did not receive a notification.问题分析

1、问题描述 1 07-28 17:22:02.162: E/AndroidRuntime(16779): java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of yo

2015-09-25 09:52:37 613

转载 android string.xml中%1$s、%1$d等的用法

1、整型,比如“小姐今年23岁了”,这个23是整型的。在string.xml中可以这样写,小姐今年%1$d岁了 在程序中,使用 String sAgeFormat = getResources().getString(R.string.old); String sFinalAge = String.format(sAgeFormat, 23); 将%1$d替换为23;

2015-09-21 17:40:29 1038

转载 Android开源控件----Android显示GIF图像控件------android-gif-drawable

Views and Drawable for displaying animated GIFs on Android详细用法请见以下github项目地址github项目地址:https://github.com/koral--/android-gif-drawable

2015-09-20 15:14:55 900

转载 java中volatile关键字的含义

在java线程并发处理中,有一个关键字volatile的使用目前存在很大的混淆,以为使用这个关键字,在进行多线程并发处理的时候就可以万事大吉。Java语言是支持多线程的,为了解决线程并发的问题,在语言内部引入了 同步块和 volatile 关键字机制。 1>synchronized (同步块)同步块大家都比较熟悉,通过 synchronized 关键字来实现,所

2015-09-20 10:51:18 553

转载 Android Studio ------Dynamic layout preview

Android Studio allows you to work with layouts in both a Design View and a Text View.1>Design View2> Text ViewFrom the Design View, you can drag and drop elements from the Palett

2015-09-19 16:34:53 1058

转载 Multithreading For Performance

A good practice in creating responsive applications is to make sure your main UI thread does the minimum amount of work. Any potentially long task that may hang your application should be handled in a

2015-09-18 10:06:12 382

转载 How to import Patio Library in my Project

Download Patio project.UnzipImport moduleSelect folder Patio-master/PatioFinishEdit build.gradle file (Patio one, not your project one)Change the follow line to the same as your project build.

2015-09-07 10:55:27 412

原创 关于WebView加载URL时显示一片空白的问题

问题:当用WebView加载URL时,WebView只是显示一片空白,而没有正常加载所需要的内容;1》布局文件:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:

2015-09-04 22:02:59 36425 4

Android图表--achartengine

AChartEngine is a charting library for Android applications It currently supports the following chart types: line chart area chart scatter chart time chart bar chart pie chart bubble chart doughnut chart range high low bar chart dial chart gauge combined any combination of line cubic line scatter bar range bar bubble chart cubic line chart All the above supported chart types can contain multiple series can be displayed with the X axis horizontally default or vertically and support many other custom features The charts can be built as a view that can be added to a view group or as an intent such as it can be used to start an activity ">AChartEngine is a charting library for Android applications It currently supports the following chart types: line chart area chart scatter chart time chart bar chart pie chart bubble chart doughnut chart range high low bar chart dial chart gauge combined any combination of line cubic line s [更多]

2014-10-26

SmartUpload上传及下载

jspSmartUpload是由www.jspsmart.com网站开发的一个可免费使用的全功能的文件上传下载组件,适于嵌入执行上传下载操作的JSP文件中。

2014-09-12

JFreeChart使用相关

JFreeChart是JAVA平台上的一个开放的图表绘制类库。它完全使用JAVA语言编写,是为applications, applets, servlets 以及JSP等使用所设计。 JFreeChart可生成饼图(pie charts)、柱状图(bar charts)、散点图(scatter plots)、时序图(time series)、甘特图(Gantt charts)等等多种图表,并且可以产生PNG和JPEG格式的输出,还可以与PDF和EXCEL关联。

2014-09-11

DAO设计模式Demo

DAO(Data Access Object)是一个数据访问接口,数据访问:顾名思义就是与数据库打交道。夹在业务逻辑与数据库资源中间。 本文按照DAO设计模式的思想,设计并实现了该模式架构。

2014-09-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除