1. Imitation of meitu xiuxiu and iOS camera films
Http://www.eoeandroid.com/thread-193864-1-1.html
2. Imitation path menu
Http://www.eoeandroid.com/forum.php? MoD = viewthread & tid = 152325.
Http://www.eoeandroid.com/forum.php? MoD =
The following error is reported in Eclipse:The method compare (object, object) of Type serviceaddresscomparator must override a superclass Method
Cause: in JDK 5, the @ override cannot be used to implement the interface method. Only the override
In the past few days, I started to get jbox2d. on Android, the first time I joined a third-party jar, I encountered some problems. This is common.ArticleI will not mention it, so I have recorded it here, hoping to save valuable time for developers
Set Environment Variables
Right-click the computer, choose Properties> advanced system Settings> advanced> Environment Variables
1. First set the SDK path android_sdk_home to point to the SDK path of your local machine.
2. The path of the SDK
Code:
public final class MyClass{ public class MyRelatedClass { ... }}public class OtherRandomClass{ public void DoStuff() { MyRelatedClass data = new MyClass.MyRelatedClass(); }}
Error:
No enclosing instance of Type
Which methods can be added to the main UI thread for running?
1. activity. runonuithread (runnable)
2. View. Post (runnable); view. postdelay (runnable, long)
3. Handler
4. asynctask
Handler's role
1. Execute the scheduled task. You can execute some
2010-11-04
I plan to draw a coordinate axis, draw a line chart, and draw a coordinate axis with a straight line at the beginning, but it is not very nice.
First paste the code
/** Testpaint. Java **/
package com.test;import
Terms
Screen Size:
The actual physical size is subject to the diagonal line of the screen (including the notification bar ?)
Divide all dimensions into four general dimensions: Small (small), normal (normal), large (large), extra large (Extra Large)
Original Source: http://618119.com/archives/2011/01/12/205.html
Author: lizongbo
Copyright Disclaimer: You can reprint the document at will. During reprinting, you must mark the original source and author information of the article in the form of a
Link: http://www.eoeandroid.com/thread-173733-1-1.html
I am afraid that I will forget something, so I will record something.
The link needs to be viewed one by one and verified by yourself to learn something.
I. instance tutorial
Turning Android
To use the code and tools in the android SDK to develop Android applications, you need an appropriate development machine and environment, as described below.Environment: Windows 2003First, install jdk6(jdk-6-windows-i586.exe)After JDK is installed,
I. "Point 9" is a special image format in the application software development of the andriod platform. The file extension is .9.png.The smart phone has the automatic horizontal screen function. The same interface will change the display direction
The architecture diagram of Android is as follows. The figure shows that android is divided into three parts based on the functional structure and target audience:
Application: contains all applications running on Android devices, which are
Considering that recent work involves jbox2d, I plan to learn more about the testbed sample. I also hope that I will discuss it with you at the same time.
Although the box2d manual has described the code of Hello box2d in detail, this article is
Understand Android menusMenus are an indispensable part of many apps, especially in Android. All mobile phones carrying Android systems even have a "menu" key. This shows the special nature of menus in Android apps. The android SDK provides the
The use of menus is indispensable for any software. In Android, each activity is bound with a menu. To define and use a menu, you must perform operations under the activity and rewrite the oncreateoptionsmenu and onoptionsitemselected methods.
To set the background color, you can define an XML file in RES/drawable, as shown below:
Android: startcolor = "# fff"Android: endcolor = "#000"Android: angle = "45"/>
Shape is used to define the shape. Gradient defines the gradient fill in the
Three methods related to touch events:
Public Boolean dispatchtouchevent (motionevent eV); // used to assign an event
Public Boolean onintercepttouchevent (motionevent eV); // used to intercept an event
Public Boolean ontouchevent (motionevent eV); /
Now Android executable program can finally run in nxp8473 -- cortex-a9 platform, the direct reason is: ------- illegal access to memory address bionic/libc/bionic/libc_init_common.cvoid _ libc_init_common (uintptr_t * elfdata) {int argc = *
1. Use the convert command provided by ImageMagick to convert the raw format (convert-depth 8 splash.png RGB: Splash. Raw)Note: Run The sudo apt-Get install ImageMagick installation package.2. Compile the rgb2565 tool that comes with Android. The
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