Welcome![Sign In][Sign Up]
Location:
Search - android Canvas

Search list

[BooksAndroid基础教程

Description: 第一部分 Android简介 第1章 快速入门.............. 3 1.1 安装工具...... 3 1.1.1 Java 5.0+.... 3 1.1.2 Eclipse.......... 4 1.1.3 Android....... 4 1.1.4 Eclipse插件..................... 5 1.2 创建第一个程序.... 7 1.3 在模拟器上运行程序............... 8 1.4 在手机上运行程序..................... 9 1.5 快速阅读指南.......... 9 第2章 基本概念........... 11 2.1 Android的系统架构................ 11 2.1.1 Linux内核..................... 11 2.1.2 本机库...... 12 2.1.3 Android运行时......... 13 2.1.4 应用程序框架........... 14 2.1.5 应用程序 15 2.2 它还活着... 15 2.2.1 进程不等于应用程序......... 16 2.2.2 应用程序生命周期............... 17 2.3 构建块......... 19 2.3.1 活动............ 19 2.3.2 意图............ 19 2.3.3 服务............ 19 2.3.4 内容提供者................. 19 2.4 使用资源... 20 2.5 安全性......... 20 2.6 快速阅读指南....... 21 第二部分 Android基础知识 第3章 设计用户界面..................... 25 3.1 数独游戏简介....... 25 3.2 声明性设计............. 26 3.3 创建启动界面....... 27 3.4 使用替代资源....... 34 3.5 实现About对话框..................... 37 3.6 应用主题... 41 3.7 添加菜单... 43 3.8 添加设置... 45 3.9 开始新游戏............. 47 3.10 利用日志消息调试程序... 48 3.11 利用调试器调试程序......... 50 3.12 退出游戏 50 3.13 快速阅读指南.... 50 第4章 绘制2D图形...................... 53 4.1 Android图形基础...................... 53 4.1.1 Color类... 53 4.1.2 Paint类... 54 4.1.3 Canvas类 55 4.1.4 Path类...... 55 4.1.5 Drawable类................. 56 4.2 在Sudoku程序中添加图形............... 58 4.2.1 开始游戏 58 4.2.2 定义Game类................. 58 4.2.3 定义PuzzleView类............... 60 4.2.4 绘制游戏盘面........... 61 4.2.5 绘制数字 63 4.3 处理输入... 65 4.3.1 定义和更新选定区域......... 66 4.3.2 输入数字 68 4.3.3 增加提示 69 4.3.4 抖动屏幕 70 4.4 其他问题... 71 4.4.1 创建软键盘................. 71 4.4.2 实现游戏逻辑........... 76 4.4.3 其他功能 78 4.5 更多改进... 80 4.6 快速阅读指南....... 81 第5章 多媒体. 83 5.1 播放音频... 83 5.2 播放视频... 88 5.3 为数独游戏配上音乐............ 92 5.4 快速阅读指南....... 94 第6章 存储本地数据..................... 95 6.1 为数独游戏添加选项............ 95 6.2 继续玩前一个游戏.................. 97 6.3 记住当前位置....... 99 6.4 访问内部文件系统............... 100 6.5 访问SD卡.............. 101 6.6 快速阅读指南.... 103 第三部分 高级主题 第7章 互联的世界. 107 7.1 通过意图实现浏览............... 108 7.2 利用视图打开网页............... 111 7.3 JavaScript与Java通信.......... 115 7.4 使用Web服务..... 121 7.5 快速阅读指南.... 131 第8章 定位与环境感知........... 133 8.1 位置,位置,位置............... 133 8.1.1 我在哪里.................... 135 8.1.2 更新位置.................... 137 8.1.3 模拟说明.................... 138 8.2 充分利用传感器..................... 139 8.2.1 了解传感器.............. 139 8.2.2 解析传感器的读数............ 140 8.2.3 模拟说明.................... 140 8.3 地图功能 141 8.3.1 嵌入MapView........... 142 8.3.2 准备就绪.................... 145 8.3.3 模拟说明.................... 146 8.4 快速阅读指南.... 147 第9章 SQL实战...... 149 9.1 SQLite简介........... 149 9.2 SQL基础 150 9.2.1 DDL语句.................... 151 9.2.2 修改语句.................... 151 9.2.3 查询语句.................... 151 9.3 你好,数据库.... 152 9.3.1 使用SQliteOpenHelper 153 9.3.2 定义主程序.............. 155 9.3.3 添加一行.................... 156 9.3.4 运行一个查询........ 157 9.3.5 显示查询结果........ 158 9.4 数据绑定 159 9.5 使用ContentProvider...... 162 9.5.1 更改主程序.............. 164 9.5.2 添加一行.................... 164 9.5.3 运行一个查询........ 165 9.6 实现ContentProvider...... 165 9.7 快速阅读指南.... 166 第10章 利用OpenGL实现3D图形.............. 169 10.1 理解3D图形..... 169 10.2 OpenGL简介.... 170 10.3 构建一个OpenGL程序... 171 10.4 管理线程............. 173 10.5 构建一个模型. 178 10.6 光线、相机…….................. 181 10.7 动作......... 183 10.8 应用纹理............. 184 10.9 透明效果............. 187 10.10 快速阅读指南..................... 189 第四部分 附录 附录A Java与Android语言及其API.......... 193 附录B 参考书目........ 197
Platform: | Size: 13578541 | Author: pumaxy | Hits:

[androidCanvas

Description: android 中Canvas类的介绍 是实例源代码-android introduced in the Canvas class is an instance of source code
Platform: | Size: 27648 | Author: 宋明杰 | Hits:

[androidandroid-canvas

Description: Android 图形化开发指南——画布开发-Android canvas graphical development Development Guide
Platform: | Size: 551936 | Author: 高文华 | Hits:

[androidandroid-canvas

Description: 对学习android的朋友在画图上有很大的参考意义-Android friends to learn a lot on drawing reference value
Platform: | Size: 551936 | Author: xyh0820 | Hits:

[androidUIDemo

Description: Andorid界面开发,右侧滑动菜单例子-A slide from right side sameple on Android UI developing
Platform: | Size: 64512 | Author: 彭鹏 | Hits:

[androidAndroidCreateBitmap

Description:
Platform: | Size: 43008 | Author: heidi | Hits:

[androidandroid-canvas

Description: 详细的android画图学习资料和总结,包括bitmap,drawable,canvas,animation的详细说明-Detailed summary of android learning materials and drawing, including bitmap, drawable, canvas, animation detailed description of the
Platform: | Size: 570368 | Author: 边江 | Hits:

[androidAndroid-biji-_View-Canvas-bitmap

Description: android 位图的显示 及调用 主要讲View、Canvas、bitmap几个类-android bitmap display and call the main say View, Canvas, bitmap several classes
Platform: | Size: 53248 | Author: Tony | Hits:

[androidCanvas

Description: 实现Android中图片的阴影效果和影子效果-Android in the picture to achieve the shadow effect and shadow effect
Platform: | Size: 91136 | Author: 胡晓东 | Hits:

[androidAndroid-VieW-Canvas-bitmap

Description: BitMap、View以及Canvas是我们Ophone程序中常用到的类。本日以feisky的学习笔记呈现,通过实例讲解View&Canvas等等。 1. 从资源中获取位图 可以使用BitmapDrawable或者BitmapFactory来获取资源中的位图。 当然,首先需要获取资源: Resources res=getResources() 使用BitmapDrawable获取位图 使用BitmapDrawable (InputStream is)构造一个BitmapDrawable; 使用BitmapDrawable类的getBitmap()获取得到位图; // 读取InputStream并得到位图 InputStream is=res.openRawResource(R.drawable.pic180) BitmapDrawable bmpDraw=new BitmapDrawable(is) Bitmap bmp=bmpDraw.getBitmap() 或者采用下面的方式: -BitMap, View and Canvas is we use class often Ophone program. This day to feisky study notes appear, through the examples explain View&Canvas and so on. 1. Get a bitmap from resources Can use BitmapDrawable or BitmapFactory to obtain resources of the bitmap. Of course, we first need to obtain resources: Resources res = getResources () Use BitmapDrawable get a bitmap Use BitmapDrawable (InputStream is constructing a BitmapDrawable Use BitmapDrawable kind getBitmap () get get a bitmap //read InputStream and get a bitmap InputStream is = res. OpenRawResource (R.d rawable. Pic180) BitmapDrawable bmpDraw = new BitmapDrawable (is) Bitmap BMP = bmpDraw. GetBitmap () Or use the following ways:
Platform: | Size: 54272 | Author: netwalk | Hits:

[androidandroid-canvas

Description: android开发的一个很好的文档啊,主要讲如何画图的-Android developed a very good document, mainly about how to draw
Platform: | Size: 551936 | Author: lixingyun | Hits:

[Button controlhuabu

Description: android 画布罗盘实现 简单快捷 希望对大家有用-android canvas compass for simple and rapid to be useful
Platform: | Size: 279552 | Author: 李志光 | Hits:

[androidExampleDrawCanvas

Description: 使用 android canvas 画线的一个简单实例,适合画图入门,非常简单-Use a simple instance of the the android canvas painting line, suitable for drawing entry is very simple
Platform: | Size: 622592 | Author: | Hits:

[OtherCanvas

Description: android绘图,基本绘图、画布的使用-android canvas
Platform: | Size: 1022976 | Author: machnagwei | Hits:

[androidDrawDisk

Description: 抽奖轮盘,使用android Canvas+Path绘图方式实现,少贴图;-Draw disk, use Android Canvas+Path drawing mode, less map
Platform: | Size: 1105920 | Author: 天涯 | Hits:

[androidCanvas

Description: android平台下的的手写源代码,支持自定义画笔的手写demo-handwritten android platform source code, support custom brush handwriting demo
Platform: | Size: 360448 | Author: junfeng930512 | Hits:

[JSP/JavatestCW

Description: android 用canvas类 构成自定义地图-android canvas class constituted by custom map
Platform: | Size: 1354752 | Author: 胡浩特 | Hits:

[androidCanvas

Description: Android Canvas实现图片阴影(影子)效果,基于android.graphics.Canvas android.graphics.BitmapFactory 等实现的图片阴影,图片影子效果,定义公共的ImageEffect方法,在内部初始化画笔,为后面阴影效果使用,设置阴影层,比较关键。然后定义Canvas绘制对象,调用mutate方法,如果不调用mutate方法,则原图也会被改变,因为调用的资源是同一个,所有对象是共享状态的。设置画布颜色,图像平移为了刚好在原图后形成影子效果-Android Canvas achieve picture shadow (shadow) effect, based android.graphics.Canvas android.graphics.BitmapFactory such as to achieve a picture shadow pictures shadow effect, the definition of public ImageEffect methods, internal initialization brushes for use behind the shadow effect, Set the shadow layer, more crucial. Then define Canvas drawing object, call mutate method, if you do not call mutate method, the original image will be changed, because the resources call is the same, all objects are shared state. Set canvas color, image shifting to just after the original formation of the shadow effect
Platform: | Size: 91136 | Author: rpudn72 | Hits:

[androidCanvas-Test-master

Description: 这是一个Android应用程序来测试用Canvas画图,非常有用-This is an Android application to test drawing with a canvas,very useful
Platform: | Size: 23552 | Author: 课税 | Hits:

[JSP/Javahtml5-android

Description: Android的HTML5应用程序概述 如何适配多分辨率的Android设备? 如何在Android中构建HTML5应用程序? 如何在Android中调试HTML5应用程序? 如何在Android中使用HTML5的本地储存? 如何在Android中使用HTML5的本地数据库? 如何在Android中使用HTML5的地理定位? 如何在Android中构建HTML5离线应用? 如何使用Canvas进行绘图?-html5 of android development .ppt
Platform: | Size: 1788928 | Author: xf | Hits:
« 12 3 »

CodeBus www.codebus.net