- 博客(13)
- 资源 (1)
- 收藏
- 关注
原创 Android自定义的照相机操作类
import java.io.IOException;import android.annotation.SuppressLint;import android.content.Context;import android.graphics.PixelFormat;import android.hardware.Camera;import android.hardwar
2014-09-23 10:19:11
543
原创 Android的activity管理类
import java.util.LinkedList;import java.util.List;import android.app.Activity;/** * 建议将刚方法在Application中写入 * @author mirror wang * */public class AppConfig {private List activityL
2014-09-23 10:14:57
502
原创 android图片手势缩放
public class MulitPointTouchListener implements OnTouchListener { // These matrices will be used to move and zoom image Matrix matrix = new Matrix(); Matrix savedMatrix = ne
2012-10-22 16:23:34
367
原创 android 基站定位和gps定位个人体验
做一个小软件,要获取位置信息,然后就调用android的基站和gps定位。首先想到的是用gps定位,因为其准确性要高。后来果断放弃,不是因为不准,而是因为再室内环境中,根本无法获取坐标位置。使用基站定位,定位事件很快,基本上再1-2秒左右,精度还行(我的位置位于郑州市区)。以为这样可以大功告成。后在定位的基础上,加入轨迹追踪,就是将自己的轨迹路线画在mapview上。下班后,就开启
2012-08-15 17:47:13
1368
转载 android 使用sqlite
main.xmlandroid:id="@+id/AbsoluteLayout1"android:layout_width="fill_parent"android:layout_height="fill_parent"xmlns:android="http://schemas.android.com/apk/res/android"> android
2012-07-09 09:49:16
240
转载 android 使用sqlite
main.xmlandroid:id="@+id/AbsoluteLayout1"android:layout_width="fill_parent"android:layout_height="fill_parent"xmlns:android="http://schemas.android.com/apk/res/android"> android
2012-07-09 09:48:25
262
原创 android 获取gps位置并标注
android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > android:id="@+id/mapview" android:layout_width="fill_parent"
2012-07-07 15:33:55
624
原创 android 使用gps获取经纬度
android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > android:layout_width="fill_parent" android:layout_height="wrap_content
2012-07-07 11:06:23
469
原创 android获取本机号码,版本号,手机型号
getResult = (TextView)findViewById(R.id.get_result); //获取自己手机号码 TelephonyManager phoneManager = (TelephonyManager)this.getSystemService(Context.TELEPHONY_SERVICE); String getPhone = ph
2012-07-05 13:27:00
1270
原创 android调用系统图库及系统照相机,打电话
废话不多说 程序贴上 android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > android:layout_height="wrap_content"
2012-07-05 11:28:59
1147
原创 android 调用c# webservice
//请求服务SoapObject rpc = new SoapObject(NAMESPACE, METHOD_NAME);//发送请求条件 rpc.addProperty("id", id); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
2012-07-05 11:25:15
412
原创 c# byte数组转存本地图片
public string getImageByte(Byte [] getByte) { DateTime dt = DateTime.Now; string sFile = dt.ToShortDateString().ToString();//2005-11-5 String file = "/
2012-07-05 11:23:46
1527
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人