• 大小: 0.05M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 语言: Java
  • 标签: d  demo  

资源简介

SensorDemos

资源截图

代码片段和文件信息

package com.oreilly.demo.android.pa.sensordemo;

import android.accessibilityservice.AccessibilityService;
import android.accessibilityservice.AccessibilityServiceInfo;
import android.app.Service;
import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.os.Vibrator;
import android.speech.tts.TextToSpeech;
import android.speech.tts.TextToSpeech.OnInitListener;
import android.view.accessibility.AccessibilityEvent;

public class Accessibility extends AccessibilityService implements OnInitListener {
private static final int STOP = 0;
private static final int END = 1;
private static final int CLICK = 2;
private static final long[] VIBRATEPATTERN = new long[] { 0L 100L };

private final Handler accessHandler = new Handler() {

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-08-13 09:43  SensorDemos\
     文件        3375  2014-08-13 09:43  SensorDemos\AndroidManifest.xml
     文件        1248  2014-08-13 09:43  SensorDemos\proguard.cfg
     文件         361  2014-08-13 09:43  SensorDemos\project.properties
     文件         143  2014-08-13 09:43  SensorDemos\README.txt
     目录           0  2014-08-13 09:43  SensorDemos\res\
     目录           0  2014-08-13 09:43  SensorDemos\res\drawable-hdpi\
     文件        7068  2014-08-13 09:43  SensorDemos\res\drawable-hdpi\icon.png
     目录           0  2014-08-13 09:43  SensorDemos\res\drawable-ldpi\
     文件        3509  2014-08-13 09:43  SensorDemos\res\drawable-ldpi\icon.png
     目录           0  2014-08-13 09:43  SensorDemos\res\drawable-mdpi\
     文件        3509  2014-08-13 09:43  SensorDemos\res\drawable-mdpi\icon.png
     目录           0  2014-08-13 09:43  SensorDemos\res\layout\
     文件         719  2014-08-13 09:43  SensorDemos\res\layout\gesture.xml
     文件        1678  2014-08-13 09:43  SensorDemos\res\layout\gestureadd.xml
     文件        3413  2014-08-13 09:43  SensorDemos\res\layout\main.xml
     文件        1190  2014-08-13 09:43  SensorDemos\res\layout\nfc.xml
     文件        2388  2014-08-13 09:43  SensorDemos\res\layout\nfc233.xml
     文件        1420  2014-08-13 09:43  SensorDemos\res\layout\nfc40.xml
     文件        1048  2014-08-13 09:43  SensorDemos\res\layout\sensoraccel.xml
     文件        1057  2014-08-13 09:43  SensorDemos\res\layout\sensorgravity.xml
     文件        1837  2014-08-13 09:43  SensorDemos\res\layout\sensorgyro.xml
     文件         535  2014-08-13 09:43  SensorDemos\res\layout\sensorlight.xml
     文件        1090  2014-08-13 09:43  SensorDemos\res\layout\sensorlinearacel.xml
     文件        1048  2014-08-13 09:43  SensorDemos\res\layout\sensormagnetic.xml
     文件         536  2014-08-13 09:43  SensorDemos\res\layout\sensorpressure.xml
     文件         537  2014-08-13 09:43  SensorDemos\res\layout\sensorproximity.xml
     文件        1069  2014-08-13 09:43  SensorDemos\res\layout\sensorrotationvector.xml
     文件         542  2014-08-13 09:43  SensorDemos\res\layout\sensortemp.xml
     目录           0  2014-08-13 09:43  SensorDemos\res\values\
     文件         113  2014-08-13 09:43  SensorDemos\res\values\strings.xml
............此处省略36个文件信息

评论

共有 条评论