1.device window
View Android runtime windows and DDMS content consistent
2.android.bat
Run ADB operations under ADB path to enable the re-connection of Android systems
adb kill-server
ADB start-server
You can also click in the Device window
3.source overriding the parent class method
Override/implement method overriding the shortcut entry for the parent class methods
4.eclipse self-help tips
Window > Preferences > Java > Editor-content Assist > Auto activation triggers for Java
The code sets the following hints:. ABCDEFGHIJKLMNOPQRSTUVWXYZ (,
Window > Preferences > XML > XML Files > Editor > Content Assist > Auto activation > Prompt when thes e characters is inserted
The XML sets the following hint: <=:.abcdefghijklmnopqrstuvwxyz (, <=:.ABCDEFGHIJKLMNOPQRSTUVWXYZ (,
5. There are three steps to inserting a new activity:
A. Create a new Activity program code, with "New.class" as an example
B. Adding a description of the new activity in Androidmanifest.xml
C. Call to start new activity in the original activity
6. Recompile
Project > Clean
7.R file
Rewrite import Android. R path, fill in the path according to the local directory
8.mainfest.xml
<intent-filter > Start-up entrance
Android:name= " bind class ground path or . * "
9.logcat Query Run Results
Android Four components:
Activity (window)
Service (services, divided into local and remote services)
Broadcast receiver (asynchronous receive broadcast intent, divided into normal broadcast and orderly broadcast, to achieve interprocess communication)
Content Provider (data type query, Android.provider)
Important Components:
Intent Interactive messages (four components common)
Bundle data
Android SDK API Reference:
http://www.android-doc.com/
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Eclipse to develop Android primer learning