Android利用广播实现耳机的线控

上传者: hdtpjhz | 上传时间: 2019-12-21 19:51:21 | 文件大小: 920KB | 文件类型: rar
借助广播来实现单按钮耳机的线控,能够识别单击和双击 代码讲解在我的博客里: http://blog.csdn.net/illidantao/article/details/16847909

文件下载

资源详情

[{"title":"( 49 个子文件 920KB ) Android利用广播实现耳机的线控","children":[{"title":"HeadSet","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 437.86KB </span>","children":null,"spread":false},{"title":"HeadSet.apk <span style='color:#111;'> 177.22KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 6.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.85KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"dexedLibs","children":[{"title":"annotations-f62a8459b76d6d4c9f04e87095fdc0a7.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"android-support-v4-d451041cc4ccef1ff456b374abe203ef.jar <span style='color:#111;'> 146.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"headset","children":[{"title":"MainActivity.class <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"helper","children":[{"title":"HeadSetReceiver$1.class <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"HeadSetHelper.class <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"HeadSetReceiver$MyTimer.class <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"HeadSetHelper$OnHeadSetListener.class <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"HeadSetReceiver.class <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false}],"spread":false},{"title":"R$style.class <span style='color:#111;'> 434B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 25.58KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"activity_main.xml <span style='color:#111;'> 257B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 389B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 8.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 13.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 695B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 547B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 54.44KB </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"headset","children":[{"title":"BuildConfig.java <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"headset","children":[{"title":"MainActivity.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"helper","children":[{"title":"HeadSetReceiver.java <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"HeadSetHelper.java <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 376.65KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • chnht :
    学习学习!
    2019-03-17
  • cube-box :
    可以有用 啊有参考
    2017-05-16
  • lee1800 :
    对我有帮助,之前卡了半天
    2016-04-08
  • hjy逸影 :
    嗯,很好用,功能实现了!
    2015-10-22
  • aakzhangliangming :
    不错,正在弄播放器,把它加了进去
    2015-06-02

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明