2012年3月13日

Protocol Buffers中的optimize_for选项

摘要: http://code.google.com/apis/protocolbuffers/docs/proto.html#optionsoptimize_for (file option): Can be set to SPEED, CODE_SIZE, or LITE_RUNTIME. This affects the C++ and Java code generators (and possibly third-party generators) in the following ways:SPEED (default): The protocol buffer compiler will 阅读全文

posted @ 2012-03-13 21:52 androidme 阅读(1299) 评论(0) 推荐(1) 编辑

kandroid - 很多关于Android知识的文档

摘要: www.kandroid.org/可惜有些是韩文的,碰到韩文就翻译一下吧,有些文档很不错,在其他地方没见到过。 阅读全文

posted @ 2012-03-13 21:21 androidme 阅读(234) 评论(0) 推荐(0) 编辑

Android Visualizer

摘要: https://github.com/felixpalmer/android-visualizerA View subclass that Takes the input from the Android MediaPlayer and displays visualizations, like in iTunes or WinAmpThe Visualizer is designed to be modular, so it is very easy to combine visualizations to create more complex effects.It's easy 阅读全文

posted @ 2012-03-13 16:58 androidme 阅读(995) 评论(0) 推荐(1) 编辑

google-gson - A Java library to convert JSON to Java objects and vice-versa

摘要: http://code.google.com/p/google-gson/Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not hav 阅读全文

posted @ 2012-03-13 15:22 androidme 阅读(232) 评论(0) 推荐(1) 编辑

protobuf - Protocol Buffers - Google's data interchange format

摘要: http://code.google.com/p/protobuf/Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. 阅读全文

posted @ 2012-03-13 15:18 androidme 阅读(269) 评论(0) 推荐(0) 编辑

[AndroidTips]startService与bindService的区别

摘要: Service的生命周期方法比Activity少一些,只有onCreate, onStart, onDestroy我们有两种方式启动一个Service,他们对Service生命周期的影响是不一样的。1 通过startService Service会经历 onCreate --> onStart stopService的时候直接onDestroy 如果是 调用者 直接退出而没有调用stopService的话,Service会一直在后台运行。 下次调用者再起来仍然可以stopService。2 通过bindService Service只会运行onCreate, 这个时候 调用者和Servi 阅读全文

posted @ 2012-03-13 13:32 androidme 阅读(3436) 评论(0) 推荐(1) 编辑

导航