package com.gyarmy.takephoto; import java.io.File; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore; import android.app.Activity; import android.content.Intent; import android.hardware.Camera; import android.view.Menu; ...

阅读全文>>

package com.gyarmy.takephoto; import java.io.File; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore; import android.app.Activity; import android.content.Intent; import android.hardware.Camera; import android.view.Menu; ...

阅读全文>>

0x001 控件设置 加入VideoView控件 <VideoView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/vv" /> 0x002  设置activity的样式 要求横屏,并且 去掉 标题栏 <application android:allowBackup="true" a...

阅读全文>>

package com.gyarmy.musicplay; import java.io.IOException; import android.media.MediaPlayer; import android.media.MediaPlayer.OnErrorListener; import android.media.MediaPlayer.OnPreparedListener; import android.os.Bundle; import android.app.Activity; import android.text.TextUtils; import ...

阅读全文>>

package com.gyarmy.musicplay; import java.io.IOException; import android.media.MediaPlayer; import android.media.MediaPlayer.OnErrorListener; import android.os.Bundle; import android.app.Activity; import android.text.TextUtils; import android.view.Menu; import android.view.View; import ...

阅读全文>>

package com.gyarmy.setcloth; import android.os.Bundle; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; ...

阅读全文>>

package com.gyarmy.paintpic; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import android.media.MediaScannerConnection; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import andro...

阅读全文>>

package com.gyarmy.testcolor; import android.os.Bundle; import android.os.Environment; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.ColorMatrix; import android.graphics.ColorMatri...

阅读全文>>

package com.gyarmy.imgetest02; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; import android.os.Bundle; import android.os.Environment; import...

阅读全文>>

package com.gyarmy.imageTest; import java.io.IOException; import android.media.ExifInterface; import android.os.Bundle; import android.os.Environment; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.BitmapFactory...

阅读全文>>

package com.gyarmy.testFragment; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; impo...

阅读全文>>

package com.itheima.displaycontact; import android.app.Activity; import android.content.ContentResolver; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.view.View; public class MainActivity extends Activity { @Override protected void ...

阅读全文>>

package com.gyarmy.com; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.ContentResolver; import android.content.ContentValues; i...

阅读全文>>

代码测试,插入短信,删除短信 package com.gyarmy.insertsms; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.content.ContentResolver; import android.content.ContentValues; import android.view.Menu; import android.view.View; public class MainActiv...

阅读全文>>