- 博客(7)
- 收藏
- 关注
原创 iOS 判断屏幕是否锁屏
测试环境:iOS6.1 device:iphone5获取锁屏方式区分为2种方式:第一种(需越狱):if ([[objc_getClass("SBAwayController") sharedAwayController] isLocked]) { NSLog(@"double check Home ,now YES Lock"); } else{
2013-04-27 16:11:29 4178
原创 解决Android源码编译后网页中无法正确显示GIF图片的问题
在webkit解析GIF图片的时候会调用解析GIF的库,然后在ImageSourceAndroid.cpp (external/webkit/WebCore/platform/graphics/android/ImageSourceAndroid.cpp)类中存在如下方法:#ifdef ANDROID_ANIMATED_GIF// we only animate small GI
2011-11-23 10:26:54 1147
原创 Could not establish smart card context
Could not establish smart card contextret = SCardEstablishContext(SCARD_SCOPE_SYSTEM, NULL, NULL, &scard->ctx); if (ret != SCARD_S_SUCCESS) { wpa_printf(MSG_WARNING, "SCARD: Could no...
2011-01-26 19:53:16 148
原创 Failed to initialize SIM (pcsc-lite)
Failed to initialize SIM (pcsc-lite)I am trying to test EAP-SIM. using wpa supplicant 0.6.1.I have following supplicant.conf file entry.-----------------------start----------------------------...
2011-01-25 17:40:50 289
原创 Layout XML配置文件中控件无法正常显示
<br />今天在学习Android中,在XML中写入了如下代码:<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" > <EditText android:id="
2010-10-07 00:16:00 1210 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人