Author: gzshun. Original Works. Reprinted, please indicate the source!
This seriesArticleThe disk management section of the Android system will be explained in detail. You can familiarize yourself with the architecture and implementation
There are many tutorials on how to obtain the android root permission. To help you better understand the root mystery, Ling Kefeng provides this article for you and hopes to help you.
Android applicationsProgramThe entry must be a Java program.
In the startthreadpool () function of frameworks/base/libs/binder/processstate. cpp,
The function was declared at the beginning:
Automutex _ L (mlock );
It's not complicated, but I feel very thoughtful.
In frameworks/base/include/utils/Threads.
Recently, both listview and button have to change the background of the original Android control. I found some information on the Internet, so I will summarize the usage of Android selector.First, the android selector is configured in drawable/xxx.
[Four features of sound: pitch, sound length, volume, and tone] --- basic five-line spectrum tutorial
Android project analysis generally starts from androidmanifest. starting from the XML file, we can see the configuration of the activity, service,
Android debug bridge (ADB) is a versatile debugging tool for Android Developers. It is indeed named the same. It builds a bridge between the developer and the target machine.
ADB usage is very simple, as long as you read the SDK documentation about
After Android SDK tool r19, XXX is not translated in XXX is encountered during the export operation.
For example:
"auto_exit" is not translated in zh, zh_CN
This is because the android SDK tool has changed android_lint_complete_regions to need to
Message Processing Mechanism in Android Development (II) -- message loop
/*
* Message Processing Mechanism developed by Android (2)-message loop
* Beijing Android Club group: 167839253
* Created on: 2011-9-1
* Author: blueeagle
* Email: liujiaxiang@
When developing Android programs, whether you use urlconnection or httpclient operations, we often encounter timeout. If you check that the network is normal at this time, if you can access the target Web address through a manual browser, it is
In this article, we will thoroughly analyze servicemanager, the service administrator of the Android system.
Servicemanager is the manager of Android system services. All processes that need to communicate with each other through the Binder
Telephonymanager is a telephone function-related class in Android, which defines many constants.
To obtain the following information, you must specify the permission in androidmanifest. xml.
I. Data Connection status
Get data connection status: int
Here is a simple source code for making a flashlight:
1. xml layout:
2. actity code:
Package COM. diecolor; import android. app. activity; import android. hardware. camera; import android. hardware. camera. parameters; import android. OS.
This document describes other resources in the Android system that can be defined outside the code, including:
Bool type resources:
An XML resource that defines a Boolean value.
Color resources:
XML resource that defines the color value (hexadecimal
Due to limitation of Android tab component I created a custom tabwidget that I am using in couple different projects already. the widget allows us to add custom background and use custom icons, tabs can be top/bottom aligned.
Currently tabs can
Use proguard to confuse Android source code
1. APK file obfuscation method
See:
Android: Develop/tools/proguard
Android 2.3 code obfuscation proguard Technology Introduction
2. obfuscation of jar packages
During the project, we will pack some public
1. Steps
Step 1: Inherit the service class
Public class smsservice extends Service {}
Step 2: configure the service on the node in the androidmanifest. xml file:
Ii. Context. startservice () and context. bindservice
The service cannot run on its
Recently, the source code of the android built-in project is required. A search on the Internet is to be downloaded using git in Linux. Later, I found the GIT Download Method in windows. The procedure is as follows:
1. Go to
Tian haili
2013-08-10
Android-encapsulated synchronization classes mainly include mutex (automutex) and condition. The previous article analyzes their external use. This article describes how they are implemented through encapsulation of pthread
With the support and encouragement of everyone, the book "scenario analysis of the source code of Android system" was published. Lao Luo thanked everyone first. The content of this book comes from blog articles. After more than half a year of
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