自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 SMS receiver

public class SMSReceiver extends BroadcastReceiver{ private ToastDeal deal = new ToastDeal(); public SMSReceiver() { } public void onReceive(Context contex...

2012-04-26 09:11:24 807

原创 Timmer

private Handler hd = new Handler() { @Override public void handleMessage(Message msg) { // TODO Auto-generated method stub // 要做的事情 ...

2012-04-24 17:44:10 89

原创 auto scroll scrollview

private void autoScroll() { this.scrollView = (ScrollView) findViewById(R.id.contentAreasss);//scroll对象 this.mlayout = (LinearLayout) findViewById(R.id.contentArea);//scrollVie...

2012-04-24 15:49:32 173

原创 来电监听

public class PhoneStatReceiver extends BroadcastReceiver{ ...

2012-04-19 17:56:37 79

原创 GrodView

public void downloadAppURL(final APPOperation operation, LinearLayout layout){ final LayoutInflater inflater = (LayoutInflater) this.getSystemService(LAYOUT_INFLATER_SERVICE); llayo...

2012-04-19 10:21:14 96

原创 turning phone

package com.huawei.voice.activity;import android.app.Activity;import android.content.Context;import android.hardware.Sensor;import android.hardware.SensorEvent;import android.hardware.Sensor...

2012-04-18 17:26:10 117

原创 service

public class AskService extends Service{ public class SimpleBinder extends Binder { /** * 获取 Service 实例 */ public AskService getService() {...

2012-04-18 16:45:50 51

原创 shanke

public class ShakeActivity extends Activity implements SensorEventListener{ private SensorManager sensorManager; private ToastDeal deal = new ToastDeal(); private long mLa...

2012-04-16 16:57:48 132

原创 android手机已安装软件列表-packages List

public ArrayList getInstalledApps(boolean getSysPackages) { ArrayList res = new ArrayList(); List packs = getPackageManager().getInstalledPackages(0); f...

2012-04-16 10:08:43 935

原创 location2

location = (Location)getApplication(); mLocClient = location.mLocationClient; location.mTv = mTv; setLocationOption(); mLocClient.start(); private v...

2012-04-13 11:49:35 152

原创 location

public class Location extends Application { public LocationClient mLocationClient = null; private String mData; public MyLocationListenner myListener = new MyLocationListenner(); TextView mTv;...

2012-04-13 11:47:32 101

原创 cilent

private static final int REQUEST_TIMEOUT = 20*1000;//设置请求超时10秒钟 private static final int SO_TIMEOUT = 20*1000; //设置等待数据超时时间10秒钟 public static String encode(String URL) { Strin...

2012-04-13 11:34:53 293

空空如也

空空如也

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

TA关注的人

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