In the development of Android applications, you sometimes need to restrict horizontal and vertical screen switching. You only need to add the Android: screenorientation attribute restriction to the androidmanifest. xml file.
Android:
This popular article on the csdn blog introduces 10 blogs about Android Application Development and shares their accumulated experience.ArticleIt is helpful for Android Developers.
[1] Zhang Guowei: Android from entry to upgrade Series
I have
Recently I have been studying the android game engine angle, preparing to record my learning experience. My goal is to use it to implement the UI and add some fascinating effects to my android applications. After a preliminary study, you only need
Hdpi mainly contains high-resolution images, such as WVGA (480x800) and fwvga (480X854)The mdpi mainly contains medium-resolution images, such as hvga (320x480)Ldpi uses low-resolution images, such as qvga (240x320)
For the Android platform,
My laptop is a Windows XP + ubuntu10.10 dual system. The Android development environment is configured in both systems, but it only runs simultaneously in XP.ProgramToo many, at least 360 + anti-virus software should be run, so with AVD added, the
Lazy bones (http://blog.csdn.com/iamlazybone)
Descriptions of Rokon:
Rokon home: http://rokonandroid.com
Rokon documentation: http://rokonandroid.com/javadocs/
I have not passed the level 4 test ~ The level is limited ~ Right when learning notes ~
Descriptions of Rokon:
Rokon home: http://rokonandroid.com
Rokon documentation: http://rokonandroid.com/javadocs/
Lazy bones (http://blog.csdn.com/iamlazybone)
I have not passed the level 4 test ~ The level is limited ~ Right when learning notes
I have been studying this problem for the past two or three days. Today I have finally succeeded. The final result I want to achieve is that when I press the button for the first time when taking a photo like a camera, a rectangle box will appear
From: http://blog.sina.com.cn/s/blog_69a4fbd70100r5j4.html
Overview
Fragment represents an action or part of the UI in an activity. multiple fragment can be combined and placed in a single activity to create a multi-Interface UI, and a fragment
To obtain the available memory of a mobile phone, you must first obtain the system service information,
Activitymanager myactivitymanager = (activitymanager) getsystemservice (activity. activity_service );
Then obtain the memoryinfo type
Edittext inheritance relationship: View --> textview --> edittext
Edittext has many attributes. Here we will introduce several attributes:
Android: Background = "@ null" // edittext remove border
Android: hint = "enter a number! "// Set the prompt
If you do not have eclipse installed with the ADT plug-in, you can use the command line tool to create a project:
Switch directory to Android SDKTools/Directory.
Run:Android list targetsThe console will display a list of available Android
In Java, we can use socket programming to implement chat rooms. This is also true for Android, because Android fully supports TCP and UDP network communication APIs of JDK. We can use serversocket and socket to establish network communication based
In Android system settings, the option of automatic synchronization of network time is available. After broncho A1 is transplanted to Froyo, we find that the time synchronization option is invalid. So I spent a little time studying the Network Time
In our work, we often need to use the network and check the network status is essential. This is a tool class for checking the current network status. It can be directly pasted in the past:
Package COM. todoo. android. app. utils; import java.net.
Download a UC client and change the suffix of the APK to the RAR file in the compressed format. Then, extract all the content. If your development experience is good, you will soon understand it.
1: In fact, UC browser is not very difficult. Many
Binding Service Usage
When binding services, the most important thing is to define the interface returned by the onbind () callback method. There are three methods:
1. inherit the binder class
2. Use messenger
3. Use aidl
The method 1 and 2 is
1. Set the shadow font of Android
Android: shadowcolor shadow color
Android: horizontal offset of shadowdx shadow
Android: vertical offset of shadowdy shadow
Android: shadowradius shadow range
To unify the style and reuse the code, we can
1. Background
When using the TCP/IP protocol for data transmission, iocp is often used. We often think that if HTTP can use the multi-thread mode for data interaction, it will bring a better user experience to the system/application. The focus of
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.