自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

android整理的一些零散笔记

=>1.SQLite 图形化界面来查看数据库,使用Sqliteman >sudo apt-get install sqliteman =>2.关于Activity间的跳转 >1.Intent it = getIntent(); >2.Intent it = new Intent(); 说说第一种,假设注册了个单击跳转的事件,第一次点击是有反...

2011-04-29 15:49:00 73

塞班传感器编程

塞班传感器编程 塞班系统于v9.3开始支持传感器,从S60第五版SDK正式公布传感器接口(sensor API)。 传感器接口(sensor API)提供给用户侦听和接收来至传感器数据的功能,它包括两个部分:通道接口(Channel API)和定义接口(Definitions API)。Channel API定义了传感器的基本功能和作用,Definitions API描述了...

2011-04-26 16:43:00 112

用ExpandableListView实现好友分组

上篇关于好友分组,采用的是listview,这篇随便写了个demo,用ExpandableListView实现 说到ExpandableListView,其实我们都可以去实现一个相关的adapter,重写里面的getView()方法,只是这次要重写的重要方法是getChildView()和getGroupView() 在下面的activity代码里定义了一个组的集合mGroupArray,存放...

2011-04-25 17:14:00 68

Symbian 5800 重力开发的一些数据

Symbian真机获取重力数据真是件麻烦事, 1>首先,ReadDeviceData和WriteDeviceData能力不能使用自签名证书,还好以前申请过开发者证书。开发者证书有效期短,就只好调整机器的时间。 2>从 5800 获取了一些Rotation的数据,平均每秒能接收超过20个数据。 3>landscape模式下,机器横放身前,屏幕朝上时拨打键在内挂机键在外,屏幕...

2011-04-22 22:48:00 49

android中动态布局(动态加入TextView和ListView)

package org.guoshi; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.guoshi.adapter.ImageAndTextAdapter; import android.app.Activity;...

2011-04-21 16:20:00 164

塞班模拟器异常退出 Symbian Emulator "Main Killed -4"

根据e32err.h的定义,-4是内存分配失败。 有一种情况,是因为应用程序在mpp声明堆内存的最大值太大(EPOCHEAPSIZE),而模拟器的内存大小有限(参见emulator->tools->configuration->memory capability),一般来说修改memory capability没有什么实际意义,因为设备上的空间就那么大。所以控制好EPOCHEA...

2011-04-09 19:53:00 123

android opengl es--星星,旋涡

  package zhou.ne.he; import zhou.ne.he.four.FourRend;import zhou.ne.he.one.OneRend;import zhou.ne.he.thri.ThriRend;import zhou.ne.he.two.TwoRend;import android.app.Activity;import android.opengl...

2011-04-06 15:19:00 117

android opengl es--纹理映射,光照

import zhou.ne.he.four.FourRend;import zhou.ne.he.one.OneRend;import zhou.ne.he.thri.ThriRend;import zhou.ne.he.two.TwoRend;import android.app.Activity;import android.opengl.GLSurfaceView;import an...

2011-04-06 15:16:00 92

android opengl es--立方体

import zhou.ne.he.four.FourRend;import zhou.ne.he.one.OneRend;import zhou.ne.he.thri.ThriRend;import zhou.ne.he.two.TwoRend;import android.app.Activity;import android.opengl.GLSurfaceView;import an...

2011-04-06 15:13:00 62

android opengl es--三角形,四边形

import java.nio.FloatBuffer;import javax.microedition.khronos.egl.EGLConfig;import javax.microedition.khronos.opengles.GL10;import android.opengl.GLSurfaceView; public class OneRend implements GLS...

2011-04-06 15:10:00 100

空空如也

空空如也

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

TA关注的人

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