自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 资源 (14)
  • 收藏
  • 关注

原创 Matrix使用

参考网站:Android画图之Matrix(一)Android画图之Matrix(二)Android Matrix基础+详解点击打开链接http://developer.android.com/reference/android/graphics/Matrix.htmlx=1*X0 +0 * y0

2012-03-28 16:29:01 723

原创 java Math

1.Math.max(0, 4);返回最大的一个值。return 42Math.abs(-4);求绝对值return 4

2012-03-28 11:21:29 457

原创 滑动窗口。。

package com.geekyouup.paug.awesomepager;import java.util.ArrayList;import java.util.List;import android.app.Activity;import android.content.Context;import android.graphics.Color;import android

2012-03-27 20:57:28 668

原创 使用ViewPage实现类launcher屏幕滑动

http://blog.csdn.net/aomandeshangxiao/article/details/7395526

2012-03-27 17:57:35 550

原创 xml布局2

account_login.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@d

2012-03-26 20:31:13 566

原创 id的声明两种方式 @id 和@+id

1<Button android:id="@id/but" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button" />在values 中新建ids。xml false

2012-03-26 20:07:18 1966

原创 xml布局1

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@id/syseditadviseview" android:layout_width="fill_parent" android:layout_height="fill_parent" and

2012-03-26 19:45:33 470

原创 RemoteViews使用

http://www.cnblogs.com/over140/archive/2011/11/28/2265736.html

2012-03-25 20:43:48 480

原创 PendingIntent

Intent和PendingIntent的区别http://blog.csdn.net/zeng622peng/article/details/6180190http://developer.android.com/reference/android/app/PendingIntent.htmlClass OverviewA description of a

2012-03-25 20:42:31 799

转载 meta-data使用

android:resource="resource specification"            android:value="string" /> 这是该元素的基本结构.可以包含在  四个元素中。 这个名字值是额外的任意的可以提供给父组件的数据。一个组件元素能够包含任意数量的meta-data子元素。它们所有的值都会被收集在Bundle对象中并且使其可

2012-03-25 20:13:36 1547

原创 android:process=":remote"

资料一http://developer.android.com/intl/zh-CN/reference/android/app/Service.htmlIf we want to make this service run in a remote process (instead of the standard one for its .apk), we can use andr

2012-03-25 20:06:30 13145

转载 OpenGL核心概念扫盲--学不懂OpenGL的进

http://anony3721.blog.163.com/blog/static/5119742011429341943/一.帧缓存操作 glClearColor,glClear,glClearDepth1. glClearColor :设置颜色缓存的清除值C语言描述void glClearColor(GLfloat red, GLfloat gr

2012-03-23 09:37:06 2158 1

转载 Renderer (专门用于渲染3D 的接口 Renderer )()

public static interfaceGLSurfaceView.Rendererandroid.opengl.GLSurfaceView.RendererClass OverviewA generic renderer interface.The renderer is responsible for makin

2012-03-23 09:06:06 2937

转载 Drawable资源(翻译)

http://blog.csdn.net/chenlaic/article/details/6090999

2012-03-21 18:01:44 479

原创 ViewFlipper

Class OverviewSimple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip between each chi

2012-03-20 21:48:04 663

原创 android界面的美化shape的使用

Shape Drawable这一类的shape定义在xml中file location:res/drawable/filename.xmlThe filename is used as the resource ID.(这个文件名作为资源id)compiled resource datatype:(复杂资源的数据类型)Resource pointer to a

2012-03-19 20:13:18 6620 3

转载 新浪微博布局学习——活用RelativeLayout

http://www.cnblogs.com/over140/archive/2011/03/14/1981196.html

2012-03-17 19:51:17 788

转载 sahpe使用

http://kofi1122.blog.51cto.com/2815761/521605

2012-03-17 19:17:31 498

原创 布局整理(七)

write.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout_root" android:orientation="vertical" android:layout_width="fill_parent" android:layout_he

2012-03-17 18:56:21 527

原创 布局整理(六)

write_dm.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout_root" android:orientation="vertical" android:layout_width="fill_parent"

2012-03-17 18:54:17 586

原创 布局整理(五) header_writer.xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="47dp" andro

2012-03-17 18:49:42 565

原创 布局整理(四)

header_search.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_

2012-03-17 18:45:27 583

原创 布局整理三

header_back.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height

2012-03-17 18:41:27 523

原创 布局代码整理二 footer

footer.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height=

2012-03-17 18:39:07 841

原创 布局保存1

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation='vertical' android:layout_width="fill_parent" android:layout_height="fill_parent" android:backgroun

2012-03-17 18:24:43 636

翻译 Attributes Layout

http://developer.android.com/guide/topics/ui/declaring-layout.html属性每个View和ViewGroup对象支持他们自己的各种XML属性。有些属性是具体 ​​到一个视图对象(例如,TextView的支持的TEXTSIZE 属性),但也可能扩展这个类的任何视图对象继承这些属性。有些是共同所有的视图对象,因为它们是

2012-03-17 11:42:54 648

翻译 Intents and Intent Filters (一)

http://developer.android.com/guide/topics/intents/intents-filters.htmlntents and Intent FiltersIn this documentIntent ObjectsIntent ResolutionIntent filtersCommon cas

2012-03-16 14:41:40 810

转载 application android 部分转载

Base class for those who need to maintain global application state. You can provide your own implementation by specifying its name in your AndroidManifest.xml's tag, which will cause that class to be

2012-03-13 15:51:17 448

core_java_career_essentials.pdf

"Core Java Essentials" are something you must know, and know it well to succeed as a Java professional. Even 40% to 60% of the so called experienced professionals fail to make an impression due to their lack of understanding in one or more of the areas covered in this book. Lack of good understanding in the core essentials can be a speed breaker to your career advancement. If you have a java interview coming up in a few days or you want to impress your peers and superiors with your technical strengths during code review sessions, team meetings, and stand-ups, and concerned about how to make a good impression? You don't need to worry if you are familiar with the fundamentals. This is a Questions & Answers book with 250+ questions and answers relating to core Java with lots of code snippets (100+), examples, and diagrams. Most Java interviews and technical challenges you face at work are structured around the fundamentals and how well you communicate those fundamentals. So regularly brushing up on these fundamentals really pays off. Your analytical, problem solving, and coding skills will also be under scrutiny along with your ability to get the job done with the right tools. If your fundamentals are clear and know what tools to use, you can tackle any questions, and find solutions to any problems and challenges you face. Even if you don't have the exact answer for a problem, you will know how to go about solving them with a little research if you have a solid grounding in the fundamentals covered in this book. A little preparation can make a huge difference to your career success. Preparation can help you communicate your thoughts more clearly with examples and illustrations. Preparation can make a good and lasting impression on those who talk with you during your interviews and team meetings. This impression will be partly influenced by how prepared you are and how knowledgeable you are about your industry and the challenges it faces. It will also be influenced by your appearance, attitude, enthusiasm, and confidence. Good preparation breeds confidence and it shows in the interviews and team meetings. So prepare well in advance if you just begun to see yourself in your dream company or would like to go places in your chosen field.

2017-12-06

OpenCV By Example

About This Book, Get to grips with the basics of Computer Vision and image processingThis is a step-by-step guide to developing several real-world Computer Vision projects using OpenCV 3This book takes a special focus on working with Tesseract OCR, a free, open-source library to recognize text in images, Who This Book Is For, If you are a software developer with a basic understanding of Computer Vision and image processing and want to develop interesting Computer Vision applications with Open CV, this is the book for you. Knowledge of C++ is required., What You Will Learn, Install OpenCV 3 on your operating systemCreate the required CMake scripts to compile the C++ application and manage its dependenciesGet to grips with the Computer Vision workflows and understand the basic image matrix format and filtersUnderstand the segmentation and feature extraction techniquesRemove backgrounds from a static scene to identify moving objects for video surveillanceTrack different objects in a live video using various techniquesUse the new OpenCV functions for text detection and recognition with Tesseract, In Detail, Open CV is a cross-platform, free-for-use library that is primarily used for real-time Computer Vision and image processing. It is considered to be one of the best open source libraries that helps developers focus on constructing complete projects on image processing, motion detection, and image segmentation., Whether you are completely new to the concept of Computer Vision or have a basic understanding of it, this book will be your guide to understanding the basic OpenCV concepts and algorithms through amazing real-world examples and projects., Starting from the installation of OpenCV on your system and understanding the basics of image processing, we swiftly move on to creating optical flow video analysis or text recognition in complex scenes, and will take you through the commonly used Computer Vision techniques to build your own Open CV projects from scratch., By the end of this book, you will be familiar with the basics of Open CV such as matrix operations, filters, and histograms, as well as more advanced concepts such as segmentation, machine learning, complex video analysis, and text recognition.

2017-11-23

例子代码 android http://blog.csdn.net/qq282133/article/details/7616809

http://blog.csdn.net/qq282133/article/details/7616809

2012-05-30

libgdx-0.9.2.zip

libgdx-0.9.2.zip libgdx-0.9.2.zip libgdx-0.9.2.zip

2011-11-15

java 串口通信 包 comm.jar

java 串口通信 包 comm.jar win32com.dll javax.comm.properties

2011-10-21

贪吃蛇.jar

贪吃蛇.jar import java.io.IOException; import java.util.Hashtable; import java.util.Vector; import javax.microedition.lcdui.Font; import javax.microedition.lcdui.Graphics; public class DCSnake extends i { private h jdField_a_of_type_H; private h jdField_b_of_type_H; private h jdField_c_of_type_H; private boolean jdField_c_of_type_Boolean; private boolean d; private int jdField_a_of_type_Int; private int jdField_b_of_type_Int; private int jdField_c_of_type_Int; private boolean e; private f jdField_a_of_type_F; private f jdField_b_of_type_F; private f jdField_c_of_type_F; public final void a(int paramInt) { if (!this.jdField_c_of_type_Boolean) { paramInt = this; if (!this.d) { paramInt.jdField_a_of_type_Int = 6; paramInt.jdField_b_of_type_Int = 0; paramInt.d = true; return; } if (paramInt.jdField_b_of_type_Int &lt; paramInt.jdField_a_of_type_Int) { Object localObject1; switch (paramInt.jdField_b_of_type_Int) { case 0: a.a(); break; case 1: this = paramInt; try { localObject1 = null; localObject1 = Font.getFont(32, 0, 8); Font localFont1 = Font.getFont(32, 1, 8); Font localFont2 = Font.getFont(32, 1, 0); this.jdField_a_of_type_F = new f((Font)localObject1, 0, -1); this.jdField_b_of_type_F = new f(localFont1, 16777215, 0); this.jdField_c_of_type_F = new f(localFont2, 16776960, 32768); t.a(this.jdField_c_of_type_F, this.jdField_a_of_type_F, this.jdField_b_of_type_F); } catch (IOException localIOException) { } case 2: localObject1 = a.a(new int[] { 1245188, 1245190, 1245189 }); v[] arrayOfv = a.a(new int[] { 1245191, 1245193, 1245192 }); t.a(new c(localObject1, true), new c(arrayOfv, true)); break;

2011-09-12

仿 qq 相册

OCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQuery lightBox plugin</title> <link rel="stylesheet" type="text/css" href="../style-projects-jquery.css" /> <!-- Arquivos utilizados pelo jQuery lightBox plugin --> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script> <link rel="stylesheet" type="text/css" href="css/jquery.lightbox-0.5.css" media="screen" /> <!-- / fim dos arquivos utilizados pelo jQuery lightBox plugin --> <!-- Ativando o jQuery lightBox plugin --> <script type="text/javascript"> $(function() { $('#gallery a').lightBox(); }); </script> <style type="text/css">

2011-08-31

jdbc 2008

jdbc2008 jdbc2008的驱动

2011-07-30

java 浏览器 源码

java 浏览器 源码 public class EditorPaneTest { public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { public void run() { JFrame frame = new EditorPaneFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } }); } }-------《java核心技术》

2011-07-30

java 记事本

java记事本 点击就可运行! 需安java的 jvm!

2011-07-30

高校选课系统 源码 strcts2 spring

高校选课系统 strcts2 spring <%@ page language="java" pageEncoding="GBK"%> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%> <html> <head> <title>高校选课系统首页</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } .STYLE1 {color: #FF0000} .STYLE3 {color: #FF0000; font-size: 9pt; } .STYLE7 {font-size: 9pt} --> </style></head>

2011-07-18

java 坦克大战源码

package cn.hnist.Joshua; //download by http://www.codefans.net import java.awt.*; public class HitPoint { public static final int HITPOINTSIZE=50; //血条的长度 int topNumber; //总血量 int number; //当前血量 Tank tk; public HitPoint(int topNum,Tank tk) { if(topNum>50||topNum<=0) { this.topNumber=50; } topNumber=topNum; number=topNum; this.tk=tk; } public void draw(Graphics g) { Color c=g.getColor(); g.setColor(Color.white); g.drawRect(tk.x-25,tk.y-35,HITPOINTSIZE,5); g.setColor(Color.red); g.fillRect(tk.x-24,tk.y-34,number*HITPOINTSIZE/topNumber-1,4); g.setColor(c); } public void cutsHitPoint(int cuts) //发生碰撞时的减血 { number-=cuts; if(isEmpty()) { tk.dead(); } //若血空了,Tank死掉 } public void cutsHitPoint(int cuts,Shot s) //被子弹击中时的减血 { number-=cuts; if(tk.isLive&&tk instanceof RobotTank) { ((RobotTank) tk).avoidThrust(s); } if(isEmpty()) { tk.dead(); } //若血空了,Tank死掉 } public void raisesHitPoint(int raises) //血量增加 { number+=raises; if(number>topNumber) { number=topNumber; } } public boolean isEmpty() { if(number<=0) { return true; } else { return false; } } }

2011-04-30

asp.net2.0入门经典C#编程篇2 英文.pdf

asp.net和c#入门精典1章 ASP.NET 3.5入门....................1 1.1 Microsoft Visual Web Developer.....................................2 1.1.1 获取Visual Web Developer......2 1.1.2 安装Visual Web Developer Express Edition...................................3 1.2 创建第一个ASP.NET 3.5 Web站点......................................4 1.3 ASP.NET 3.5简介.......................8 1.3.1 HTML....................................10 1.3.2 初识ASP.NET标记................13 1.4 IDE.............................................14 1.4.1 主开发区................................14 1.4.2 信息窗口................................20 1.5 定制IDE.....................................21 1.5.1 重新排列窗口........................21 1.5.2 修改Toolbox...........................22 1.5.3 定制文档窗口........................24 1.5.4 定制工具栏............................24 1.5.5 定制键盘快捷键....................25 1.5.6 重置修改................................25 1.6 示例应用程序............................26 1.7 关于Visual Web Developer 的实用提示................................28 1.8 小结............................................29 1.9 练习............................................29 第2章构建ASP.NET站点..................31 2.1 用VWD 2008创建 Web站点......................................31 2.1.1 不同项目类型........................32 2.1.2 选择正确的Web 站点模板..........................................33 2.1.3 创建与打开新Web站点.........34 2.2 操作Web站点中的文件.............37 2.2.1 ASP.NET 3.5 Web 站点的文件类型...............................37 2.2.2 添加现有文件........................40 2.2.3 组织站点................................41 2.2.4 特殊文件类型........................43 2.3 使用Web Forms..........................43 2.3.1 关于Web Form的不同视图...........................................43 2.3.2 在Code Behind和带内联代码的页面之间选择.......................45 2.3.3 向页面添加标记....................49 2.3.4 连接页面................................55 2.4 使用Web Forms的实用提示......57 2.5 小结............................................57 2.6 练习............................................

2011-03-13

空空如也

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

TA关注的人

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