Dex2jar And JD-GUI These two tools are a good helper for learning android. Dex2jar: Http://laichao.googlecode.com/files/dex2jar-0.0.7-SNAPSHOT.zip JD-GUI:Windows edition JD-GUI: Http://laichao.googlecode.com/files/jdgui.zip Linux edition
PreviousArticleThe following is a brief introduction to the android messaging machine:
1. Create handler in a thread with a message loop;
2. Create a message in another thread, bind it to handler, and send the message through handler;
3.
To implement an automatic update function, I need to download an APK package and then call the system installation to install this APK, that is, download myself and install myself.I downloaded the APK to the SD card and everything went well.However,
1. Decompress Android SKD
2. Execute the file: SDK setup.exe (the one in the robot icon) in the directory above)
Note: In general, the failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xmlwill appear, so you should
1. Switch the horizontal and vertical screen mode of the simulator:Shortcut: Ctrl + F12
If the screen is fixed, run dialog-> Target in eclipse can be set. If it is a command line, you can use parameters.Emulator-skin HVGA-L
2.ProgramThe
The android message mechanism mainly involves the following content: Message, logoff, and handler.
The principle is as follows: the message thread (the main thread by default, that is, the UI thread) maintains a message loop and a message queue,
A
I. Callback Functions
A callback function is a function called by a function pointer. If you pass the pointer (address) of a function as a parameter to another function, when this pointer is used to call the function to which it points, we will say
Android networking can use httppost and httpget to encapsulate post and get requests, and then use the excute method of httpclient to send post or get requests and return server response data.
1. Set the connection and read timeout time, and create
Two photography methods have been implemented for the Android system for your reference:
1. Call the System camera to take a photo.
First, find the androidmanifest. xml file to add user permissions.
Secondly, adding two controls (buttons and
In Android, how does one determine whether the system is in flight mode:
public static boolean IsAirModeOn(Context context) {return (Settings.System.getInt(context.getContentResolver(),Settings.System.AIRPLANE_MODE_ON, 0) == 1 ? true : false);}
Ubuntu 64-bit compiling Android 4.0 source code
The following errors are specific and some are not encountered. The backups of data copies found on the Internet;
===== Error 1 ======
Host C ++: obbtool : 0: 0: Error: "_ fortify_source" redefined
Hello everyone, what I want to talk about today isAndroidHow can a mobile phone dynamically move the screen direction of the mobile phone? Maybe the mobile phone also has this function. When the direction of the mobile phone changes, the screen also
Document directory
Event-driven processing mode
Follow the process of application development to briefly introduce how to use sax.
Summary
Read and Write XML (on) in Android )--Package Description.The DOM method reads XML documents. Because
Http://blog.sina.com.cn/s/blog_5edb01e90101dwh7.html
Method 1:In androidmainfest. XML, select the activity and set the windowsoftinputmode attribute to adjustunspecified | statehidden.
Method 2:Defocus edittext. Use the clearfocus
Android: digits = "1234567890. +-*/% \ n ()"Only custom strings can be entered in the restricted input box. Other strings will not be displayed.
Android: Numeric = "integer"Only numbers can be entered in the restricted input box.
Android:
Reprinted: http://www.android123.com.cn/androidkaifa/612.html
Display web pages:
1. Uri uri = URI. parse ("http://www.android123.com.cn ");2. Intent it = new intent (intent. action_view, Uri );3. startactivity (it );
Show Google maps:
1. Uri uri =
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