After configuring the development environment of Android + eclipse, try to create an android project, but the result shows proguard. cfg. There are two solutions:
1. Create a New proguard. cfg file with the following content:
-Optimizationpasses 5
1. The first simulator is started through eclipseMethod: Open eclipse and run a project at will. eclipse will help us start an android simulator.2. Start the second simulator until the nth one by running the DOS command.Method: start --> Run.
I recently wrote a test program for playing RTSP. This requires a real machine test and the result is
UbuntuOn 11.04, connect
AndroidAfter 2.1, ADB
The service does not find the device, only the simulator. So I searched for the information online
List of projects generated by the cocos2d-x
Proj. Android: As mentioned above, it is a project run by Android.
Classes: This is the ndk library used for running the android project. All the code that can be written in C ++ across platforms is stored
/**Version: 1.0Date: 2009-03-18Author: hkjinzhaoRemarks: initial version*//**Version: 1.1Date: 2009-03-27Author: hkjinzhaoNote: add the make SDK and modify some content.*/
This compilation process mainly refer to the official documentation
If the android source is in the android21 folder (that is, the Directory of the MAKEFILE file), run CD android21,
Then you can execute the following command;
1. Make settingsGenerate the settings.apk File
2. Make SnodEquivalent to make droidThis
/**Version: 1.0Date: 2009-03-18Author: hkjinzhaoRemarks: initial version*//**Version: 1.1Date: 2009-03-27Author: hkjinzhaoNote: add the make SDK and modify some content.*/
This compilation process mainly refer to the official documentation
Shareduserid
Summary of shareduserid:
We know that each app generally has a unique Linux User ID, so that the permission is set to the file of the application to be visible only to the user and only to the application itself, but we can make them
I haven't updated my blog for a long time. Today I want to share with you the resource and internationalization problems in Android. We usually create an android project with the directory structure shown in:
Let's take a look at the layout and
1. About error: please ensure that ADB is correctly located at in Android SDK 2.3 .....Please ensure that ADB is correctly located at 'd: \ phone \ Android-SDK-Windows \ tools \ adb.exe 'and can be executed.
After the SDK is updated to 2.3, the
1. Basic Environment preparation:
Install JDK 8.6 or later and eclipse3.3 or later (myeclipse is also supported). I have installed JDK and myeclipse.
2. Download the android SDK
Unfortunately, android.com has been given to the wall by our powerful
1. Improve UI performance 1. Improve the efficiency of adapter and adapterview
Reuse the generated item View
Add viewholder to avoid repeated searches for controls to be modified
Cache item data
Segmented reality
Instance:
class OptAdapter extends
// Create an anonymous implementation of OnClickListenerprivate OnClickListener mCorkyListener = new OnClickListener() { public void onClick(View v) { // do something when the button is clicked }};protected void onCreate(Bundle
I. Use handler and message to update the page
Private handler mhandler = new handler (){
Public void handlemessage (Message MSG ){Switch (msg. What ){Case 1: // Add functionsInt I = integer. parseint (textview. gettext () + "");If (I> = 0 & I ++
Sometimes there are many small modules under a large project. If there is no connection between small modules, you can use each small module as a separate project to generate an APK.
In this case, how to put multiple APK files in a project is
For example, one thing I want to do is to connect a main interface (main activity) to many different sub-function modules (child activity ), after the sub-module is finished, it will return to the main interface. It may also return some data
I. Method 1:Tool download: requires the dex2jar and JD-GUI tools
Dex2jar: http://laichao.googlecode.com/files/dex2jar-0.0.7-SNAPSHOT.zipJD-GUI:Windows JD-GUI: http://laichao.googlecode.com/files/jdgui.zipLinux JD-GUI:
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