For example, if the activity starts the System camera function and sometimes the activity is forced to restart when it is returned, the solution is as follows:
1. Add the following attributes to the activity in the configuration file:
Android:
During the summer vacation, I participated in the first Google summer college student blog sharing competition held by Google (China)-2010 Android, and was lucky to receive the "Android app best development experience sharing Award ", I know that
I recently wrote a small app on Android to visit the new academic affairs office of the school. I did not expect that the URI is https: // type, and the httpclient seems to be invalid. After a day, Baidu finally found a solution. As follows:
First,
This article analyzes the ins and outs of the android input event subsystem.
There are many gadgets in the Android system. running these tools, we have a perceptual knowledge of them, and then we can read and analyze the source code of these
The project is getting bigger and bigger. It is a waste of time to re-compile the entire project every time. After research, find the following methods to help increase the speed and summarize them.
1. UseTmpfsTo replace partial Io
Java code will not be pasted, only the XML file will be mounted,
Method:
1. Put three images in drawable, which are the images that obtain the focus, press the focus, lose the focus, and press the focus, and the natural state (that is, the focus is
Content of this sectionUnderstanding ActivityActivity LifecycleInstance: Observe activity status changes caused by screen flip
Click here to download: lesson4.zip
1. Understand Activity
Activity is one of the four main components of the android
1. Eclipse ADTAlthough eclipse is not the only Java development environment that can be used to develop Android applications, it is currently the most popular tool, largely because of its low cost (free of charge ), but the main reason is its
I read the "miui Rom adaptation tutorial" in the miui forum and thought it was very good. I think it is very helpful to everyone and I will reprint it.Original article Forum address: http://www.miui.com/forum-forumdisplay-fid-38-page-1.html
A total
I. Exceptions
1. Do not ignore Exception Handling
If the following code is used to empty the exception after catch, it will make people feel the same as planting mines:
Incorrect practice:
void setServerPort(String value) {
try {
Address: http://www.chineselinuxuniversity.net/freesky/viewthread.php? Tid = 41
The full name of vold is volume daemon. In fact, it is responsible for completing the system's CDROM, USB large capacity storage, mmccard and other extended storage
Tablelayouyt layout is difficult to control the border,
First take a look at the following picture
There is no boder attribute in tablelayout, which is quite tangled. I don't know what Google thinks, but I don't need to talk about the border
The following error is reported when you call the interface for Obtaining user information after Sina Weibo authorization (the user does not exist ):
Com. Weibo. SDK. Android. weiboexception: {"error": "user does not exists! "," Error_code ": 20003,"
To sum up, there are several ways to set wallpaper in Android
Method 1: Obtain the wallpapermanager instance
Private void set_mytheme (INT resid) {wallpapermanager = wallpapermanager. getinstance (this); // resources res = getresources (); try
Recently I wrote a file management project called deamo, which mainly provides file browsing, file directory creation, file deletion, and rename functions,
:
The details are as follows;
Package COM. taskmanage. file; import Java. io. file;
The Dalvik Virtual Machine supports garbage collection, but this does not mean you don't have to worry about memory management. Pay special attention to the memory usage of mobile devices. The memory space on the mobile devices is limited. In this
Recently, a friend asked me how to receive text messages from a specified number, and asked me not to allow the system to intercept messages to users. It's a good time to look at tianchao group. A friend also asked this question and solved it
As mentioned above, one activity can start another, including those defined in different applications. Suppose, for example, you want the user to display the street map of some places. There is already an activity that can do this, so all you need
Mediastore is a multimedia database provided by the Android system. Multimedia Information in android can be extracted from this class. This mediastore includes all the information of the multimedia database, including audio, video, and image.
Author:Li xianjing xianjimli@gmail.com
I hope it will be of great help to those who are developing the Qualcomm msm7xxx platform.
Framebuffer is not as intuitive as other guis in Android, and there are many abstract layers. In addition, 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