随笔分类 -  android

摘要:1. 前言 这份文档参考了 Google Java 编程风格规范和 Google 官方 Android 编码风格规范。该文档仅供参考,只要形成一个统一的风格,见量知其意就可。 1.1 术语说明 在本文档中,除非另有说明: 1.2 指南说明本文档中的示例代码并不作为规范,仅供参考。 基本格式方面使用 阅读全文
posted @ 2017-07-08 22:50 麦峰强 阅读(309) 评论(0) 推荐(0)
摘要:在单路录音中,有两种情况导致底层录音资源被占用的问题:1 开启vmLog后,拨打一个电话,挂断电话。如果挂断电话后,没有关闭vmlog进程,则会导致其它AP 无法得到底层的录音资源,从而无法录音。2 打开第三方录音软件,第三方录音软件在后台getinput,一直占用底层资源,不释放的情况话,则会导致... 阅读全文
posted @ 2014-06-18 22:02 麦峰强 阅读(2773) 评论(0) 推荐(0)
摘要:In this thread, I'm presenting aframeworkwhich gives you the possibility tomodify your ROM - without modifying any APK (developers) or flashing (users)!Please don't use this thread for problems with modules or questions related to anything but the Xposedframeworkand its installer!Some techni 阅读全文
posted @ 2013-05-09 08:12 麦峰强 阅读(1434) 评论(0) 推荐(0)
摘要:Android 1.5、1.6 android.intent.category.ALTERNATIVE android.intent.category.BROWSABLE android.intent.category.DEFAULTSet if the activity should be an option for the default action (center press) to perform on a piece of data. Setting this will hide from the user any activities without it set when... 阅读全文
posted @ 2013-05-06 07:39 麦峰强 阅读(487) 评论(0) 推荐(0)
摘要:一、 Intent 作用 Intent被译作意图,其实还是很能传神的,Intent期望做到的,就是把实现者和调用者完全解耦,调用者专心将以意图描述清晰,发送出去,就可以梦想成真,达到目的。 Intent 是一个将要执行的动作的抽象描述,一般来说是作为参数来使用,由Intent来协助完成android各个组件之间的通讯。比如说调用startActivity()来启动一个activity,或者由broadcaseIntent()来传递给所有感兴趣的BroadcaseReceiver, 再或者由startService()/bindservice()来启动一个后台的service.所以可以看出来,i 阅读全文
posted @ 2013-05-06 07:21 麦峰强 阅读(368) 评论(0) 推荐(0)
摘要:Hot on the heels of our previous GUI article,iPhone and iPad Development GUI Kits, today we focus onAndroiddevelopment. The idea is the same: To help streamline your app design and development, with a fairly comprehensive collection of Android GUI kits, icons, fonts, .psds and tools, that will allow 阅读全文
posted @ 2011-11-18 08:11 麦峰强 阅读(1039) 评论(0) 推荐(0)