- 浏览: 31557 次
- 性别:
- 来自: 深圳
-
最近访客 更多访客>>
最新评论
-
songhaikang:
...
lockscreen plmn.txt -
lattimore:
什么东东!
lockscreen plmn.txt
文章列表
import java.io.File;
public class DeleteSvn {
/**
* @param args
*/
public static void main(String[] args) {
String a = args[0];
if (a == null || a.trim().length() == 0) {
System.out.println("input error args.");
return;
}
...
java.util.concurrent.ScheduledExecutorService exetutor=Executors.newScheduledThreadPool(1);
exetutor.scheduleAtFixedRate(arg0, arg1, arg2, arg3);
exetutor.shutdownNow();
android.util.Log.i("","");
try {
IPowerManager power = IPowerManager.Stub.asInterface(
ServiceManager.getService("power"));
if (power != null) {
power.setBacklightBrightness(brightness);
}
} catch (RemoteException doe) {
...
if(SystemProperties.get("EXTERNAL_STORAGE_VIRTUAL_STATE").trim().equals("virtual")&&
SystemProperties.get("EXTERNAL_SD_STATE").trim().equals("insert")){
系统中所有对话框,默认布局方式都是居中显示,如果想自定义显示位置可以考虑如下方式:
……
Window mWindow = d ...
try {
if(RingtoneManager.getActualDefaultRingtoneUri(context, RingtoneManager.TYPE_RINGTONE).toString().trim().equals("")||
RingtoneManager.getActualDefaultRingtoneUri(context, RingtoneManager.TYPE_RINGTONE).toString()==null){
RingtoneManager.setActualDefaultRingtoneUri( ...
// Uri uri=Notes.CONTENT_URI;
// ContentValues values=new ContentValues();
// values.put(Notes._ID, 1);
// values.put(Notes.TITLE, (String) getText(R.string.message));
// values.put(Notes.NOTE, R.string.message);
// values.put(Notes.CREATED_DATE, R.string.mes ...
// 加载需要操作的图片,这里是eoeAndroid的logo图片
Bitmap bitmapOrg = BitmapFactory.decodeResource(context.getResources(),
id);
//获取这个图片的宽和高
int width = bitmapOrg.getWidth();
int height = bitmapOrg.getHeight();
Matrix matrix = new Matrix();
//旋转图片 动作
matr ...
setdata
Intent intent = new Intent();
intent.setClass(Bmi.this, Report.class);
Bundle bundle = new Bundle();
bundle.putString("KEY_HEIGHT", field_height.getText().toString());
intent.putExtras(bundle);
start ...
android:windowSoftInputMode="stateVisible|adjustResize"
android:theme="@android:style/Theme.NoTitleBar"
android:configChanges="orientation|keyboardHidden"
android:theme="@style/Theme.CustomDialog"
...