- 浏览: 49607 次
最新评论
文章列表
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a ...
if (id == SERVER_ADDR_UPDATE_DIALOG) {
LayoutInflater factory = LayoutInflater.from(this);
final View textEntryView = factory.inflate(R.layout.server_addr_update, null);
return new AlertDialog.Builder(TraceMe.this)
.setIcon(R.drawable.alert_dialog_icon)
...
<FrameLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="@drawable/bg"
xmlns:android="http://schemas.android.com/apk/res/android" style="@style/fullscreen">
<ViewFlipper android:id="@+ ...
<FrameLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="@drawable/bg"
xmlns:android="http://schemas.android.com/apk/res/android" style="@style/fullscreen">
<ViewFlipper android:id="@+ ...
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a ...
package com.jleo;
import java.io.UnsupportedEncodingException;
import java.net.URISyntaxException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
impor ...
package com.jleo;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.AnimationUtils;
import android.view. ...
package com.jleo;
import java.text.SimpleDateFormat;
import java.util.Date;
import android.app.Activity;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.view.View;
import an ...
package com.jleo;
import java.io.UnsupportedEncodingException;
import java.net.URISyntaxException;
import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import andr ...
package com.jleo;
public class Authenicator implements Runnable {
public LoginAction loginAction;
@Override
public void run() {
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
e.printStackTrace();
}
loginAction.onAuthenicateSuccess();
}
public Authen ...
package com.jleo;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
public abstract class Action {
public void setActivity(Activity activity) {
this.activity = a ...
如果你看中了它,那么不妨再等等,因为你还可以考虑未上市的“它”。
● HTC Hero的代替者 HTC Legend
HTC Hreo也被称为G3,是为了说明这是第三款Android机型,也是去年第四度之前最高端的Android手机。HTC Hero采用了高通MSM7200 ...
<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="horizontal">
<CheckBox android:layout_width="wrap_content"
android:layout_height="wrap_content" android:checked=" ...
public void apply(Activity activity){
apply(activity,null);
}
public void apply(Activity activity, Action precedentAction){
this.setActivity(activity);
this.precedentAction = precedentAction;
activity.setContentView(getViewId());
apply();
}