Xirihanlin 2011.06.07 Original path: http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-4-customizing-adt/ In the previous articleArticleI described how to create a custom original-android.jar and how to create a custom
Xirihanlin 2011.06.07 Original path: https://devmaze.wordpress.com/2011/01/19/using-com-android-internal-part-5-summary-and-example/ To be able to use internal and hidden APIs, You need: 1. Create a custom original-android.jar that contains
Some commands are not commonly used, so I forget them. Here, I will check them if I forget them .. * Create an android Virtual Device (AVD) Android create AVD-n-name-T-target (1, 2, 3) * Ddms (its file management function) *
There are two sets of methods to update the view in Android: invalidate and postinvalidate. The former is used in the UI thread itself, the latter is used in non-UI threads. Android provides the invalidate method to refresh the interface, but
Aidl (Android Interface Description Language) is an IDL Language that can generateCodeAllows two processes running on an Android device to interact with each other using internal communication processes. If you need to access the method of an object
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> In Android, the use of listview is more complex, that is, to configure its Adapter. There are several kinds of adapters, including arrayadapter and
Http://rayleung.javaeye.com/blog/435147 Call the handler. Post (runnable R) method. runnable runs in the thread where the UI is located, so you can directly call view. invalidate () 1 Package Com. Test. androidtest; 2 3 Import
When I used DOM to parse XML, I found that Chinese Characters in XML are garbled. The solution is as follows: When using Dom to parse XML, the steps for loading XML are as follows: Documentbuilderfactory factory = documentbuilderfactory.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1. First, the layout template XML file vifi. XML is created,CodeIt is very simple, as follows: XML version = "1.0" encoding = "UTF-8" ?>
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> I can resolve JSON data in two formats; One is normal, and the other is in the form of an array; Common form:The JSON data format returned by
Http://www.javaeye.com/topic/369122 The iPhone interface is unlocked with fingers. How can this gesture be implemented in Android? The android SDK provides a listener class to detect different gestures:Simpleongesturelistener. You only need to
Some attribute definitions and usage in manifest. xml: Certificate ---------------------------------------------------------------------------------------------------------------------------------- Android: allowtaskreparenting Usage
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1. create four tab styles for 9patch. For details, refer to the default Android resource. Tab_unselected.9.png
This article combinesSource codeAnd instances to describe tabhost usage. You can use tabhost to switch between different la s on a single screen, for example, the dial-up application that comes with Android ,: View the tabhost SourceCodeMain
1. Install git Sudo apt-Get install Git-core 2. Install curl Sudo apt-Get install Git-core curl 3. Install repo and download repo through curl This is the case on the Internet or in many books: Curl http://android.git.kernel.org/repo> ~ /
ArticleDirectory Set topic in manifest Set the topic in the program When you design yourProgramYou can use styles and themes to format various screen and UI elements. A style is a set of one or more formatting attributes.
Http://www.cnblogs.com/TerryBlog/archive/2010/08/16/1801016.html In Android, if we want to accept broadcast information, we have to implement this broadcast receiver by ourselves. We can inherit from it.BroadcastreceiverYou can have a receiver.
Xirihanlin 2011.06.03 Original path: http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-3-custom-android-platform/ In my previous article, I have demonstrated how to create a original-android.jar that contains all the internal
These days I have been wondering how to implement a set of push functions on the Android device. I also have a lot of information on Google. It seems that there are no more than the following three solutions (which are reproduced below ): 1) round
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Person. xml Jerry 23 Lily 17 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Create a