摘要: $ ./ddms 16:23 D/ddms: Initializing16:23 E/ddms: shutting down due to uncaught exception16:23 E/ddms: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) at org.eclipse.swt.internal.Library.loadLibrary(Unknown 阅读全文
posted @ 2011-11-10 16:26 一根骨头棒子*熬的汤 阅读(1405) 评论(0) 推荐(0) 编辑
摘要: 转自http://blog.csdn.net/zhangchiytu/archive/2011/04/08/6310488.aspx谢谢他的共享让我很方便的学会了编译源码过程说明:这篇文章是介绍如何开发Android源码,包括各平台的源码而非仅仅Google释放的源码,我采用的是MSM7267.前提不需要SDK,不需要ADT,通过整个工程的编译都可以生成。为了在Eclipse中调试源码如Phone、MMS、Contact……由于以前都没接触过Java、Eclipse、ADT... 这些,在网上看了N多的文章,就这篇详细,所以贴出来共享,同时 加入了、自己在配置中 的TroubShooting。 阅读全文
posted @ 2011-11-10 16:19 一根骨头棒子*熬的汤 阅读(9047) 评论(0) 推荐(1) 编辑
摘要: 我们平时最经常使用的是sendBroadcast,就是把一个Intent广播出去。今天我在看wifi的时候,还发现了sendStickyBroadcast。官方文档是这样写的: public abstract void sendStickyBroadcast (Intent intent) Since: API Level 1 Perform a sendBroadcast(Intent) that is "sticky," meaning the Intent you are sending stays around after the broadcast is comp 阅读全文
posted @ 2011-11-10 15:35 一根骨头棒子*熬的汤 阅读(18725) 评论(1) 推荐(1) 编辑
摘要: 声明只能由此程序发送的特殊broadcast 阅读全文
posted @ 2011-11-10 15:17 一根骨头棒子*熬的汤 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 只用于安装在system image的packages。需要注意下 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.launcher" android:sharedUserId="@string/sharedUserId" > 这里package="com.android.launcher",产生的R.java就会在com.android.launcher中 <ori 阅读全文
posted @ 2011-11-10 14:55 一根骨头棒子*熬的汤 阅读(4005) 评论(1) 推荐(0) 编辑