摘要: 我想使调用音乐使用 parcelable,所以我可以访问两个不同的活动中的音乐的实例的类。我不想使用可序列化的速度的目的。当我尝试将它使用传递时,我总是收到 nullPointerException:Intent in = getIntent();thisInstance = (Music) in.... 阅读全文
posted @ 2015-05-27 22:38 牧之丨 阅读(2230) 评论(0) 推荐(0) 编辑
摘要: android获取手机cpu并判断是单核还是多核/*** Gets the number of cores available in this device, across all processors.* Requires: Ability to peruse the filesystem at ... 阅读全文
posted @ 2015-05-27 10:32 牧之丨 阅读(2188) 评论(0) 推荐(0) 编辑
摘要: 参考http://developer.android.com/guide/topics/manifest/uses-sdk-element.htmlAPI Level 是一个整型值,表示Android发布的某个特定版本,新API Level相对于老API Level会增加以下内容:* 新增类、或者已... 阅读全文
posted @ 2015-05-27 10:31 牧之丨 阅读(2135) 评论(0) 推荐(0) 编辑