1. First install eclipse
Http://www.eclipse.org/downloads/
There are many types of compressed packages by default. We only need to download Eclipse IDE for Java developers
Be sure to select the correct version for Linux, Which is 32-bit or 64-bit.
During Android Application Development, we often use a preset database or an existing third-party dynamic or static library for development, in this case, you need to modify the MAKEFILE file to copy the preset data or library files to the specified
The following error is reported during launcher Compilation:
Build/CORE/base_rules.mk: 166: *** packages/apps/launcher2/bin: module. Target. Apps. launcher2 already defined by packages/apps/launcher2. Stop.
It is a makefike problem. I searched the
1. The background turns black when the android listview control is scrolling.
By default, the background of the list control suddenly turns black when the listview is rolled. This may causeProgramThe black background is not in coordination with
I found this problem when I was debugging a program for an intern last Friday. He wanted to implement this function: when the user chooses to delete the program, the data list will pop up in the form of dialog, in addition, each data has a checkbox,
Three monitoring methods have been implemented in Android touch messages:
1) pre-pressed: the semantics is that the user clicks the screen.
2) pressed: the semantics is that the user clicks the screen.
3) long pressed: the semantics is that the user
APK File FormatAndroid Application packagefile. Every application to be installed on the Android platform must be compiled and packaged into a single file with a suffix of. APK, which contains the application's binary code, resources, configuration
1. terms and concepts
Terms
Description
Remarks
Screen Size)
It refers to the actual physical size of the mobile phone, such as the commonly used 2.8 inch, 3.2 inch, 3.5 inch, 3.7 inch
Motorola's milestone mobile phone
General steps:
Download the CTS package from here
Make sure that the android SDK has been installed and the ADB command has been added to the system path $ path
Refer to the Google CTS guide to configure hosts and devices. // The details are
I. Android Power Management Application Layer AnalysisAndroid provides the Android. OS. powermanager class, which is used to control the switching of the Power status of a device.
This class has three interface functions: 1. Void Gotosleep (long
JNI callback refers to calling Java functions in C/C ++ code. When a callback function is executed in a C/C ++ thread, the callback fails.
One of the solutions for Android systems is:
Replace the creation of all threads in C/C ++ with the
1. Preparations
1. Install jddk6
(1) from the official JDK websiteHttp://www.oracle.com/technetwork/java/javase/downloads/jdk-6u29-download-513648.htmlDownload the jdk-6u29-linux-i586.bin file.
(2) run the JDK Installation File
$chmod a+x
Module: marvel 8787Kernel: 2.6.35
My module is shared by WiFi and Bluetooth. There is nothing to say about the Bluetooth porting part. Just load the Ko file.
For use, there is a problem in power management. Because the power supply of my Wi-Fi
This section describes the service lifecycle and local sevice. The following describes the remote service and aidl (Android Interface Definition Language;
The official document reminds us that it is necessary to use aidl:
Only you allow the client
The process and thread will be detailed in the next section. Here we will briefly introduce what they are doing in Android.
In Android, when an application is started, the Linux kernel starts a process and a single thread (the main thread we call it)
Android/FFMPEG dynamic module, JNI simple wrapper on production device, we can't use "Executable File ".
We need to build "dynamic, so module" for FFMPEG/ffserver.
This post explain how to build so module and simple JNI interface for FFMPEG.
1)
:
1. The first is the code of the Main. xml file.
Emphasize: Content in Android: layout_gravity = "center" textview is centered
2. Create a colors. xml file
#330000#550000#770000#990000#bb0000#dd0000#ff0000
3. Source Code layoutchen.
Fastboot mode upgrade
Development in Windows:
Fastboot upgrade mode is used by developers to upgrade a single component of the system. The "fastboot" program and USB cable must be available for fastboot mode upgrade.
Fastboot is a console
Building Android (cupcake) for the Eee PC 701
If you want to study android in depth and add opendroid QQ Group 81410571, we have successfully transplanted android to S3C2440 and virtualbox. Planning further study plan!
This page was created by
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