Author: Sun Dongfeng 2010-01-07 (source must be noted for reprinting)
In my previous article "html" target = _ blank> two hours proficient in Android Development ", the author explains how to use Android interfaces to develop the Wrap package of j2e-
Learning Journey Based on Android NDK ----- jni log PrintingAll programs are called.The following describes how to use the log printing method on the JNI layer, similar to the log printing method provided by the Android sdk.1. Android Application
In android, the APP uses SmsManager. java provides a series of methods to send text messages, and there are many types of content to be sent, such as sendTextMessage, sendMultipartTextMessage, and sendDataMessage, in this article, we will take one
You can obtain GPS information in androi through GPS_PROVIDER in the LOCATION_SERVICE provided by the system.
[Java]LocationManager GpsManager = (LocationManager) this. getSystemService (Context. LOCATION_SERVICE );Location location = GpsManager.
We have learned how SurfaceFlinger works. With this foundation, we can analyze the UI Implementation of the Android system on the Java layer from the beginning of this article. We know that among the four components of the Android Application, only
During development, we often need to determine whether the mobile phone is connected to the Internet when reading the network. For how to determine whether the mobile phone is connected to the Internet, refer to the following key code:
[Java] import
This is the second blog. In this tutorial, We will write a small ball.
First, let's take a look at the class diagrams of the small ball class:
Mainly determine the coordinates of the ball: x, y. Radius of the ball: r. And the motion function of
In Android, when an application starts another application, the package name of the started application is known and unknown: * Case 1 = "a known package name usually has two methods: Method 1: [Java] /** Code for starting another application. The
If you need your service to communicate with remote processes, you can use a Messenger to provide interfaces for your service. This technology can be used to implement inter-process communication (IPC) without using AIDL ).
The following is an
This article describes the common functions of Intent in Android. 1 Intent. ACTION_MAINString: android. intent. action. MAINIdentifies Activity as the beginning of a program. It is commonly used.Input: nothingOutput: nothing 2 Intent.
I learned a little about SQLite in Android through classroom exercises and surfing the Internet. Here we will share with you.
In Android development, SQLite can be operated in two ways. First, you can use/tools/sqlite3.exe In the Android SDK
Some time ago, I made a few brief analyses on the Android SDCard unmount process. Since it was just a conversation on paper and there was no actual follow-up, there may be some misleading or minor errors. Today, I reorganized my mind and analyzed
Early in the morning, I wrote an android software package for Silent Installation, which has been put in the workspace for a long time. Today I found it when I sorted out the project and took it out for the sun! Features implemented by the software:
What is Surface?Simply put, the Surface corresponds to a screen buffer. Each window corresponds to a Surface, and any View is painted on the Surface. The traditional view shares a screen buffer, all plotting must be performed in the UI thread.What
According to the online materials, a general template-like class MyTabActivity is written to implement a TabActivity with Icon + text Label. To apply a class, you only need to add the Icon and Label to correspond to each Activity, you can create a
So far, we have learned that when the screen direction is changed, the activity will be destroyed and then rebuilt. Remember that when an activity is rebuilt, its current information may disappear. When an activity is killed, one or two of the
When the android init process is initialized, in addition to some necessary initialization of the system, it is to start the service. The service is defined in the init script, so it is necessary to understand how to process the service in
Designing for SecurityDesigned for security Android was designed so that most developers will be able to build applications using the default settings and not be confronted with difficult decisions about security.Android also has a number 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