所有在手機圖庫(Google Phone Gallery)的手機包括Android市場, 谷歌搜索和其他谷歌手機服務, 如Gmail, 地圖和YouTube.
可以很容易地並排比較手機: 用戶可以過濾電話的國家, 製造商和運營商; 查看和比較技術規格和特點, 並查看其中的每個手機發售的地方.
來源: Introducing the Google Phone Gallery - Official Google Mobile Blog

http://androidbiancheng.blogspot.com/
$ telnet localhost 5554
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands
OK
help
Android console command help:
help|h|? print a list of commands
event simulate hardware events
geo Geo-location commands
gsm GSM related commands
kill kill the emulator instance
network manage network settings
power power related commands
quit|exit quit control session
redir manage port redirections
sms SMS related commands
avd manager virtual device state
window manage emulator window
try 'help <command>' for command-specific help
OK
power display
AC: online
status: Charging
health: Good
present: true
capacity: 50
OK
power ac off
OK
power status discharging
OK
power
allows to change battery and AC power status
available sub-commands:
display display battery and charger state
ac set AC charging state
status set battery status
present set battery present state
health set battery health state
capacity set battery capacity state
KO: missing sub-command
power capacity 25
OK
power display
AC: offline
status: Discharging
health: Good
present: true
capacity: 25
OK
Symbol | Meaning | Presentation | Example |
---|---|---|---|
G | era designator | (Text) | AD |
y | year | (Number) | 1996 |
M | month in year | (Text & Number) | July & 07 |
d | day in month | (Number) | 10 |
h | hour in am/pm (1˜12) | (Number) | 12 |
H | hour in day (0˜23) | (Number) | 0 |
m | minute in hour | (Number) | 30 |
s | second in minute | (Number) | 55 |
S | fractional second | (Number) | 978 |
E | day of week | (Text) | Tuesday |
D | day in year | (Number) | 189 |
F | day of week in month | (Number) | 2 (2nd Wed in July) |
w | week in year | (Number) | 27 |
W | week in month | (Number) | 2 |
a | am/pm marker | (Text) | PM |
k | hour in day (1˜24) | (Number) | 24 |
K | hour in am/pm (0˜11) | (Number) | 0 |
z | time zone | (Text) | Pacific Standard Time |
Z | time zone (RFC 822) | (Number) | -0800 |
v | time zone (generic) | (Text) | Pacific Time |
V | time zone (location) | (Text) | United States (Los Angeles) |
' | escape for text | (Delimiter) | 'Date=' |
'' | single quote | (Literal) | 'o''clock' |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
<TextView
android:id="@+id/currenttime"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
package com.AndroidSimpleDateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class AndroidSimpleDateFormat extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
TextView currentTime = (TextView)findViewById(R.id.currenttime);
SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy hh:mm:ss a");
String now = formatter.format(new Date());
currentTime.setText("Now is: " + now);
}
}