
Android开发
mirror0750
这个作者很懒,什么都没留下…
展开
-
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 · 369 阅读 · 0 评论 -
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 · 548 阅读 · 0 评论 -
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 · 505 阅读 · 0 评论 -
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 · 414 阅读 · 0 评论 -
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 · 1156 阅读 · 0 评论 -
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 · 264 阅读 · 0 评论 -
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 · 244 阅读 · 0 评论 -
android 基站定位和gps定位个人体验
做一个小软件,要获取位置信息,然后就调用android的基站和gps定位。首先想到的是用gps定位,因为其准确性要高。后来果断放弃,不是因为不准,而是因为再室内环境中,根本无法获取坐标位置。使用基站定位,定位事件很快,基本上再1-2秒左右,精度还行(我的位置位于郑州市区)。以为这样可以大功告成。后在定位的基础上,加入轨迹追踪,就是将自己的轨迹路线画在mapview上。下班后,就开启原创 2012-08-15 17:47:13 · 1372 阅读 · 1 评论 -
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 · 1277 阅读 · 0 评论 -
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 · 471 阅读 · 0 评论 -
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 · 634 阅读 · 0 评论 -
android调用系统照相机和摄像头管理类
项目经常会使用到调用系统的照相机,所以将yixi原创 2014-09-23 10:26:12 · 1242 阅读 · 0 评论