The common method for saving logs in Chinese medicine projects is to use Android logcat to save logs, as long as the service is copied from the Internet to the project, it can be used. At the beginning, I also did this. In the case of few logs, it
Reference: http://linux.chinaunix.net/techdoc/beginner/2009/02/06/1060906.shtml
Running Environment: ubuntu8.10
1. Build a cross-compilation environmentAndroid's default hardware processor is arm, so we need to build a cross-compilation
[Thanks for reference]: http://mukeshyadav4u.blogspot.com/2012/06/integrating-zxing-qr-code-scanner-into.html
Using the connection method, I found that no result is returned after the reading is successful, and then I checked the source code. The
[This article lists the obtained information and uses the right as a record]
1. decompress the software. In this article, we use WinRAR: Decompress xxx.apk to obtain classes. Dex.
2. Download dex2jar from the https://code.google.com/p/dex2jar/ and
To use SSL on Android, the first step is to generate a certificate.
1. Certificate generation
1.1 generate a server certificate
keytool -genkey -alias test -keystore test.jks
1.2 export the CERT in the keystore to generate the client Verification
Post: http://zouyuefu.wordpress.com/2011/04/02/android%E5%BC%80%E5%8F%91%E5%B8%B8%E8%A7%81%E9%97% AE %E9%A2%98%E5%8F%8A%E8%A7%A3%E5%86%B3/
1. illegalargumentexception: view not attached to window manager form leakage: solution: Define the UI
There are many ways to implement the timer. Here I will briefly introduce several methods
(1) handler + runnable
Handler handler = new handler (); runnable = new runnable () {@ overridepublic void run () {// What You Want To Do //...... system. out.
/**Version: 1.0Date: 2009-03-18Author: hkjinzhaoRemarks: initial version*//**Version: 1.1Date: 2009-03-27Author: hkjinzhaoNote: add the make SDK and modify some content.*/
This compilation process mainly refer to the official documentation
Recently, I have found some information about Android thread communication, sorted it out, and made a simple example.Andriod provides handler and logoff to satisfy inter-thread communication. For example, if a sub-thread downloads an image from the
/**Version: 1.0Date: 2009-03-18Author: hkjinzhaoRemarks: initial version*//**Version: 1.1Date: 2009-03-27Author: hkjinzhaoNote: add the make SDK and modify some content.*/
This compilation process mainly refer to the official documentation
Next to the previous articleActionAdd back key to bar, Add a custom View to the action bar. Check the effect first:
Actionbar custom view layout file action_bar.xml
The layout of the spinner item is borrowed from the layout of the
Long-winded: I found my blog was reposted, but I didn't specify the source. It felt a little painful and happy. Here we formally declare: reprinted, please indicate the source, thank you. If you have commercial purposes, please be sure to inform me.
Long-winded: I found my blog was reposted, but I didn't specify the source. It felt a little painful and happy. Here we formally declare: reprinted, please indicate the source, thank you. If you have commercial purposes, please be sure to only serve
Let's talk about the text message receiving process on Android, starting with rilj. After the processunsolicited method receives a new text message, events registered in basecommands are executed through the message mechanism.The following code is
The work content is concentrated in the contact module. This application queries a lot of data. It uses the cursorloader tool to greatly simplify Code complexity. Android 3.0 provides the loader mechanism. At that time, Google's API was just a brief
In androidndk samples \ hello-gl2 under the instance, run in the android simulator, if you do not have any code, there will be an error:Error/androidruntime (258): Java. Lang. illegalargumentexception:No configs match configspec
The number of wrong
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