android studio common shortcut keys:
a print log:
1. Enter input logt: automatically generates a global variable of TAG: Final static String Private TAG = "the MainActivity";
2. Enter input logd: automatically generated: Log.d ( the TAG, "the onClick:");
3. enter logm input: automatically generated: Log.d (the TAG, "the onClick () Called with:" + "View = [" + View + "]");
4. enter loge ENTER: automatically generated: Log.e (TAG, "onClick: ");
and the like. . . . . Followed by analogy
set up shortcuts with the same input keymap eclipse can click into an array in keyStirng the
shortcuts Second, the use as the default code commonly used tips:
1. Use the Ctrl + Alt + Space: When typing in a situation not automatically prompt the the complement automatic prompt: + corresponding to the eclipse of the Alt /
2. use Ctrl + D: copy the current cursor row next line
3. Ctrl + Shift + up / down: move up and down cursor line
4. Ctrl + Y: delete current code line: the equivalent of D + eclipse of the Ctrl
5. the use Alt + down: moving method in class
6. Ctrl + W: select Code
7.Ctrl + R: replacing text
8. Ctrl + F: manipulating text
9.
Ctrl + Shift + N to open the file, such as can be opened XML
ctrl + the U-See parent
Ctrl + Alt + H view of a method call
Ctrl + I to view the content using a method, a pop dialog
Alt + right and left keys in the development of around the window toggle type
Alt + 1 quickly open or hidden engineering panel full screen programming
Ctrl method O replication parent class +
Ctrl + [or] to jump to the beginning of the braces or end
Ctrl + Alt + T to select a block of code, according to this combination key, can quickly add if, for, try / catch statements and the like
Ctrl + j generated code
Ctrl + e view recent Code
three, Dug debugging:
use F7: using the method into
use F8: next line of code, corresponding to the eclipse the F6
using Shift + F8: executing the next breakpoint, F8 relative eclipse in
android commonly permissions:
ACCESS_NETWORK_STATE network state permission
ACCESS_WIFI_STATE WIFI network state information rights
BATTERY_STATE battery state permission
BLUETOOTH connection paired Bluetooth device permissions
BLUETOOTH_ADMIN found matching Bluetooth device permissions
BROADCAST_SMS receive SMS alerts broadcast rights
rights CALL_PHONE call the
CAMERA permission to use the camera
CHANGE_NETWORK_STATE network status change permissions
CHANGE_WIFI_STATE change wifi network state permission
DELETE_CACHE_FILES allows you to delete the cache file permissions
DELETE_PACKAGES allow permission to delete the installation package
FLASHLIGHT access to flash
INTERNET allow access to the network
MODIFY_AUDIO_SETTINGS allowed to modify global voice of authority
PROCESS_OUTGOING_CALLS allow monitoring, control, remove permissions outgoing calls
READ_CONTACTS allowed to read the phone book rights
READ_HISTORY_BOOKMARKS reading browser favorites and history of rights
READ_OWNER_DATA allowed to read the user data permission
READ_PHONE_STATE allowed to read the phone state permission
READ_PHONE_SMS allow permission to read text messages
REBOOT reboot the system allows the authority
RECEIVE_MMS allows the processing, monitoring, receiving MMS authority
RECEIVE_SMS allows the processing, monitoring, permission to accept text messages
RECORD_AUDIO allow recording permission
SEND_SMS allowed to send text messages permissions
SET_ORIENTATION set the screen orientation permissions
SET_TIME time set permissions
SET_TIME_ZONE allows you to set the time zone of authority
SET_WALLPAPER set the desktop wallpaper permission
VIBRATE allowed to control the vibrator rights
WRITE_CONTACTS allows the user to write contact permission
WRITE_HISTORY_BOOKMARKS permit application write a new history and bookmarks
WRITE_OWNER_DATA allows applications to write data to user permissions
WRITE_SMS allow the authority to write text messages
Android android studio used some commonly used shortcuts and rights
Guess you like
Origin www.cnblogs.com/YZFHKMS-X/p/11853144.html
Recommended
Ranking