用BitmapFactory获取适合屏幕大小的图片 和自带的图片裁剪工具
package com.lin.image;import android.app.Activity;import android.content.Intent;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import .Uri;import android.os.Bundle;import android.view.View;import android.widget.Button;import android.widget.ImageView;public class ImageScaleActivity extends Activity implements View.OnClickListener{/** Called when the activity is first created. */private Button selectImageBtn;private Button cutImageBtn;private ImageView imageView;private static final int IMAGE_SELECT=1;private static final int IMAGE_CUT=2;@Overridepublic void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);