Adding a driver to the android kernel is actually adding a driver to the Linux kernel. It mainly adds vertex information to two files, one is the kconfig file and the other is the MAKEFILE file. For example, the driver you addedCodePut it in the xxx
Reference http://source.android.com
1. Install JDKJava 6: used to compile android2.3 and later versions:Sudo add-Apt-repository "Deb http://archive.canonical.com/lucid partner"Sudo add-Apt-repository "Deb-Src
To publishProgramDevelopers need to use their own digital certificates to sign the APK package. There are two methods.
1. Use JDK and keytool (used to generate digital certificates) and jarsigner (used to sign digital certificates) in the command
Android receives and sends SMS messages. The maximum number of supported characters is 70, and the actual number is 67 characters. If the number of sent SMS messages exceeds this limit, the implementation method is different.
Long SMS reception:
Idea: use OpenGL to draw a circle, the vertex is the center + the point on the circumference, the vertex color value (0, 0, 0, 0), the color value of the circumference point (0, 0, 0, 0, 0xff), enable Alpha mixing, and use glblendfunc (gl_zero,
Note:
I used Android development under XP in the past. Now I am using a classmate's book, which is a 32-bit win7 flagship edition. I can't help but reinstall it ....
Verified and summarized as follows
1. First, JDKRight-click "computer"->
I believe everyone is very envious of the operations on screen drawing on the left and right sides of the android desktop. QQ, Sina Weibo, and androidmarket all have such operations, and many of them are used as the main interface. It can be seen
I recently modified the lock screen time of Android and found that there are only interfaces for reading and writing databases in settings, but I didn't find out how these values actually work.
Finally, we can use contentobserver in phonewindow to
/*************************************** *************
Everyone knows that it will be very tiring to write a blog.
Hope = reprint please indicate the source: http://blog.csdn.net/ta893115871
Please do not pity your mouse, (* ^__ ^ *) Xi ......
**
From: http://blog.csdn.net/you_and_me12/article/details/7327030
Slidingdrawer is not described if it is used in many ways.
If the property layout_height = "wrap_content" is set, the onmeasure () method in the original slidingdrawer makes
Disclaimer: Please indicate the source for reprinting this article! Source creative from: https://play.google.com/store/apps/details? Id = us. bestapp. PM25
Source: http://download.csdn.net/detail/weidi1989/5789763
(The source code is packaged
See the example in exmaples: collisiondetectionexample and see the following:
In fact, this example is very similar to drawing a virtual game joystick. The difference is that there are two Sprite in the middle. The key statement for determining
When we try to write game applications using andengine, if we want to add rich and colorful elements to the game, but try to use particle transmitters,
Andengine examples provides three examples to demonstrate the formation of two kinds of dynamic
The UI is the face of every application that interacts with the user. A good face is not just to be beautiful but to be human. It is best to have a good meal, but to have a strong temperament and be gentle and patient.
For developers, forging such a
For details about how to debug the gdb process on Android, refer to the previous article.
If an android application contains a dynamic library call, a bunch of addresses are provided after the application exits unexpectedly,
For example
I/debug (841
The task was completed early today and we will share with you about socket programming.
Android uses the Java Socket model. If you have learned Java Network Programming, you must be familiar with it.
Today, I mainly use the TCP protocol for
if (mIntentReceiver == null) { mIntentReceiver = new MissedCallIntentReceiver(); final IntentFilter myFilter = new IntentFilter(); myFilter.addAction("com.android.phone.NotificationMgr.MissedCall_intent");
Android relativelayout attributes
// Relative to the given ID Control
Android: layout_above: place the bottom of the control on the control with the given ID;
Android: layout_below: place the bottom of the control under the control with
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.