2011-04-29 71 views
1
private static final int REQUEST_CONNECT_DEVICE = 1; 
private static final int REQUEST_ENABLE_BT = 2; 
    public static final int MESSAGE_STATE_CHANGE = 1; 
public static final int MESSAGE_DEVICE_NAME = 4; 
public static final int MESSAGE_TOAST = 5; 
public static final String DEVICE_NAME = "device_name"; 
public static final String TOAST = "toast"; 
protected static final String TAG = null; 
protected static final boolean D = false; 
protected static final int MESSAGE_READ = 3; 
protected static final int MESSAGE_WRITE = 2; 

意味着通過藍牙聊天什麼ü所有這些上述說法的意思是,因爲我在android什麼ü在android系統

+1

你的問題是關於藍牙聊天我猜 – Zoombie 2011-04-29 07:42:45

回答

1

這些常數beginer。

final表示該值被分配一次。

static表示變量在類的所有實例之間共享。

private,publicprotectedaccess modifiers