A simple review of Android and a review of androidThe Android system allows applications to create private files that can only be accessed by themselves, and the files are stored in the internal memory of the device.ScrollViewDrag a SeekBarRatingBarAndroid ArchitectureApplication: Calendar, Address Book, email client,
Android Development Review notes-TabHost component (2) (bottom menu navigation), Android tabhost
In the previous article "android Development Review notes -- TabHost component (1) (implementing the bottom menu navigation)", we mentioned using custom View (ImageView + TextVie
Android Development Review notes-Menu menu component (option Menu, context menu, sub Menu), Android menu
Menus are one of the most common elements in the user interface and are frequently used. In Android, menus are divided into three types: OptionsMenu and ContextMenu) and SubMenu ).
There are two menu implementation
Test in Android review Android, reviewandroid
In Android, there are two types of tests:
1. Write test code in a project.
2. Create a project to write test code.
1. Write test code in a project
Steps:
1. Write a class to inherit AndroidTestCase
For example:
Package com. example. junittest; import junit. framework. as
Android Development Review notes-TabHost component (1) (implement menu navigation at the bottom), Android tabhost
What is TabHost?The main function of the TabHost component is to manage applications by category. For example, you can see a graphical interface when using a windows operating system.
When talking about this component on the TabHost tab, you have to g
cleared, and the IELTS basis allows the task to be initialized with only one activity at a time.
Finishtaskonlaunch: This property and cleartaskonlaunch a bit similar, but cleartaskonlaunch effect on others, and finishtaskonlaunch role in themselves, through this attribute, When you leave the task where the activity is located, the activity will be erased when the user returns.
Alwaysretaintaskstate:task a gold medal, if the activity this property is set to True, then the activity's t
is that the previous add view of the Addimagegridview this control, it adds a non-camera view, I put it into a list, Then set the touch event to all the view stored in the list, with an int currentspace record currently being longer than 1 seconds in view in the list position, and the bitmap type Firselect record is long pressed according to the picture bitmap, And then let it hide, when it's time to swap, suppose the swap is J I set the currentspace corresponding view setting bitmap to J's bit
center position of the parent controlCentervertical the vertical center position of the parent control3. Framelayout Frame LayoutLayout_gravity sets the location of the child controlforeground= the "#4f00" setting is drawn on top of all child controls drawableForegroundgravity sets the Gravity property of drawable that is drawn on top of all child controlsMeasureallchildren calculating the size of all child controlsAbout the layout of this piece, basically commonly used is the linear layout and
center position of the parent controlCentervertical the vertical center position of the parent control3. Framelayout Frame LayoutLayout_gravity sets the location of the child controlforeground= the "#4f00" setting is drawn on top of all child controls drawableForegroundgravity sets the Gravity property of drawable that is drawn on top of all child controlsMeasureallchildren calculating the size of all child controlsAbout the layout of this piece, basically commonly used is the linear layout and
work what, can also add points. Sometimes I look at my previous notes and look at those one hundred or two hundred notes, which is a full sense of accomplishment. But at that time to write notes too casual, this review, is in the past notes on the basis of the leak, refine, merger of similar, toPerfection! look at the blog more, you will find that the blog is too fragmented. Piecemeal, can only be mend, but difficult to build a personal knowledge sys
, deletions, modifications
Table creation, modify table structure, delete table
2.7 JVM
What is CAS?
What are GC collectors?
Three ways to collect GC
Memory Models and partitions
Determine if an object is alive
Parental delegation Model
object creation, memory layout, object access positioning
The memory partition ratio and its characteristics in the new generation old age
Five procedures for class loading
Static dispatch and dynamic dispatch
Author: David Walsh
Translation: Siqi (siqi.zhong@gmail.com
)
Original article: tweetview: Android, packaging, and review
In the first two tutorials, the third part of the dojo mobile tweetview series -- tweets and mentions views
4. tutorials for the dojo mobile tweetview series -- create a setting View
, We created the tweetview
The HTML, CSS, and JavaScript code required for mobile applications. This tut
flag to achieve intent.setflags (intent.flag_activity_clear_top) activation of a new ACTIVITY. At this point, if the activity is already in the task stack, the system will kill all the activity on the activity. ItsThe singletop is equivalent to the startup mode configured for the Activity.9, please describe the Activity of the starting mode and what are the characteristics of eachStartup mode (Launchmode) plays an important role in the process of multiple activity jumps, and it can decide wheth
click OK to not generate the emulator list, or do not run the emulator, try to create it using the command.Command: #android list targets#android Create Avd–n avdname–t 1If the Windows operating system: CMD enters the tools directory of the Android SDK, execute: Android.bat AVD6. Create a sample projectThird, install the And
(Android review) Open the Activity and return the result. androidactivity
I. Basic knowledge points
In fact, it is easy to complete this function:
1. MainActivity
StartActivityForResult (intent, 100); // The second is the request code.
@ OverrideProtected void onActivityResult (int requestCode, int resultCode, Intent data ){Super. onActivityResult (requestCode, resultCode, data );If (data! = Null ){If (res
(Android review) Open Activity and return results
I. Basic knowledge points
In fact, it is easy to complete this function:
1. MainActivity
StartActivityForResult (intent, 100); // The second is the request code.
@ OverrideProtected void onActivityResult (int requestCode, int resultCode, Intent data ){Super. onActivityResult (requestCode, resultCode, data );If (data! = Null ){If (resultCode = 200) {// can i
After the examination has passed, Android-driven learning has been broken for more than half a year, and now pick up learning, review the general framework of Android Drive.The core of the Android system is Java, which has a David virtual machine. Android-app operating hardw
Android code review tool-Use of lint Tool
Reprinted please famous Source: http://blog.csdn.net/lijunhuayc
After so long, I don't know what the lint tool is doing for android. Although I can see it under the android tools Project right-click eclipse every time, what can I do ~ I am ashamed to be an
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.