11 2011 档案

摘要:加快 Ubuntu wine 速度由于 X locale 的问题, 默认 wine 会轮询 x core fonts ,使得 Ubuntu wine 很慢,请先执行:: sudo sed -i -e '/GBK/,/^}/d' /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE如果发现wineserver和winemenubuilderwine的将近100%的CPU,可以通过下面的方式来解决: 找到并打开user.reg,查找[Software\\Wine\\MenuFiles],将其所有包含乱码的子项目删除,杀掉所有wine进程(pkil 阅读全文
posted @ 2011-11-24 14:24 一根骨头棒子*熬的汤 阅读(1290) 评论(0) 推荐(0)
摘要:ssh username@hostnohup yes > /dev/null &exit 阅读全文
posted @ 2011-11-19 22:31 一根骨头棒子*熬的汤 阅读(167) 评论(0) 推荐(0)
摘要:有Handfree Profile(HFP)和Headset Profile(HSP)两大派别,决定耳机与手机的兼容性。前者意指免提功能、后者代表耳机功能。http://zh.wikipedia.org/wiki/%E8%97%8D%E8%8A%BD 阅读全文
posted @ 2011-11-17 20:41 一根骨头棒子*熬的汤 阅读(822) 评论(0) 推荐(0)
摘要:最近看了下,Android statusbar的代码。整体结构如下:* 系统statusbarService的启动1 开机流程中,注册服务:Slog.i(TAG, "Status Bar");statusBar = new StatusBarManagerService(context);ServiceManager.addService(Context.STATUS_BAR_SERVICE, statusBar);其中,StatusBarManagerService构造函数中,初始化了可显示的icon类别。mIcons.defineSlots(res.getStringA 阅读全文
posted @ 2011-11-15 14:34 一根骨头棒子*熬的汤 阅读(3836) 评论(0) 推荐(0)
摘要:ERI Extended Roaming IndicatorsPRL Preferred Roaming ListPRL is a set of RF channels on which to search for service and the description of systems that can be found on those channels. OrPRL is a list of mobile network systems that a mobile device is allowed to access and the frequencies on which the 阅读全文
posted @ 2011-11-15 10:17 一根骨头棒子*熬的汤 阅读(2643) 评论(0) 推荐(0)
摘要:<!-- Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus. --> <attr name="descendantFocusability"> <!-- The ViewGroup will get focus before any of its descendants. --> <enum name="beforeDescendants" value=& 阅读全文
posted @ 2011-11-14 12:04 一根骨头棒子*熬的汤 阅读(1374) 评论(0) 推荐(0)
摘要:SIP电话,SIP是IETF的一个标准,全称会话初始协议(Session Initiation Protocol),它构建于IP网络,它是一个基于文本(XML)的应用层控制协议,独立于底层传输协议TCP/UDP/SCTP,用于建立、修改和终 止IP网上的双方或多方多媒体会话。SIP协议借鉴了HTTP、SMTP等协议,支持代理、重定向及登记定位用户等功能,支持用户移动。通过与 RTP/RTCP、SDP、RTSP等协议及DNS配合,SIP支持语音、视频、数据、E-mail、状态、IM、聊天、游戏等。SIP协议可在TCP或 UDP之上传送,由于SIP本身具有握手机制,可首选UDP。android 2 阅读全文
posted @ 2011-11-14 11:56 一根骨头棒子*熬的汤 阅读(565) 评论(0) 推荐(0)
摘要:android.R.styleable#AndroidManifestApplication_allowClearUserData<!-- Option to let applications specify that user data can/cannot be cleared. This flag is turned on by default. <em>This attribute is usable only by applications included in the system image. Third-party apps cannot use it.&l 阅读全文
posted @ 2011-11-14 10:44 一根骨头棒子*熬的汤 阅读(973) 评论(0) 推荐(0)
摘要:此功能是与呼叫保持、呼叫等待功能配合使用的。开通后,可同时接通朋友A和B两个电话,并且A、B之间双方也能听到对方的谈话,实现三方会谈。 在A与B用户通话过程中,又有C用户呼叫A用户,此时A用户按“拨出键”接通C,A与C通话,在B没有挂断通话的情况下,A用户按“拨出键”进行AB、AC间通话切换,但不能进行三方通话(会议)。 在A与B用户通话过程中,A用户输入C用户号码再按“拨出键”,待C用户接听后,再按“拨出键”,即可进入ABC三方通话。 阅读全文
posted @ 2011-11-14 10:25 一根骨头棒子*熬的汤 阅读(840) 评论(0) 推荐(0)
摘要:最近看了下网络时间同步,总结一下。整体描述:android网络时间同步使用NITZ(Network identity and Time Zone)运营商可选服务。由Ril层主动上报RIL_UNSOL_NITZ_TIME_RECEIVED消息;通知(notify)给CdmaServiceStateTracker和GsmServiceStateTracker;CdmaServiceStateTracker获得网络同步时间,根据DateTimeSetting中自动同步设置,决定是否同步和发送(ACTION_NETWORK_SET_TIMEZONE、ACTION_NETWORK_SET_TIME)广播 阅读全文
posted @ 2011-11-14 10:16 一根骨头棒子*熬的汤 阅读(14203) 评论(0) 推荐(1)
摘要:About emergency calls and Emergency Callback ModeIf you are outside of a wireless coverage area and the SOS wireless coverage indicator appears at the top of the screen, you can call only emergency numbers. Your BlackBerry® device is designed to allow emergency calls even when your device is lo 阅读全文
posted @ 2011-11-11 14:15 一根骨头棒子*熬的汤 阅读(886) 评论(0) 推荐(0)
摘要:其中R-UIM only/机卡分离; NV only/就是机卡一体;R-UIM if avail/机卡一体机卡分离兼容---插卡开机就是机卡分离---不插卡开机就是机卡一体由于ascend(m860)这台机器是没有UIM卡的,国外CDMA的网络信息都是烧在NV里。而咱的C8600是读UIM卡的,所以在需要重新读取网 络信息时,以前的CM7ROM会从NV中读取,因为信息不正确从而导致需要激活。所以在设置里增加了一个RUIM和NV切换的开关。在选择RUIM后,网 络信息都是从UIM卡读取,从而解决了激活问题。 阅读全文
posted @ 2011-11-11 12:03 一根骨头棒子*熬的汤 阅读(3122) 评论(0) 推荐(0)
摘要:通过下面命令显示所有寄存器内容:::reg其中注意两个特殊的寄存器:”* 和 “+。这两个寄存器是和系统相通的,前者关联系统选择缓冲区,后者关联系统剪切板。通过它们可以和其他程序进行数据交换。备注:若寄存器列表里无”* 或 “+ 寄存器,则可能是由于没有安装vim的图形界面所致。Debian/Ubuntu下可以通过安装vim-gnome解决。$ sudo apt-get install vim-gnome选择缓冲区和剪切板不同于Windows,Linux系统里存在两个剪切板:一个叫做选择缓冲区(X11 selection buffer),另一个才是剪切板(clipboard)。选择缓冲区是实时 阅读全文
posted @ 2011-11-11 10:58 一根骨头棒子*熬的汤 阅读(2858) 评论(0) 推荐(0)
摘要:$ ./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 一根骨头棒子*熬的汤 阅读(1415) 评论(0) 推荐(0)
摘要:声明只能由此程序发送的特殊broadcast 阅读全文
posted @ 2011-11-10 15:17 一根骨头棒子*熬的汤 阅读(745) 评论(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 一根骨头棒子*熬的汤 阅读(4035) 评论(1) 推荐(0)