自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 资源 (1)
  • 收藏
  • 关注

原创 Some thing about android:visibility

Quote: http://blog.csdn.net/chindroid/article/details/8000713android:visibility="visible"  android:visibility="invisible"android:visibility="gone"

2013-08-22 10:48:16 719

转载 what is the purpose of using translatable in Android strings?

引用: http://stackoverflow.com/questions/3925072/what-is-the-purpose-of-using-translatable-in-android-stringsThis attribute points out that this attribute will be the same for all locales. Why

2013-07-25 17:44:31 825

转载 android BOOT_COMPLETED 失败

From: http://www.trinea.cn/android/android-boot_completed-not-work/comment-page-1/#comment-122Android应用如何开机自启动、自启动失败原因本文主要介绍Android应用如何开机自启动、自启动失败的原因、adb命令发送BOOT_COMPLETED。问题:应用程序是否可

2013-06-18 14:25:49 2037

转载 Android应用开发中的风格和主题(style,themes)

Android应用开发中的风格和主题(style,themes)      越来越多互联网企业都在Android平台上部署其客户端,为了提升用户体验,这些客户端都做得布局合理而且美观.......Android的Style设计就是提升用户体验的关键之一。Android上的Style分为了两个方面:Theme是针对窗体级别的,改变窗体样式;Style是针对窗体元素级别的,改变指定控件或者

2013-06-08 23:06:22 708

转载 android:layout_weight android:weightSum

引用:http://www.cnblogs.com/alpha-bowen/archive/2011/03/02/1969343.htmlandroid中layout_weight的理解  SDK中的解释Indicates how much of the extra space in the LinearLayout will be allocated to

2013-06-05 11:49:50 3957 1

原创 android:configChanges

android:configChangesLists configuration changes that the activity will handle itself. When a configuration change occurs at runtime, the activity is shut down and restarted by default, but declarin

2013-06-04 23:54:05 675

原创 Eclipse 使用小技巧(持续更新)

一、 打开当前文件所在目录eclipse打开当前文件所在文件夹的插件Run-->External Tools-->External Tools Configurations...new 一个 programlocation 里面填 :C:/WINDOWS/explorer.exeArguments 里面填: ${container_loc} 二、快捷键ctrl +

2013-06-04 14:36:09 631

原创 android:layout_marginLeft android:paddingLeft android:layout_gravity android:gravity

相信你一看就懂:android:layout_marginLeftSpecifies extra space on the left side of this view. This space is outside this view's bounds.  指的是控件本View 相对于外部控件的一个偏移量。android:paddingLeftSets the pa

2013-06-03 18:48:38 973

原创 关于shap gradient 属性参数

android:shape="rectangle" >    android:endColor="#000000"android:startColor="#ffffff"android:type="radial"android:gradientRadius="200"android:centerX="0.5"android:centerY="0.5"/>

2013-06-03 17:54:31 1421

转载 [FAQ03127] 当修改一些代码时,使用什么编译命令可以最有效率

From MTK on-line:[DESCRIPTION]       当修改一些代码时,使用什么编译命令可以最有效率[SOLUTION]1: ./mk n(r) kernel; ./mk bootimage;当修改kernel相关代码时,要使用此命令,具体如下:     alps/kernel/     alps/mediatek/platform/mt65xx/k

2013-05-14 14:19:28 643

原创 android多国语言文件夹文件汇总

中文(中国):values-zh-rCN中文(台湾):values-zh-rTW中文(香港):values-zh-rHK英语(美国):values-en-rUS英语(英国):values-en-rGB英文(澳大利亚):values-en-rAU英文(加拿大):values-en-rCA英文(爱尔兰):values-en-rIE英文(印

2013-05-14 10:34:28 708

原创 [unix2dos/tofrodos]: [FAIL] 问题

new 工程的时候出现环境检测fail, 如下:**********checking Env************Please check your building environment First![unix2dos/tofrodos]: [FAIL] The detail information is in "checkenv.log"!***

2013-05-13 20:48:15 2864

转载 关于ubuntu 无法正常显示android真机

连接android 真机到ubuntu 上,出现无法正常识别,显示???????解决方法参考如下:http://www.linuxidc.com/Linux/2011-12/50629.htm 今天测试程序,在虚拟机上运行出问题,于是用真机来测试,但是发现Ubuntu下不认。。调用./adb devices显示如下。。结果无法用真机测试。List of device

2013-05-13 15:11:45 739

原创 关于获取 android system feature 失败问题

做一了个Torch 小应用,在采用如下方式判断系统是否支持闪光灯时返回false。hasFlash = getApplicationContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_FLASH);系统中的permission 和 feature 定义在工程如下文件:1.

2013-04-27 16:33:09 1199

转载 从Git仓库中恢复已删除的分支、文件或丢失的commit

From: http://sumsung753.blog.163.com/blog/static/146364501201301711943864/在使用Git的过程中,有时可能会有一些误操作比如:执行checkout -f 或 reset -hard 或 branch -d删除一个分支结果造成本地(远程)的分支或某些commit丢失可以通过reflog来进行恢复,前提是丢失的

2013-04-22 18:25:32 2034 1

转载 关于 前置摄像头安装0度或者180度

[DESCRIPTION] 前置摄像头安装0度或者180度,切换到前置摄像头,camera提示强行关闭[ANALYSE]从复现问题的main log来看有如下几点:1.    AndroidRuntime: java.lang.RuntimeException: startPreview failed2.    Required preview size 是3:4,不是4:

2013-04-16 16:45:36 3530

原创 ubuntu9.10 Install ncurses (ncurses-devel) and try again 问题

make menuconfig 时出现*** Unable to find the ncurses libraries or the*** required header files.*** 'make menuconfig' requires the ncurses libraries.****** Install ncurses (ncurses-devel) and tr

2013-02-24 21:08:38 919

原创 Linux find 和 grep 命令混用

1. 使用 exec find . -name 'checkenv.log' 2>/dev/null  -exec grep "gcc" {} -H \;2>/dev/null 重定向输出错误, -H 输出文件名路径。 2.使用xargsfind . -name 'checkenv.log' 2>/dev/null | xargs grep "gcc" -H

2013-01-11 11:05:32 605

转载 linux查找文件命令find 之使用

转载: http://blog.csdn.net/ydfok/article/details/1486451Author: ydfok每一种操作系统都是由成千上万个不同种类的文件所组成的。其中有系统本身自带的文件,用户自己的文件,还有共享文件等等。我们有时候经常忘记某份文件放在硬盘中的哪个地方。在微软的WINDOWS操作系统中要查找一份文件是相当简单的事

2013-01-11 10:37:10 920

转载 在ubuntu 10.04 解压飞凌 uboot1.1.6_FORLINX_6410.tgz 出现错误

在ubuntu 用命令 tar -zxvf uboot1.1.6_FORLINX_6410.tgz 解压 winxp F盘下的 uboot1.1.6_FORLINX_6410.tgz。 出现以下问题:tar: tools/environment.c: Cannot create symlink to `../common/environment.c': Operation not suppor

2013-01-08 10:22:21 968

转载 【转】void 及 void*

From: http://hi.baidu.com/norzqsottnnqtur/item/30a0cd1a78a13d051894ecf4 void关键字的使用规则:             1. 如果函数没有返回值,那么应声明为void类型;             2. 如果函数无参数,那么应声明其参数为void;             3. 如果函数

2012-11-16 00:45:29 558

原创 OK6410 GPIO 控制LED 亮灭代码

init.s 如下:;程序源码;IMPORT Main;AREA|C$$code|, CODE,READONLY ; global start;start; bl Main;END; 网上源码; 注意这里指令前面不要顶格写,否则编译通过不了(IMPORT AREA 是指令?),还有就说这个init.s文件不是必须;的,

2012-08-16 23:11:04 1362

转载 转 : linux kill 无效原因

From: http://blog.chinaunix.net/space.php?uid=20682147&do=blog&id=76302做过Linux开发的人通常遇到过一个进程不能kill掉的情况,即使使用的是kill -9方式,而一般的教课书都只说kill -9能杀死任何进程,遇到这种情况时就会感觉到很矛盾,其它这也是正常的,通常有两种情况是不能kill掉的:一是进程已经成为僵

2012-07-12 00:48:30 3991

转载 收藏老文章 Linux下ps查找进程用kill终止命令

FROM: http://os.51cto.com/art/200905/125605.htm首先,我们需要使用linux下另外一个ps命令查找与进程相关的PID号:ps aux | grep program_filter_word ps a 显示现行终端机下的所有程序,包括其他用户的程序。 ps -A 显示所有程序。 ps c 列出程序时,显示每个程序真正的指令名称,

2012-07-12 00:46:15 1306

转载 摘转 linux 目录表示方法“.” &“..”

From: http://blog.csdn.net/zlc19876/article/details/6117842根目录、当前目录、上一层目录和Windows很像,根目录用"/"表示,当前目录用"."表示,当前目录的上一层目录用".."表示。每个目录都至少有"." ".."这两个隐含文件。在Linux中,目录是文件之一,Linux系统的文件类型除了目录(d)之外,还有普通文件(

2012-07-12 00:41:30 948

转载 转个 ubuntu 9.10 软件源 解决vsftpd 找不到问题

转:http://hi.baidu.com/swgweb/blog/item/fb8d5882f18a0fa80df4d265.htmlhttp://wiki.ubuntu.org.cn/index.php?title=Template:9.10source&variant=zh-cn 给大家提供几个UBUNTU9.10的更新源,大家可以按照自己的网络选择! 修改ubuntu更新源

2012-07-12 00:38:04 878

转载 转: Ubuntu 软件源分类

转:http://www.cnblogs.com/cnlox/archive/2009/01/01/1419414.html 1.分清软件组件的概念  Ubuntu软 件仓库包含成千上万个软件包,它们按照提供的功能和是否符合自由软件哲学被分成四类组件,即“main”(官方支持)、“restricted”(设备的 专有驱动)、“universe”(社区维护)和“multiverse”(非

2012-07-12 00:37:42 1022

转载 转记 memset的正确用法

FROM:http://www.cnblogs.com/whusl/archive/2011/07/14/2345790.html      【起因】希望对各种类型的数组进行初始化,避免野值      【函数头文件】 提示:在linux中可以在terminal中输入 "man memset"进行查询        #include        void

2012-07-12 00:37:02 1614

NTBOOTautofix.v2.0.2(系统修复).rar

NTBOOTautofix.v2.0.2(系统修复).rar

2012-12-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除