PrefaceThe downloaded SDK package contains a folder named "Tools", which provides us with many Android-related tools, some of which are essential, now let's introduce the simulator.
Create an android SimulatorYou can use "android SDK and AVD
The following is from [http://www.eoeandroid.com/archiver/tid-6274.html#, which is a friend of flyrabbits.pdf. I think it's a good record.
---------------------------------------------
I will try to answer:Android Application Development generally
Listview is a commonly used display control. The default background is the same transparent color as the system window. If a background image or background color is added to listview, The listview will be black when scrolling, because, during
Ndk is always troublesome, but it is also a tragedy not to use ndk.After reading what others have done on the Internet, the ndk is a little different from JNI. The ndk is a little simpler. Ndk R7 does not need Cyg, the company does not go to QQ, it
Since Google upgraded the SDK to R17 or later. The proguard rule has been modified. problems may occur after export using third-party jar.
If the export package is not configured, the system will prompt-libraryjars and add it to the JAR file. After
The pull parsing method gives the application full control on how the document should be parsed. Android provides APIs that support the pull method, mainly
org.xmlpull.v1.XmlPullParser;org.xmlpull.v1.XmlPullParserFactory;
Xmlpullparser and
Font Size
For controls that can display text (such as textview edittext radiobutton button checkbox chronometer), you sometimes need to control the font size. The Android platform defines three font sizes.
"? Android: ATTR/textappearancelarge"
"?
I forgot my data line at the company. I found a way to debug the android program using wifi and wrote down the backup.
1. First, let the android phone listen to the specified port:This step requires the use of shell, so there must be a terminal
It is easy for Android to remove the title bar and full screen. There are two common methods:First: Implemented in program codeJava code
This. requestwindowfeature (window. feature_no_title); // remove the title bar this. getwindow (). setflags
1. Generate a keystoreLocate the location in the JDK binfile and enter the following name line: keytool-genkey-alias changebackgroundwidGet. keystore-keyalg RSA-validity 20000-keystore changebackgroundwidget. keystore (do not wrap in the middle),
MainActivity is as follows:
Package CN. testappaddandremove; import android. OS. bundle; import android. app. activity; import android. content. intentfilter;/*** demo Description: * use a broadcast listening device to install and uninstall an
Original article: http://blog.csdn.net/xiaominghimi/article/details/6105212
What is TraceView? Let's take a look at Baidu's explanation:
Traceview is a good performance analysis tool on the android platform. It allows us to understand the
Statement: the source of HKUST is used. At first, the proxy is used to access the Internet. When the source is updated, a bunch of problems are encountered. Then, the source of Netease is used on the VPN, which is also a pair of errors during the
On a webpage, we can jump from a webpage to another Webpage through a hyperlink. How can we achieve the jump between webpages on a mobile phone?Principle: It is implemented through the combination of the layout file and the setContentView () method.
PrefaceYou can drag images by sliding your fingers on the screen on any mobile phone. In fact, this is very simple in Android. I will explain it to you in detail below.
IdeasFirst, we need the Gallery object, which is also known as the Gallery
Recently, it was found that the waterfall stream is very popular, so I studied it and found that the waterfall stream is actually very simple and not that complicated. Read the code first and then explain it again.
First look at the figure
Document directory
What is Activity?
  Activity
Please refer to the following link for more information:
Content Overview
• Inheritance relationship of Activity
• Context in Android• How Acitivy is actually instantiated• Activity Lifecycle•
Thank you @ gangzi for providing such a community communication platform, and I am especially grateful to gangzi for providing the upload permission. Haha, I am also sending a simple Demo today to contribute a little bit to the community.Recently, I
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.