Statistics usability of mobile phones with Android - September 2011
(Our software)
1 | Samsung Galaxy S2 | 13.8% (1,232) |
2 | Samsung Galaxy S | 8.5% (762) |
3 | Samsung Galaxy Tab | 7.4% (659) |
4 | Samsung Galaxy Mini | 5.4% (483) |
5 | Samsung Galaxy S | 4.0% (356) |
6 | HTC Desire HD | 3.8% (341) |
7 | Samsung Galaxy Ace | 3.8% (339) |
8 | HTC Wildfire | 3.2% (286) |
9 | Samsung Galaxy Fit | 3.1% (274) |
10 | SEMC Xperia X10 | 2.1% (190) |
396LW NO topic_id
AD
Další témata ....(Topics)
This software allow find all IDs from xml layout file source code and create variables with findViewById for onCreate, for onClick and load save preferences functions.
Get all ID is for Windows XP and higher.
2017,04,28
Download 1.0.2.0
[caption id="attachment_903" align="alignleft" width="300" caption="Get all ID from xml file for Android developers utility."][/caption]
Get all ID is for Windows XP and higher.
2017,04,28
Download 1.0.2.0
[caption id="attachment_903" align="alignleft" width="300" caption="Get all ID from xml file for Android developers utility."][/caption]
Not request focus EditText if startup Android - hide keyboard if startup.
Remove: from EditText
Create a LinearLayout and set the:
attributes android:focusable="true" android:focusableInTouchMode="true"
Remove:
Create a LinearLayout and set the:
attributes android:focusable="true" android:focusableInTouchMode="true"
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical" >
</LinearLayout>
File -> Settings -> Keymap you can do select Eclipse keymap from drop down menu
Ctrl+Shift+A (Help | Find Action on the main menu) and start typing the name of the action. Choose the desired action from the suggestion list.
Ctrl+Click (on Windows) or Cmd+Click (on MacOS) a tab in the editor to navigate to any part of the file path. Select the necessary element in the drop-down, and the corresponding file path opens in an external browser (e.g., in the Explorer, if your OS is Windows).
Ctrl+F find
Refactor | Rename: Shift+F6 ( +F6)
Find and replace: CTRL + R
Go to variable declaration: CTRL + B
Ctrl+Shift+I (View | Quick Definition)
Ctrl+Alt+F7 (Edit | Find | Show Usages in the main menu)
Ctrl+Shift+F find in project
Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.
Use F3 and Shift+F3 keys to navigate through highlighted usages.
Press Escape to remove highlighting.
Ctrl+W (extend selection) in the editor selects the word at the caret and then selects expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc. You can also select the word at the caret and the expanding areas of the source code by double-clicking the target areas in the editor.
To search through the classes, files, tool windows, actions, settings, and symbols of your project by double pressing the Shift key
Ctrl+P (View | Parameter Info) e.g. localURL = new URL(localUrlString); select localUrlString and press Ctrl + P
Show html documentation tooltips: CTRL + Q
Comment uncomment single line: CTRL + /
Comment uncomment selected text: CTRL + SHIFT + /
Code completion (Ctrl+Space)
Alt key and mouse pointer dragging for column selection
If nothing is selected in the editor, and you press Ctrl+C, then the whole line at caret is copied to the clipboard.
Ctrl + Delete delete word from caret to end.
Ctrl + Backspace delete word from caret to start.
Duplicate line: CTRL + D
To compare two directories,or jar files, select one or both of them in the Project view and press Ctrl+D.
Editor Delete Line: CTRL + Y
Move line UP, DOWN. Select a code fragment and press Ctrl+Shift+Up or Ctrl+Shift+Down.
To open any class or file in the editor at the desired line, press Ctrl+Shift+N (Navigate | File), start typing the name, and choose the one from the suggestion list. Then type the colon (:) and a line number
Ctrl+Shift+Enter to complete a current statement such as if, do-while, try-catch, return (or a method call)
Alt+Enter to invoke a quick fix or intention action, press the right arrow key to reveal the list of additional options.
To quickly review your recent changes to the project: Alt+Shift+C
Code Completion, you can accept the currently highlighted selection in the popup list with the period character (.), comma (,), semicolon (;), space and other characters.
Quickly move between methods in the editor: Alt+Up and Alt+Down
Ctrl+Shift+J shortcut joins two lines into one and removes unnecessary space to match your code style
Ctrl+Shift+V to choose and insert recent clipboard contents into the text
Inheritance hierarchy for a selected class: Ctrl+H
Right-clicking on a breakpoint marker you can quickly enable/disable the breakpoint or adjust its properties.
Evaluate the value of any expression while debugging the program, select its text in the editor (you may press a Ctrl+W a few times to efficiently perform this operation) and press Alt+F8.
Quickly evaluate the value of any expression while debugging the program, hold Alt and click this expression to see its value and calculate it, call a method, etc.
You can use the Extract Variable refactoring even on incomplete statements. Just select the necessary block in the editor and press Ctrl+Alt+V.
To open any particular method or field in editor: Ctrl+Alt+Shift+N
Add unimplemented methods: CTRL + I
Override methods: CTRL + O
Format code: CTRL + ALT + L
Show project: ALT + 1
Show logcat: ALT + 6
Hide project - logcat: SHIFT + ESC
Build: CTRL + F9
Build and Run: CTRL + F10
Alt+Shift+F10 access the Run/Debug dropdown on the main toolbar
Collapse all: CTRL + SHIFT + NumPad +
Expand all: CTRL + SHIFT + NumPad -
Ctrl+Shift+A (Help | Find Action on the main menu) and start typing the name of the action. Choose the desired action from the suggestion list.
Ctrl+Click (on Windows) or Cmd+Click (on MacOS) a tab in the editor to navigate to any part of the file path. Select the necessary element in the drop-down, and the corresponding file path opens in an external browser (e.g., in the Explorer, if your OS is Windows).
Find - Rename
Ctrl+F find
Refactor | Rename: Shift+F6 ( +F6)
Find and replace: CTRL + R
Go to variable declaration: CTRL + B
Ctrl+Shift+I (View | Quick Definition)
Ctrl+Alt+F7 (Edit | Find | Show Usages in the main menu)
Ctrl+Shift+F find in project
Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.
Use F3 and Shift+F3 keys to navigate through highlighted usages.
Press Escape to remove highlighting.
Ctrl+W (extend selection) in the editor selects the word at the caret and then selects expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc. You can also select the word at the caret and the expanding areas of the source code by double-clicking the target areas in the editor.
To search through the classes, files, tool windows, actions, settings, and symbols of your project by double pressing the Shift key
Ctrl+P (View | Parameter Info) e.g. localURL = new URL(localUrlString); select localUrlString and press Ctrl + P
Show html documentation tooltips: CTRL + Q
Edit
Comment uncomment single line: CTRL + /
Comment uncomment selected text: CTRL + SHIFT + /
Code completion (Ctrl+Space)
Alt key and mouse pointer dragging for column selection
If nothing is selected in the editor, and you press Ctrl+C, then the whole line at caret is copied to the clipboard.
Ctrl + Delete delete word from caret to end.
Ctrl + Backspace delete word from caret to start.
Duplicate line: CTRL + D
To compare two directories,or jar files, select one or both of them in the Project view and press Ctrl+D.
Editor Delete Line: CTRL + Y
Move line UP, DOWN. Select a code fragment and press Ctrl+Shift+Up or Ctrl+Shift+Down.
To open any class or file in the editor at the desired line, press Ctrl+Shift+N (Navigate | File), start typing the name, and choose the one from the suggestion list. Then type the colon (:) and a line number
Ctrl+Shift+Enter to complete a current statement such as if, do-while, try-catch, return (or a method call)
Alt+Enter to invoke a quick fix or intention action, press the right arrow key to reveal the list of additional options.
To quickly review your recent changes to the project: Alt+Shift+C
Code Completion, you can accept the currently highlighted selection in the popup list with the period character (.), comma (,), semicolon (;), space and other characters.
Quickly move between methods in the editor: Alt+Up and Alt+Down
Ctrl+Shift+J shortcut joins two lines into one and removes unnecessary space to match your code style
Ctrl+Shift+V to choose and insert recent clipboard contents into the text
Inheritance hierarchy for a selected class: Ctrl+H
Right-clicking on a breakpoint marker you can quickly enable/disable the breakpoint or adjust its properties.
Evaluate the value of any expression while debugging the program, select its text in the editor (you may press a Ctrl+W a few times to efficiently perform this operation) and press Alt+F8.
Quickly evaluate the value of any expression while debugging the program, hold Alt and click this expression to see its value and calculate it, call a method, etc.
You can use the Extract Variable refactoring even on incomplete statements. Just select the necessary block in the editor and press Ctrl+Alt+V.
To open any particular method or field in editor: Ctrl+Alt+Shift+N
Add unimplemented methods: CTRL + I
Override methods: CTRL + O
Format code: CTRL + ALT + L
Show project: ALT + 1
Show logcat: ALT + 6
Hide project - logcat: SHIFT + ESC
Build: CTRL + F9
Build and Run: CTRL + F10
Alt+Shift+F10 access the Run/Debug dropdown on the main toolbar
Collapse all: CTRL + SHIFT + NumPad +
Expand all: CTRL + SHIFT + NumPad -
xml example source code with image.
<TableLayout android:layout_width="match_parent" android:id="@+id/idTableInRadioGroup" android:layout_height="wrap_content">
<TableRow android:id="@+id/tableRow1" android:layout_width="wrap_content" android:layout_height="wrap_content">
<RadioGroup android:id="@+id/idRadio_group_1_column"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:orientation="vertical">
<RadioButton android:id="@+id/idRadio_1"
android:text="@string/textLabel_1"/>
<RadioButton android:id="@+id/idRadio_2"
android:text="@string/textLabel_2"/>
<RadioButton android:id="@+id/idRadio_3"
android:text="@string/textLabel_3"/>
</RadioGroup>
<RadioGroup android:id="@+id/idRadio_group_2_column"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:orientation="vertical">
<RadioButton android:id="@+id/idRadio_4"
android:text="@string/textLabel_4"/>
<RadioButton android:id="@+id/idRadio_5"
android:text="@string/textLabel_5"/>
<RadioButton android:id="@+id/idRadio_6"
android:text="@string/textLabel_6"/>
</RadioGroup>
</TableRow>
</TableLayout>
You can use for, do while, while cycle for example:
public void myFunction(){
for (int i = 0; i < 1; i++) {
// some code
int c = 10;
if(c==10)
break; // goto stop; in C++
} // end of for
// stop: // break moved process to end of for
// next code
}
Editace: 2011-10-19 08:16:12
Počet článků v kategorii: 396
Url:statistics-usability-of-mobile-phones-with-android-september-2011