732003684

导航

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页

2013年3月3日 #

【转】android Notification 的使用

摘要: http://www.cnblogs.com/newcj/archive/2011/03/14/1983782.htmlIntent.FLAG_ACTIVITY_CLEAR_TOP :如果在当前Task中,有要启动的Activity,那么把该Acitivity之前的所有Activity都关掉,并把此Activity置前以避免创建Activity的实例Intent.FLAG_ACTIVITY_NEW_TASK :系统会检查当前所有已创建的Task中是否有该要启动的Activity的Task,若有,则在该Task上创建Activity,若没有则新建具有该Activity属性的Task,并在该新建的 阅读全文

posted @ 2013-03-03 11:43 732003684 阅读(133) 评论(0) 推荐(0) 编辑

2013年2月26日 #

3d 绘图纹理

摘要: http://blog.csdn.net/hmg25/article/details/6740136(球上纹理)package com.ct.testmyfirst3d;import android.app.Activity;import android.os.Bundle;import android.widget.CompoundButton;import android.widget.CompoundButton.OnCheckedChangeListener;import android.widget.LinearLayout;import android.widget.ToggleB 阅读全文

posted @ 2013-02-26 10:22 732003684 阅读(330) 评论(0) 推荐(0) 编辑

2013年2月25日 #

3D 坐标变换

摘要: Android OpenGL ES 开发教程(14):三维坐标系及坐标变换初步OpenGL ES图形库最终的结果是在二维平面上显示3D物体(常称作模型Model)这是因为目前的打部分显示器还只能显示二维图形。但我们在构造3D模型时必须要有空间现象能力,所有对模型的描述还是使用三维坐标。也就是使用3D建模,而有OpenGL ES库来完成从3D模型到二维屏幕上的显示。这个过程可以分成三个部分:坐标变换,坐标变换通过使用变换矩阵来描述,因此学习3D绘图需要了解一些空间几何,矩阵运算的知识。三维坐标通常使用齐次坐标来定义。变换矩阵操作可以分为视角(Viewing),模型(Modeling)和投影(Pr 阅读全文

posted @ 2013-02-25 17:22 732003684 阅读(453) 评论(0) 推荐(0) 编辑

Android OpenGL学习笔记

摘要: 1、什么是 OpenGL? OpenGL是个专业的3D程序接口,是一个功能强大,调用方便的底层3D图形库。OpenGL 的前身是 SGI 公司为其图形工作站开的 IRIS GL。IRIS GL 是一个工业标准的3D图形软件接口,功能虽然强大但是移植性不好,于是SGI公司便在 IRIS GL 的基础上开发 OpenGL。2、OpenGL 的发展历程 1992年7月发布了OpenGL 1.0 版本,并与微软共同推出 Windows NT 版本的 OpenGL 。 1995年 OpenGL 1.1 版本面市,加入了新功能,并引入了纹理特性等等。 一直到2009年8月Khronos小组发布了O... 阅读全文

posted @ 2013-02-25 16:24 732003684 阅读(156) 评论(0) 推荐(0) 编辑

介绍GLSurfaceView

摘要: http://googlers.iteye.com/blog/953316 阅读全文

posted @ 2013-02-25 15:19 732003684 阅读(111) 评论(0) 推荐(0) 编辑

2013年2月24日 #

学习教程

摘要: http://www.2cto.com/kf/201207/140877.html 阅读全文

posted @ 2013-02-24 17:12 732003684 阅读(99) 评论(0) 推荐(0) 编辑

忍者子弹敌人

摘要: 入口:AppDelegate->applicationDidFinishLaunching()->CCScene *pScene = HelloWorld::scene()------------>HelloWorld::scene()->create();->create()-->调用CREATE_FUNC(HelloWorld)->调用HelloWorld->init()方法背景色设置CCLayerColor::initWithColor(ccc4(0,255,0,100));创建精灵:CCSize winSize = CCDirector: 阅读全文

posted @ 2013-02-24 16:32 732003684 阅读(170) 评论(0) 推荐(0) 编辑

2013年2月22日 #

发送邮件

摘要: String strEmailBody = content.getText().toString(); Intent intent = new Intent(android.content.Intent.ACTION_SEND); intent.setType("plain/text"); String[] strEmailReciver = new String[]{"coderui@outlook.com"}; intent.putExtra(android.conten... 阅读全文

posted @ 2013-02-22 17:34 732003684 阅读(114) 评论(0) 推荐(0) 编辑

保存数据库到本地

摘要: // 本地备份 private void backupDatabaseToSD() { AlertDialog.Builder builder = new AlertDialog.Builder( SettingActivity.this); builder.setTitle("SD卡备份"); builder.setMessage("备份文件保存在/sdcard/MrBill"); builder.setPositiveButton("保存", new DialogInterface.OnClickL... 阅读全文

posted @ 2013-02-22 17:27 732003684 阅读(252) 评论(0) 推荐(0) 编辑

简单计算机

摘要: package com.ct.mysimplecalculator;import android.app.Activity;import android.os.Bundle;import android.text.InputType;import android.view.Menu;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;import android.widget.EditText;import android.widget.Toast;publ 阅读全文

posted @ 2013-02-22 15:52 732003684 阅读(249) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页