Android is an open-source Linux-based operating system. One of the core content of Android is DVM, which is the Dalvik virtual machine. It differs from the traditional JVM:
1. Architecture differences: the former is based on Reg (in CPU), and the
In the Android system, several main components are used for flexible organization to facilitate developers, without losing its dazzling effect. It is worth further understanding and learning, the figure below is a summary of the knowledge about
/**
* Test connectivitymanager
* Connectivitymanager manages network connection-related operations.
* Telephonymanager manages information related to mobile phones and carriers, and wifimanager manages information related to wifi.
*
The most essential difference between surfaceview and view is that surfaceview can be re-painted in a new separate thread, and view must be updated in the main thread of the UI. Updating the screen in the main UI thread may cause problems. For
First, get the video playback length to set the max and videobbar of seekbar. setmax (mediaplayer. getduration (), and then obtain the video playing time in real time through the thread to update seekbar and videobbar. setprogress (mediaplayer. the
Android provides three levels of touch event processing: viewgroup, view, and activity. That is to say, there are Event Callback methods in all three parts.
Test the demo view structure:
123456789101112131415
. Orgcent.
Broadcast in Android is widely used.ProgramCommunication is similar to the event processing mechanism. The difference is that broadcast processing is a system-level event processing process (generally event processing is a control-level process ).
Reprint at http://mips.eefocus.com/article/11-12/2453681323092039.html? Sort = 1751_0_0_0
With the development of mobile platforms and the continuous improvement of their applications, quality becomes the key to success or failure. Users require
1. Accelerometer acceleration, which describes acceleration.
2. Gravity gravity, which is known to everyone.
3. The gyroscope is more powerful for object drop detection. It will be a bit regrettable to develop a game if it is missing. The new
ArticleDirectory
Connect to the database by running sqllite3 on a remote shell Client
UI/Software Test Procedure monkey
Other shell commands
Use the logcat command
Filter log output
Control log output format
View available
Error Log: 11-03 12:36:54. 812: Error/androidruntime (5084): caused by: Java. Lang. outofmemoryerror: bitmap size exceeds VM budget
Memory overflow is mainly caused by the following situations:
1. The database cursor is not closed.
2. the
ArticleDirectory
Android launcher Research: customized desktop UI
Article 1
Using eclipse + ADT as the android development tool can be said to be very convenient, In the helloactivity small Program We feel the power of Eclipse.
When using the software, G-friends need to connect through WAP. Some users report that there is no WAP access point in the mobile phone and they do not know how to set it, here we provide you with a method for setting this issue. You can refer
PreviousArticleHttp://www.cnblogs.com/octobershiner/archive/2011/10/24/2222401.html
This article introduces the use of the simple location service. I will share with you the use of the following criteria class.
When using Android lcoation,
In the previous articleArticleIn the http://www.cnblogs.com/octobershiner/archive/2011/11/07/2239621.html, and share with you a very important class sharedpreference set in Android, in fact, Android for the implementationProgramThe setting interface
2011 the fifth day of summer trainingArticleHere, I will share with you my learning about Android location. This is the most basic introduction to obtaining location information, next time, I will introduce you to the location selection of more
Before developing an applicationProgramIn the process, sometimes we need to record user preferences, or user name and password. This involves data storage. There are several ways to store data on the Android platform:
Shared preferencesstore
You can set the full screen mode for Android in either of the following ways:ProgramCodeThe other is to configure the manifest. xml file. The second method is recommended.
The and labels in the manifest. xml file contain the Android: Theme
I started to read sundy's tutorial today. I made some notes about log and summarized some things according to the SDK on the official website. In fact, it is equivalent to a simple translation. Let's get down to the truth ~
/***********************
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