1. What is Android?
Android is an operating system applied to mobile devices. It is developed on the android SDK platform using Java.
2. What are the four main components of Android?
Activity, service, broadcast aggreger, content provider
3.
As long as you remember the following principles, the OOM problem for processing images in Android is absolutely easy:
1. Large images must be compressed in proportion before they are displayed. to exit the current activity, they must be recycled.
1. Add the APK to system. IMG.
1.1 Add the package of the third-party APK to system. IMG.
First, copy the source code package of the entire APK to \ packages \ apps. Note that the XML in the layout folder in the Code cannot contain Chinese
Android: inputtype parameter type description
Android: inputtype = "NONE" -- enter common characters
Android: inputtype = "text" -- enter common characters
Android: inputtype = "textcapcharacters" -- enter common characters
Android: inputtype =
Trism, which sells for $2.99, has sold more than $0.25 million in the app store in the first two months, but has earned only $1046 In the Android Market so far.
Developers from larva labs publicly complained this week about problems in the Android
Recently, I started to learn about Android. In order to get started faster, I found a small topic for myself to practice: WCF is used as the server to enable restful service, and Android is used as the client to send text messages to the server for
Window management is an important part of the android framework and mainly includes the following functions:
(1) Z-ordered maintenance(2) create and destroy windows(3) drawing and layout of Windows(4) token management, apptoken(5) Activity window
The previous article analyzes the classic instances of JNI. This article describes how to easily learn JNI data types through examples. All languages have their basic data types. To learn more, you must understand the most basic things. In JNI, we
Some time ago I made a PSTN call application, and the pad was connected to the landline to implement the call function. The functions of turning the address book up and down are available on the landline. The address book uses Google's default
1. java. Lang. illegalstateexception: the specified child already has a parent. You must call removeview () on the child's parent first.
Recently, the browser that comes with Android is coming to an end. When debugging is run, the preceding
I haven't written a blog for a long time. Today, I will share with you the integrated development environment for Android applications.The previously used SDK cannot be updated to 4.1, because the new SDK configuration is always incorrect, and the
Original article, reproduced please indicate the source: http://www.blog.csdn.net/tangcheng_ OK
This simple WebService is used to call Android clients. We use xfire to implement related functions. WebService is not described much. There are a lot of
Solve an interesting problem today
Problem description: assume that an application contains two activities A and B. Open a and press home to return to mainhome, in the Framework, the mainhome is rolled back to open mainhome through startactivity
Just a few days after I started Android, I recently worked on a project and needed to implement the dialog box to automatically disappear after a period of time. After searching for some resources on the Internet and referring to the SDK, I sorted
The video recording function is coming. There are related classes in androidsdk: Android. media. mediarecorder, of course, cannot be implemented during learning because the simulator does not provide necessary hardware facilities. Media can play
1) refresh at the Java layer:
If you want to refresh in thread, use postinvalidate. If you want to refresh in timer, you can use handler message to refresh. The ondraw function must be rewritten for specific refresh.
2) refresh in JNI:
Pass the
The context menu is triggered only after long click by default. You can use the following methods to trigger a single click:
Public void oncreatecontextmenu (contextmenu menu, view V, contextmenuinfo menuinfo)
{// Add a menu itemMenu. Add (menu.
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