自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

转载 cocos2dx ios 屏幕适配

CGRect r = [window bounds]; CGFloat height=r.size.height; CGFloat width=r.size.width; float ourHeight=960.0f; float ourWidth=640...

2014-05-23 09:19:00 297

转载 android 动态注册广播

1注册广播 private BroadcastReceiver MyBroadcastReceiver = null; IntentFilter intentFilter = new IntentFilter(); intentFilter.addActio...

2013-07-11 10:06:00 176

转载 android 圆形 ImageView

import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.Canvas; ...

2013-07-11 09:07:00 128

转载 afinal使用指南

初学安卓,同事有建议一个安卓开发框架afinal 使用如下,从官网下载zip包后解压到本地 1新增一个安卓开发项目 2右键这个项目-选择Propertise-Java Build Path -Libraies 点击Add External JARs-选择afinal-master\bin\a...

2013-07-10 11:34:00 166

转载 华为信息机开发

公司最近买了一台信息机,自动发短信的那种,一个黑盒子。 主管给了我一个压缩包,里面包含 一个dll和一个相关文档 dll没法在C#下直接用 是C++的dll 按照文档的写法 一直会出现一个错误 “在异步运行时,操作不能被执行。” 这个错误是被记录在log文档里的,看起来就是dll内...

2013-07-10 11:34:00 143

转载 android 取得webservice数据

try{ String SERVER_URL = "http://192.168.10.33:81/MobileService/MSServiceQuery.asmx/HPReadQueryPhone"; HttpPost request = new HttpPost(SERVE...

2013-07-10 11:31:00 139

转载 android程序调用asmx页面

1导入ksoap2-android-assembly-2.4-jar-with-dependencies.jar 2加入上网权限: 3导入包 import org.ksoap2.SoapEnvelope;import org.ksoap2.serialization.SoapO...

2013-07-10 11:31:00 169

转载 Webservice返回json设置

一 、服务器端设置 1.修改web.config 在web.config里面的的system.Web节点添加 <webServices> <protocols> <add name= "HttpPost"...

2013-07-10 11:29:00 328

转载 android 边框圆角

1在drawable目录里定义一个xml: <?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" &gt...

2013-07-10 11:26:00 84

转载 Anroid ListView嵌套ListView

将底层的Listview重写即可 public class MyListView extends ListView { public MyListView(Context context, AttributeSet attrs) { sup...

2013-07-10 11:26:00 149

转载 数据库字符左侧加空格

Space(4-DATALENGTH(@lsh))+@lsh @lsh为字符型 转载于:https://my.oschina.net/gaoxiang303/...

2013-07-10 11:25:00 230

转载 android使用透明色

半透明<Button android:background="#e0000000" ... /> 透明<Button android:background="#00000000" ... /> ...

2013-07-10 11:25:00 230

转载 MSSQL取得时间戳

SELECT datediff(ss,'1970-01-01',GETDATE()) 转载于:https://my.oschina.net/gaoxiang303/blog/143722...

2013-07-10 11:24:00 830

转载 android listview 点击事件失效

在item根目录写 android:descendantFocusability="blocksDescendants" 转载于:https://my.oschina.ne...

2013-07-10 11:24:00 142

转载 android 弹出输入法

InputMethodManager m=(InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); m.toggleSoftInput(0, InputMethodManager.HIDE_NOT_ALWAY...

2013-07-10 11:23:00 110

空空如也

空空如也

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

TA关注的人

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