摘要: So you want to continue to get sensor events in your Android service, even after the screen turns off? Well that’stoo damn bad, kid, cause you can’t. No, I’m just kidding.But you’ll probably need a work-around forAndroid Issue 3708. In this document I describe what I had to do to get it working on m 阅读全文
posted @ 2013-04-01 19:29 Android_AnJon 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Some of the Android OS versions have a bug which stops thesensorssuch as theaccelerometerrecording when the screen lock is on.The bug has been submitted but has not been fixed in all instanceshttp://code.google.com/p/android/issues/detail?id=3708http://code.google.com/p/android/issues/detail?id=1102 阅读全文
posted @ 2013-04-01 19:27 Android_AnJon 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 本文作者李治国,现任阿米巴资本创始合伙人,前口碑网CEO,前雅虎口碑商务运营部资深总监,前阿里巴巴云计算中心资深总监。阿里巴巴第46号员工。阿米巴成立于2011年10月,投资了十多个项目,项目主要集中于移动互联网、电子商务和SNS等TMT领域。打车应用最近比较火,据说马化腾曾在两会期间亲自了解这个方向。在北京等城市较熟悉的打车应用有滴滴打车、摇摇招车等,而快的打车在上海和杭州的熟悉度较高。我干投资两年半以来,投了蘑菇街、挖财记账、小奥游戏、花瓣、麦苗科技,网上厨房,以及前段刚刚投的“快的打车”,总共投了将近20个项目。这里面已经有退出的,也有两年之内估值达到数亿美金的,还有今年能够盈利且收入达 阅读全文
posted @ 2013-04-01 19:23 Android_AnJon 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 一些手机app(如微信、QQ等)有新消息来到达,手机屏幕即使在锁屏状态下也会亮起,并提示用户有新消息。但是,一般情况下手机锁屏后,Android系统为了省电以及减少CPU消耗,在一段时间后会使系统进入休眠状态,这时,Android系统中CPU会保持在一个相对较低的功耗状态,而收到新消息必定有网络请求,而网络请求是消耗CPU的操作,那么如何在锁屏状态乃至系统进入休眠后,仍然保持系统的网络状态以及通过程序唤醒手机呢?答案就是Android中的WakeLock机制。 官方对于WakeLock的解释:PowerManager:This class gives you control of the po 阅读全文
posted @ 2013-04-01 19:20 Android_AnJon 阅读(899) 评论(0) 推荐(0) 编辑