English Original: Android Architecture and Libraries every Android Developer should KnowAndroid's architecture encourages component reuse, allowing developers to publish data that shares activity, Service, and access to other applications, and can be managed based on security restrictions developed by the developer. That being said, today I will share some information about the
Android SDK Android NDK android Studio officialIf the download speed is too slow, please use thunder, Baidu cloud offline and other methods to download.For Linux systems, if you cannot upgrade online, see belowsudo vi/etc/hostsAdd to74.125.206.93 dl-ssl.google.comHere are the various.
2014.7ADT BundleHttp://dl.google.com/
The permissions of the Android system from the user's point of view sometimes is a bit confusing. Sometimes you just need to do something simple (edit the contact's information), but apply for more permissions than you need for your app (such as access to all your contact information).It's hard not to let users keep an alert on you. If your app is still closed, there's no way to verify that your app is uploading his contact information to the applicat
The permissions of the Android system from the user's point of view sometimes is a bit confusing. Sometimes you just need to do something simple (edit the contact's information), but apply for more permissions than you need for your app (such as access to all your contact information).It's hard not to let users keep an alert on you. If your app is still closed, there's no way to verify that your app is uploading his contact information to the applicat
extension has become an inevitable trend. and the seamless integration of Android and Google services, you can fully meet the wishes of people.Second, the Android frameworkIt can be seen that the Android system architecture is four-tier structure, from the upper layer to the lower level are the application layer, the application framework layer, the System runti
that integrate the top-layer Linux code.
Dalvik:
Another important part of Android is virtual machines and a set of important runtime environments. It is a very clever design and is a very good underlying application of a mobile phone terminal.
How to generate code?
The Dalvik Virtual Machine only executes. dex executable files. After the Java program is compiled, it must be converted to the. dex format by using the tools in the SDK before it can b
perform on the virtual machine.
What I need to emphasize is that the Android app itself can be seen as code that runs on the platform and invokes APIs, so there's no need to pay special attention to how the code is generated.
Special apps.
Some of the apps that are based on Dalvik virtual machines appear to be part of Android, actually provided by Google, including
(Allows applications to discover and pair descrithdevices)
Android. permission. BRICKRequest to disable the device (very dangerous) (Required to be able to disable the device (very * erous !).)
Android. permission. BROADCAST_PACKAGE_REMOVEDAllow the program to broadcast a message after an application package has been removed (Allows an application to broadcast anotification that an application package has
Android Learning Series (41)-simple use of Android Studio, android-android1. Environment
UBUNTU 14.04 + Android Studio 0.8.22. Install jdk
Openjdk-7 is a good choice:
sudo apt-get updatesudo apt-get install openjdk-7-jdkIt is not excluded that you need to select a default version:
sudo update-alternatives --config
(Switch) Android system comes with Activity style (@ android: style/), android @ android
Configure in the activity of the AndroidManifest. xml file
1. android: theme = "@ android: style/Theme"
The default status is theme.
2.
In HTML, we all know what the layout means, in simple terms, the page is divided into modules, such as the HTML Div, table and so on. So is the case with Android. The Android five layout makes the interface more beautiful and more convenient to develop. Of course, the layout is not the same as the application of the same place, of course, some of the layout of the way can be converted and nested use. They a
This article from: http://www.cnblogs.com/yaotong/archive/2011/01/25/1943615.htmlIf the download is slow or cannot be downloaded, there are three ways to fix it1. Patience.2. Use P2SP download tools, such as Thunder, Baidu Cloud offline.3. You know.Cannot upgrade online please see belowsudo vi/etc/hostsAdd to74.125.206.93 dl-ssl.google.com2014.7ADT BundleHttp://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zipHttp://dl.google.com/
express or implied.* See the license for the specific language governing permissions and* Limitations under the license.*/
Package com. Android. Contacts. update;
Import Android. App. alertdialog;Import Android. App. keyguardmanager;Import Android. App. progressdialog;Import Andro
First, understand the Android operating system
Android was first founded by Andy Robin (Andy Rubin) and was acquired by Google in 2007, and Google has achieved great success with its Android operating system on smartphones.
1, the characteristics of the Android operating system
The
Broadcast in Android
The system will generate a lot of events in the process, some events, such as: Power changes, send and receive text messages, call, screen unlock, boot, etc., the system will send a broadcast. As long as the application accepts this broadcast, it knows that the system has a corresponding event and executes the code accordingly. As long as the broadcast receivers that are turned on in our application can receive the broadcast
need to register the permissions required by the program in this file. The packaging process must also be declared in this file.
Use the aapt (application android package tools) tool to package
Compile-> package-> signature-> adb-> deploy on your mobile phone
ADB Common commands show connected device adb devices display content: device name, status (device, offline) Import file to mobile phone adb push
Push: Push files on the computer to the simula
The content of this article is in the Android system how to write the program to intercept the phone, and issued a blocking prompt to remind users, you can say this function is more practical.
1. Telephone interception
This function you may all know, is to use the principle of reflection invoke Itelephony hidden method to achieve.
2, after the interception prompt busy/empty number/shutdown/has been shut down
This function is actually to use MMI in
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.