自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 资源 (5)
  • 收藏
  • 关注

原创 隐藏标题栏

隐藏标题栏requestWindowFeature(Window.FEATURE_NO_TITLE);意思是不在活动中显示标题栏,注意这条代码放在setContentView()之前执行,否则会报错。

2015-06-17 10:57:08 495

原创 Android出现“R cannot be resolved to a variable"

检查:AndroidManifest.xml中paceage路径名与java源代码的包路径是否一直

2015-06-17 10:50:18 606

转载 Android横屏竖屏切换的问题

Android横屏竖屏切换的问题 一、禁止横竖屏转换:方法1:在AndroidManifest.xml中设置activity中的android:screenOrientation属性值:android:screenOrientation="portrait" 永远为竖屏显示android:screenOrientation="landscape",永远为横屏显示方法2:

2015-06-17 10:12:14 598

原创 Android项目之性别选择

package com.example.androiddemo;import android.app.Activity;import android.os.Bundle;import android.widget.RadioButton;import android.widget.RadioGroup;import android.widget.RadioGroup.OnChe

2015-06-16 23:08:36 11451

原创 Android项目密码框显示明文

package com.example.androiddemo;import android.app.Activity;import android.os.Bundle;import android.text.method.HideReturnsTransformationMethod;import android.text.method.PasswordTransformatio

2015-06-16 22:46:34 1424

原创 Android项目2之横屏和竖屏切换

xml代码http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >            android:id="@+i

2015-06-16 20:49:06 1177

转载 Android uses-permission权限列表中文注释版

Android有一个精心设计的安全模型。每一个应用都有其自己Linux用户和群组,在单独的进程和VM上运行,不能影响到其他应用,android同时也限定了系统资源的使用,像网络设备,SD卡,录音设备等。如果你的应用希望去使用任何系统资源,我们必须去申请Android的权限。这就是元素的作用。一个权限通常有以下格式,用一个名字为name 的字符串去指导我们希望使用的权限。如想要获得net

2015-06-16 20:34:59 455

原创 Android模拟器横屏和竖屏的切换快捷方式

Ctrl+F11或者Ctrl+F12

2015-06-15 23:15:02 665

原创 Android 学习项目1之简单运算器

>xml代码http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >            android:layo

2015-06-15 23:10:35 375

原创 Android 学习10之单击事件1

xml源代码:http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >            android:id="@

2015-06-15 22:17:58 400

原创 UE正常打开文本文件出现乱码解决方法

打开C:\Users\Administrator\Application Data\IDMComp\UltraEdit\Uedit32.ini将[Settings]中Auto Detect UTF8=1改成Auto Detect UTF8=0

2015-06-15 15:52:01 18322

原创 Android学习8之图片按钮ImageButton

http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">   android:id="@+id/info"  android:text="图

2015-06-14 22:06:32 334

原创 Android学习7之ImageView组件

http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">   android:id="@+id/cityinfo"  android:tex

2015-06-14 21:58:14 420

原创 Android学习6.2下拉列表二

xml代码:http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">   android:id="@+id/cityinfo"  and

2015-06-14 21:49:16 408

原创 Android学习6.1下拉列表一

http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">   android:id="@+id/cityinfo"  android:tex

2015-06-14 21:20:51 447

原创 Android学习5之RadioGrop单选框

http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">   android:id="@+id/encinfo"  android:text

2015-06-14 20:19:32 491

原创 Android学习4复选框checkbox组件

http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">   android:id="@+id/info"  android:text="您

2015-06-14 20:09:49 503

原创 Android学习3之EditText可编辑的文本框组件

http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">  该编辑框ID默认为选中 -->   android:id="@+id/m

2015-06-14 19:03:01 1424

原创 Android学习2控件之Button按钮组件

http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">  定义按钮的Id为mybutton1 宽度为整个容器的宽度 高度为文字高度

2015-06-14 18:58:40 709 1

原创 Android 学习控件1-TextView

http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">  定义文本框的Id为mytext1 宽度为整个容器的宽度 高度为文字高度

2015-06-14 18:54:23 422

原创 搭建Android开发环境出现错误“发现了以元素 'd:skin' 开头的无效内容。此处不应含有子元素”解决方案

问题描述:[2015-06-13 17:08:11 - Android SDK] Error when loading the SDK:Error: Error parsing D:\Android_SDK\android-sdk\system-images\android-22\android-wear\armeabi-v7a\devices.xmlcvc-complex-t

2015-06-13 17:14:33 1346

原创 Android开发出现”This text field does not specify an inputType or a hint“

编写文本输入框时以下写法出现黄色警告提示”This text field does not specify an inputType or a hint“         android:id="@+id/etActivityc"        android:layout_width="fill_parent"        android:layout_height="wrap

2015-06-12 10:15:16 545

原创 Android 更新SDK 出现问题:Download interrupted: URL not

androidURL not found。可以试下:启动 Android SDK Manager ,打开主界面,依次选择Tools、Options...在 HTTP Proxy Server 和 HTTP Proxy Port 输入框内填入mirrors.neusoft.edu.cn和80,并且选中 Force https:sources to be fetched using http:

2015-06-11 23:39:15 4240 2

转载 Eclipse下使用git和github

第一节:eclipse下安装git插件本节主要介绍 git 插件最常用的安装方法:1.1点击 Help->Install New Software->add。1.2输入插件名称(自定义),以及插件地址( http://download.eclipse.org/egit/updates/)。  1.3选择插件

2015-06-11 15:12:07 602

原创 MTK 缩减编译Android时间(对于Android系统也是生效的)

1.移除modules_to_check:修改方法:alps/build/core/main.mkfiles: prebuilt \$(modules_to_install) \$(modules_to_check) \$(INSTALLED_ANDROID_INFO_TXT_TARGET)修改为:files: prebuilt \$(modules_to_inst

2015-06-11 14:57:43 1099

转载 MT6582 KK版本加入modem

1. modem编译./make.sh XXX.mk new2. modem文件拷贝通常应该把编译生成的modem文件放在mediatek/custom/common/modem目录下,例如:mediatek/custom/common/modem/XXX/然后将modem文件拷贝到这个目录下,拷贝之前需要对modem文件重命名,关于重命名规则可以参考ReleaseNote

2015-06-04 11:17:14 555

转载 Eclipse常用的快捷方式

Eclipse常用的快捷方式1. Ctrl+左键 这个是大多数人经常用到的,用来查看变量、方法、类的定义2. Ctrl+O 查看一个类的纲要,列出其方法和成员变量。提示 :再多按一次Ctrl+O ,可以列出该类继承的方法和变量。助记 :"O"--->"Outline"--->"纲要"3. Ctrl+T 查看一个类的继承关系树,是自顶向下的,再多按

2015-06-03 14:23:44 436

src for cas-4.0.0.rar

cas-server-4.0.0缺失的src文件。将其解压至cas4.0官方源代码下cas-4.0.0\src。

2018-02-01

Centos 6配置静态IP地址后无法上网的情况

会出现配置静态IP地址后,再次重启后会出现ip地址没有配置成功,但是使用dhclient命令后,静态ip地址又成功了。解决该问题方法

2017-12-16

IntelliJ IDEA 2017.1.3汉化文件

首先设置软件编码File -> Settings -> Appearance&Behavior; -> Appearance -> 选中Override default fonts by(not recommended) Name: Microsoft YaHei (选择任意中文字体) 后将resources_cn.jar拷贝到idea安装目录,即可完成idea的汉化,本人测试结果

2017-12-14

eclipse4.5远程调试hadoop2.7.4依赖包

eclipse远程调试出现Exception in thread “main” java.lang.UnsatisfiedLinkError,eclipse4.5远程调试hadoop2.7.4依赖包 ,方法 将匹配的hadoop.dll、winutils.exe、libwinutils.lib拷贝到C:\Windows\System32 详情见:http://blog.csdn.net/u012425536/article/details/78771904

2017-12-11

基于Qt的多窗口设计-窗体切换的实现.pdf

基于Qt的多窗口设计-窗体切换的实现

2013-10-13

空空如也

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

TA关注的人

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