自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

千里之外

菜鸟也有春天

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

转载 Windows Route 路由表命令

Windows Route 路由表命令在本地 IP 路由表中显示和修改条目。语法 route [-f] [-p] [Command [Destination] [mask Netmask] [Gateway] [metric Metric]] [if Interface]]参数 -f 清除所有不是主路由(网掩码为 255.255.255.255 的路由)、环回网络路

2013-11-21 11:24:23 20549

转载 Lua语法学习

首先记住一句话、在Lua中、一切都是变量、除了关键字     所有的语言、都要用到变量。在Lua中、不管你在什么地方使用变量,都不需要声明,并且所有的这些变量总是全局变量,除非,你在前面加上"local"、这一点要特别注意、因为你可能想在函数里使用局部变量、却忘了用local来说明     至于变量名、它跟c语言一样、大小写也是敏感的、    定义一个变量的方法就是赋值、"="操作就是

2013-11-15 16:30:14 922

转载 How compiler works

How compiler works is not easy to explain in one sentence. The best way is to use an example.A compiler is a computer program that transforms source code written in a high-level programming lang

2013-11-15 10:19:13 885

转载 how to create a Makefile

This article will provide a guidance to create your own Makefile. The article will explain why we need a Makefile and will also list several things we should consider in creating a Makefile.Intr

2013-11-12 17:18:37 1131

转载 undefined reference问题总结

最近在Linux下编程发现一个诡异的现象,就是在链接一个静态库的时候总是报错,类似下面这样的错误:(.text+0x13): undefined reference to `func'     关于undefined reference这样的问题,大家其实经常会遇到,在此,我以详细地示例给出常见错误的各种原因以及解决方法,希望对初学者有所帮助。1.  链接时缺失了相关目标文件(

2013-11-12 16:54:26 4683 1

转载 Android 自定义控件外观style

在程序开发中,android系统控件提供的外观往往距离我们要求的有一定差距, 此时我们可以通过一些方法来修改。 本文只讨论外观修改,在系统控件上进行功能扩充的自定义控件另外讨论。 首先我们看下系统的RadioButton: RadioButton长成什么样子是由其Background、Button等属性决定的,Android系统 使用style定义了默认的属性,在andro

2013-11-08 17:55:27 4894

转载 Android简单自定义控件做法

很多时候android常用的控件不能满足我们的需求,那么我们就需要自定义一个控件了。今天做了一个自定义控件的实例,来分享下。              首先定义一个layout实现按钮内部布局:      [html] view plaincopyxml version="1.0" encoding="utf-8"?>  Line

2013-11-08 17:44:24 3890 1

转载 android Bitmap与Drawable与byte[]与InputStream之间的转换工具类

package com.shntec.xmm.platform;import java.io.ByteArrayInputStream;import java.io.ByteArrayOutputStream;import java.io.InputStream;import android.graphics.Bitmap;import android.graphics.Bitmap

2013-11-06 11:25:37 1080

转载 saving-the-android-webview-cache-on-the-sd-card

It could be useful to save the cache of an Android WebView on the SD card (or integrated external memory) especially for devices with a limited amount of internal memory, but how can you do that? We

2013-11-04 18:19:21 1722

转载 Android 视频截图

static public Bitmap getVideoThumbnail(ContentResolver cr, String path) {        Bitmap bitmap = null;        BitmapFactory.Options options = new BitmapFactory.Options();        options.inDither

2013-11-04 17:57:14 1114

转载 webview 设定和使用缓存来获取网页中的js,css和图片资源

经过几天的探索和反复的尝试,终于有了一点点进展了。http://johncookie.iteye.com/blog/1182459http://developer.android.com/reference/android/webkit/WebSettings.html#setAppCachePath(java.lang.String)

2013-11-04 16:34:28 16986 1

boot2docker v17.09.0-ce

boot2docker v17.09.0-ce 为

2017-10-09

Android 手动连接wifi的源码

这是一个用来连接到 WIFI 热点的库。 简单实用方法: 1 final Intent intent = new Intent("com.farproc.wifi.connecter.action.CONNECT_OR_EDIT"); 2 intent.putExtra("com.farproc.wifi.connecter.extra.HOTSPOT", scanResult); 3 startActivity(intent);

2013-08-26

北大ACM题解

比较全面的ACM题解,从1001到3445,选取了其中比较经典的一些题目,给出了答案。希望给正在学习算法方面的知识的同学,或者是做ACM卡住的同学一点帮助。

2013-01-31

VC动态链接库dll深入浅出讲解pdf

VC动态链接库dll深入浅出讲解pdf VC动态链接库dll深入浅出讲解pdf VC动态链接库dll深入浅出讲解pdf VC动态链接库dll深入浅出讲解pdf VC动态链接库dll深入浅出讲解pdf

2011-08-16

空空如也

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

TA关注的人

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