======================================
Interview Questions: a brief overview of the android System
======================================
From bottom to top, there are four layers.
1. Linux Kernel
-------------- The underlying Linux
I have been learning Android for more than a year and a half. I have worked on two games, three applications, and a server. I have also learned some Android-related source code (JDK, SDK, and ndk)
Later, I wanted to learn more about two
Android mobile phones use the "menu" button to display menus.
To implement the menu function, you must first create a menu by using oncreateoptionmenu. There are two ways to create a menu: one is to directly import an XML file with a menu, one is to
From: http://androidbiancheng.blogspot.com/2011/05/drawingcache.html
When you click the button, the application captures the screen effect display through the drawing cache and displays it in the imageview. The effect is as follows:
Main
From: http://www.eoeandroid.com/thread-95111-1-1.html
Today, the screen is down, but the method is not very elegant. Please give me some advice.The interface is simple:
Interface View:
The following code is used:
Package COM. babeeta. drawview;
Li huaming himiOriginal, reprinted must be explicitly noted:Reprinted from[Heimi gamedev block]Link: http://www.himigame.com/android-game/315.html
Many kids shoes say that after my code is run, clicking home or back will cause a program
Fill_parent: Full Screen
Wrap_content: The size is enough to show the content in the current control.
Android: gravity = "right": alignment of its child controls (gravity tendency)
Table layout :
Android: collapsecolumns = "1": indicates to hide
The Android mobile development platform provided by Google contains the original Android target code, host compilation tools, and simulation environment. After the code package is decompressed, the first-level directories and files are as follows:.|
1. Integer. For example, "I am 23 years old this year". This 23 is an integer. This can be written in string. xml. I am % 1 $ d this year .
[Java]View
Plaincopy
String sageformat = getresources (). getstring (R. String. Old );
String sfinalage =
Sometimes this happens when Google code downloads the source code and learns.
One project contains another project. It is equivalent to a reference of a jar package. But it is not a jar package, but a package.
I found this method on the
I have been entangled in this problem for a long time today. I just fixed it. I hereby record it !! Maybe you can also use it.
In fact, this problem may not be accurately described, and we do not know how everyone calls the "tool bar". Let's take a
Two days ago, the company had a project using Android to remotely operate sqlserver. I had no clue about this, but I was also very interested. So I began to search online. There were many methods on the Internet, I found that WebService was widely
The first two articles briefly describe the method for parsing XML by using Sax to implement the parsing function. The following uses Sax to create an XML file.
The specific method of using Sax to create XML is to add relevant comments to the
As described in the android documentation, the SDK level (integer) the phone is running is available in:
Android. OS. Build. version. sdk_int;
The enum corresponding to this int is in the Android. OS. Build. version_codes class.
Code example:
Int
When writing the parsing code, I found that I did not have a solid grasp of this aspect.
The problem is that, in an element, " ", the data in it is always not available. After testing, we found that,
PublicVoidCharacters (Char[]
After checking the information on the Internet, the system will shut down the WiFi in about two minutes after the phone screen is closed and other applications are not using WiFi, make WiFi sleep.
This approach is conducive to saving power and
Android ndk Overview
Introduction:
Android SDK is a set of tools that allow Android Application developers to compile and embed application packages in the local source code using C or C ++ source files.
Important:
Android ndk can only be used for
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service