2014年4月14日

Android Ubuntu 12.04 源码环境搭建

摘要: $ sudo apt-get install git gnupg flex bison gperf build-essential \ zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ libx11-dev:i386 libr... 阅读全文

posted @ 2014-04-14 17:57 sxse 阅读(836) 评论(0) 推荐(0) 编辑

2014年4月13日

ubuntu 12.04 关闭全局菜单

摘要: sudo apt-get remove indicator-appmenu 阅读全文

posted @ 2014-04-13 22:07 sxse 阅读(214) 评论(0) 推荐(0) 编辑

JDK安装

摘要: https://help.ubuntu.com/community/Java#Oracle_.28Sun.29_Java_6oracle java 6 jdk 64-bit $ wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.... 阅读全文

posted @ 2014-04-13 16:11 sxse 阅读(340) 评论(0) 推荐(0) 编辑

2013年1月23日

Gson与Jackson基准测试

摘要: 使用Gson官方实例,在Android2.2平台上运行的测试,# dalvikvm -cp data/app/com.tadevelop.sdk-2.apk com.tadevelop.sdk.ParseBenchmarkdalvikvm -cp data/app/com.tadevelop.sdk-2.apk com.tadevelop.sdk.ParseBenchmark 0% Scenario{vm=app_process, trial=0, benchmark=Parse, api=JACKSON_STREAM, document=TWEETS} 16814992.83 ns; 蟽=1 阅读全文

posted @ 2013-01-23 15:31 sxse 阅读(909) 评论(0) 推荐(0) 编辑

2013年1月20日

Gson基准测试

摘要: 使用Gson官方的基准测试代码运行了一下如下:0% Scenario{vm=java, trial=0, benchmark=Parse, api=JACKSON_STREAM, document=TWEETS} 315174.17 ns; σ=1279.77 ns @ 3 trials 8% Scenario{vm=java, trial=0, benchmark=Parse, api=GSON_STREAM, document=TWEETS} 317937.50 ns; σ=2252.69 ns @ 3 trials17% Scenario{vm=java, trial=0, benchm 阅读全文

posted @ 2013-01-20 16:39 sxse 阅读(297) 评论(0) 推荐(0) 编辑

2012年10月23日

关于Activity onNewIntent方法的调用时机

摘要: 在官方API上的说明如下:http://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent):protected voidonNewIntent(Intentintent)Since:API Level 1This is called for activities that set launchMode to "singleTop" in their package, or if a client used theFLAG_ACTIVITY_ 阅读全文

posted @ 2012-10-23 17:22 sxse 阅读(3887) 评论(0) 推荐(1) 编辑

导航