Android framework recommendations that mobile developers must know
Some of the summarized Android quick development frameworks are all open-source frameworks with the Project address, which is an excellent material for development and
Nearby location search solution
With the rise of the mobile Internet, more and more apps have added the LBS element. In various LBS applications, finding nearby locations is the most basic and common form. Some time ago, a new feature was added to
The Toast in the Activity reports an error after the Activity is destroyed. The solution is to change the context to the application, toastcontext
ToastUtil. showShort (context, R. string. connection_fail );
Change
ToastUtil. showShort
Android dynamically sets the font color and android font colorSteps:
1. Add the color to the strings. xml file in the values Folder: for example
# ccc
2. If you write directly like this:
TV. setTextColor (R. color. ccc );
In theory, it
Enter tel: 12345678901 in the "website" Field of the android contact (the number after the colon is greater than 10 digits), save it, click the contact profile, and the contact stops running1. Create a contact-> enter "tel: 012345678901" for the
Android-Fragment's onActivity strange Bug
1. You will often see the nested Fragment of the Activity, and open another Activity from Fragment,
When the onActivityResult () method of Activity and Fragment is rewritten, it is found that the
Implementation of the android wheel Scale
If you encounter a requirement, you need to achieve the following results:
Examples/examples/D5rXEv8y2yM/examples + examples/qOsu7nT0NLUx7C/examples + CjxwPjxpbWcgc3JjPQ =
Android has been working for a year. Let's look back at Activity and androidactivity.
There are two main methods for Activity redirection:
In fact, onResume is what Android programmers actually do. Pai_^
Every stage of the life cycle is
First: Write the HTTP framework introduction by yourself. First, the Framework
I believe many people will question: there are already so many open-source HTTP frameworks on the Internet, and android-async-http is very mature. Will it make sense to
Meanings of RelativeLayout attributes in Android, and relativelayout attributes
Android: layout_above = "@ id/xxx" -- place the control above the specified ID control.Android: layout_below = "@ id/xxx" -- place the control under the specified ID
Let Qt for Windows Phone 8.1 run on a real machine, qtphone
Run Qt for Windows Phone 8.1 on a real machine
The previous blog posts paved the way for this article. The ultimate goal is to use the Qt framework to create programs that can run on
[Android Development Notes] weight attribute, androidweight
Use weightSum and layout_weight together
First look at the effect. The button occupies half of the screen width.
See the description in the development document.
"Defines the maximum value
Android image framework: Quick use of universal-image-loader
During Android development, you may encounter the following situations:
1. asynchronous image loading
2. Image Cache
3. Image Display
4. Others ...... (Forgot)
In the above cases, you may
Android NDK R9 environment configuration, development tutorial
NDK is a tool set that allows your applications to use languages such as C and C ++ of local code. Android NDK is added with the Native Development Kit in front of the SDK. Therefore,
Simple implementation of the Android dialFunction implementation: One EditView, one call Button, and the input number jump to the dialing interface layout: activity_call.xml copy code // linear vertical layout: One EditView text, one Button 1 11 12
Android layout secretsPreface today, I will write down some understanding of the layout. The main content includes the inheritance relationship between the control attributes, the relationship between the control attributes and the container
GlClearColor and glClearColor
When the kResolutionShowAll adaptation scheme is adopted, the upper and lower borders may have black borders. You can use glClearColor to set the black borders to the same color as the background color, for example:
Print Information in makefile and android. mk, and makefileandroid. mk
Print in makefile:
[Table] @ echo 'zimage-Compressed kernel image'
Print Information in android. mk:
$ (Warning TEXT ......)
When this function is executed, it will
A figure shows how Android Touch events are transmitted.Android programming how to display an image, click the corresponding position of the image and a corresponding event occurs
As follows:MImage. setOnTouchListener (new OnTouchListener (){Public
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