摘要:
这个工程包括两个类:1、SensorActivity.java2、SensorListenerTest.java在SensorActivity里面可以不用监听,就可以完成自己想要的动作。1、SensorActivity.java代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package com.sener.listener;import android.app.Activity;import android.content.Conte 阅读全文
posted @ 2010-08-18 17:57
snowdrop
阅读(834)
评论(0)
推荐(0)
摘要:
两个类:1、SensorTest类,是Acvitivity2、SensorListenerTest类,实现了SensorEventListener类,SensorTest.java:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package com.sensor;import android.app.Activity;import android.os.Bundle;public class SensorTest extends Ac 阅读全文
posted @ 2010-08-18 10:09
snowdrop
阅读(4210)
评论(0)
推荐(0)
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package com.java.test;public class T extends Parent { public void Method1(int a, int c, String b) { System.out.println("this is t.t1"); } public static void main(String args[]) { T t = ne 阅读全文
posted @ 2010-08-18 09:32
snowdrop
阅读(14303)
评论(1)
推荐(0)
浙公网安备 33010602011771号