摘要: 首先说一下关于虚拟机的技巧,以前我也总是感觉电脑运行虚拟机的时候老是卡,后来在看课堂直播时看到老师用的是Total Control,在网上搜“Total Control”就能能找到,比系统自带SDK运行快捷和方便多了,而且一点都不卡。 下面的这些,都是我平常遇到的一些小问题以及总结。 当consle 阅读全文
posted @ 2015-12-23 17:34 冷的锋刃 阅读(642) 评论(0) 推荐(0)
摘要: 屏幕区域的获取: 应用区域的获取: view图形绘制区域的获取: 下面来测试一下: 效果如图: 阅读全文
posted @ 2015-12-23 16:50 冷的锋刃 阅读(523) 评论(0) 推荐(0)
摘要: 结构图:基类:package ch.halcyon.squareprogressbar.example;import android.app.Activity;import android.app.FragmentManager;import android.content.Context;impo... 阅读全文
posted @ 2015-12-17 10:52 冷的锋刃 阅读(495) 评论(0) 推荐(0)
摘要: package com.example.imagescale;import android.os.Bundle;import android.app.Activity;import android.graphics.Bitmap;import android.graphics.BitmapFacto... 阅读全文
posted @ 2015-12-16 16:06 冷的锋刃 阅读(305) 评论(0) 推荐(0)
摘要: 主方法为: 点击图片可以旋转: // <![CDATA[ var Img = function() { var T$ = function(id) { return document.getElementById(id); } var ua = navigator.userAgent, isIE = 阅读全文
posted @ 2015-12-13 23:42 冷的锋刃 阅读(541) 评论(0) 推荐(0)
摘要: MySurfaceView类: package com.fm; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android. 阅读全文
posted @ 2015-12-11 09:11 冷的锋刃 阅读(457) 评论(0) 推荐(0)
摘要: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>拖拽库</title> <style type="text/css"> div,h2,p{margin:0;padding:0;} 阅读全文
posted @ 2015-12-10 20:47 冷的锋刃 阅读(451) 评论(0) 推荐(0)
摘要: 方法一:新建"MyView"类package onTouchEvent;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphic... 阅读全文
posted @ 2015-11-17 16:17 冷的锋刃 阅读(428) 评论(0) 推荐(0)
摘要: 先在Transitions中插入ImageSwitcherpackage com.example.Galleryphotoshow;import com.example.Galleryphotoshow.R;import android.app.Activity;import android.con... 阅读全文
posted @ 2015-11-10 11:31 冷的锋刃 阅读(621) 评论(0) 推荐(0)
摘要: package com.example.Gallery; import com.example.Gallery.R; import android.os.Bundle; import android.app.Activity; import android.content.Context; impo 阅读全文
posted @ 2015-11-10 11:21 冷的锋刃 阅读(641) 评论(0) 推荐(0)
摘要: 一:刚开始布局设计:在layout的activity_main中添加listView,效果图如下:二:在Main_Activity中代码如下:package net.jiaxiang.arradapter;import android.os.Bundle;import android.app.Act... 阅读全文
posted @ 2015-11-05 10:22 冷的锋刃 阅读(637) 评论(0) 推荐(0)
摘要: package net.hnjdzy.imagecolor; import android.os.Bundle; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFa 阅读全文
posted @ 2015-11-03 10:27 冷的锋刃 阅读(635) 评论(0) 推荐(0)
摘要: <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>使用Document方法</title> <style type="text/css"> body{font-size:14px; 阅读全文
posted @ 2015-11-01 09:38 冷的锋刃 阅读(1602) 评论(0) 推荐(0)
摘要: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>表格过滤器</title> <script language="javascript" src="http://files.cnbl 阅读全文
posted @ 2015-11-01 09:34 冷的锋刃 阅读(981) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2015-11-01 09:26 冷的锋刃 阅读(1463) 评论(0) 推荐(0)