During the development process, viewpager sometimes needs to nest horizontalscrollview. However, the sliding event of horizontalscrollview is intercepted by viewpager, which makes horizontalscrollview unable to work. Read the
I was very excited when I finally got started with Linux because of my work needs, but I also encountered many problems. I feel like Ubuntu is really powerful, in addition, I learned a lot about design through Linux, but it is worse than Windows in
In Android Application Development, there will be many places where image scaling is required, either out of appearance or out of memory savings ..
Here, the author summarizes several common image scaling methods.
First: Use bitmapfactory.
OriginalArticle, Reprinted, please note: Reprinted fromKeegan Xiaogang
Link:Http://keegan-lee.diandian.com/post/2012-12-06/40047548955
If you need to obtain the same image from the network every time you load it, the cost is too high.
The new version of ADT modifies the third-party jar import method. Previously, it can be associated in the project, and referencelibrary will be automatically added to the project. In the new version of ADT environment, you only need to create a new
Android Dev Guide Series 14: user notification (1)
Lazy bones (http://blog.csdn.com/iamlazybone)
User notification
In several cases, you need to notify the user of some events, such as the following:
@ When the file is successfully saved, you need
Welcome to the android development tutorial!
It mainly describes how to build an android project and an adjustable version. Are some basic things of program design, such as creating a simple interactive interface and processing user input.
Steps:
1.
Recently, the project needs to monitor the insertion and removal of the SD card. Many things are not mentioned when searching for broadcasts on the Internet. I will record these items for future use.
1. If a single activity listens for broadcast,
The idea of the custom dialog box is to compile the layout file XML of the dialog box and display different controls in the dialog box. The following uses the display text control as an example (imageview can be displayed ).
1. layout file
Principle:The Android system registers registration events (intent) in the system by applications to respond to various types of messages generated by the system. The Android system provides a large number of APIS for application management. You can
Version: Android 4.1, UBUNTU 12.04 64 gdb gnu gdb (Ubuntu/linaro 7.4-2012.04-0ubuntu2. 1) 7.4-2012.04
1. Compile 4.1 and get system. IMG. Replace the corresponding system. IMG.
2. Modify build/envsetup. sh, find the actual path of
I. Problem Introduction
Exception: only the original thread that created a view hierarchy can touch its views Solution
Why is this exception?
When each application APK is started for the first time, Android starts a corresponding main
Android: autolink: determines whether the text is displayed as a clickable link when the text is URL link, email, phone number, or map. Optional values (None/web/email/phone/MAP/All)
Android: AutoText if set, the spelling of the input value is
Ndk version: android-ndk-r8d, based on the test-libstdc ++ project in the ndk built-in samples.
1. Example project directory structure:
Test-libstdc ++/JNI/Android. mk
Test-libstdc ++/JNI/application. mk
Test-libstdc ++/JNI/test-libstdc ++. cpp
2.
Part 3 Application
In this section, we will combine the content learned in the previous two sections with Android gestures, and use different gestures to translate, zoom, and rotate images, the first two features are frequently used in practice. The
1. Add Group
// create a groupContentValues values = new ContentValues();values.put(ContactsContract.Groups.TITLE, “GROUPNAME”);Uri uri = getContentResolver().insert(ContactsContract.Groups.CONTENT_URI, values);
Groupname is the name of the group to
The getscrolly () method returns the distance from the top of the current visible area to the top of the entire page, that is, the scrolling distance of the current content.The getheight () or getbottom () Methods return the height of the current
I. Related Terms1) IMEI (International Mobile Equipment Identity) is the abbreviation of international mobile device identity code. It is an electronic serial number consisting of 15 digits ", it corresponds to each mobile phone, and the code is the
Recently, the blogger used aidl to call a project, so after studying it for a long time, he finally figured it out. Here, I will explain it to the beginners:First, create two Engineering Projects 1 and 2 under eclipse
We use project 1 as the called
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