Author: original Android Development Network
Time: 2011-10-09
Comparing Google Android 4.0 Ice Cream Sandwich and Microsoft wp7.5 mango in development technology, we can see that Google learned Microsoft's WPF design method in the early
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.
/** Obtain the position of the edittext cursor */private int getedittextcursorindex (edittext medittext) {return medittext. getselectionstart ();}/** insert a string */private void inserttext (edittext medittext, string mtext) {medittext. gettext ().
From: http://www.cnblogs.com/mcodec/articles/2122675.html
There are two audio output modes in Android, one is to use the audiotrack class output on the Java layer. However, the audio is decoded at the JNI layer. If the audio is sent back to the
The memory of the android application is limited to 16 MB, at least on the G1 mobile phone. For a mobile phone, this has occupied a lot of memory, but it is very small for developers to achieve the goal. In real time, you didn't intend to use all
Backoff Algorithms are common in Android applications. The core objective is to save resources and reduce power consumption:1. Heartbeat package of the game;
After a heartbeat packet is sent, the next heartbeat packet is processed by the backoff
The General constructor uses the related conventions of the EOE network interface a long time ago as an example:
Interface root address:Api_root = http://ws.eoeandroid.com/api/v1
Public test key:Api_key: 3yxnging8f5ugiq9j27xjqApi_secret:
1. Handler 1.1 Overview
Processing object: Handler is an object used to send and process messages or runnable objects in messagequeue in a thread;
Instance features: A handler instance corresponds to a thread and the messagequeue of the thread;
[Copyright belongs to the author wixe. You are welcome to repost it, but please inform the author and indicate the source in advance]
To decompile an APK translation, perform the following steps:1. Find the APK Installation File.2. Find the *. Dex
Android version
Many Android versions include 0.9, 1.0, 1.5, 1.6, 2.0, and 2.1.
April 15 cupcake Android 1.5September 15 donut Android 1.6: Linux kernel upgraded to 2.6.29. Support for CDMA, WVGA, and qvgaSupports opencore2 media engine and
My first map program was written in Android SDK 1.0. At that time, apikey was just released. At that time, I applied for a map resource on the simulator and mobile phone, as a result, when I switched to Android SDK 1.5, I could run it on my mobile
First run the Code:
package xiaogang.enif.net;import java.io.IOException;import java.net.Socket;import java.net.UnknownHostException;import java.security.KeyManagementException;import java.security.KeyStore;import
If you have nothing to worry about, analyze the android build system and hope to help your work. It may be helpful to others.
Android is undoubtedly a very large system. It seems that it is also a very young and dynamic system. By studying its
1. [eoeandroid journal] The first andriod 1.5 SDK introduction http://download.csdn.net/source/2399809
2. [eoeandroid journal] Phase II image processing (1) http://download.csdn.net/source/2399814
3. [eoeandroid journal] The third Android Market and
One bad effect of gallery menu sliding is that each menu that goes through the middle is selected by default, and the data is loaded so that the switching is not smooth. There is a feeling of kakaka !! In fact, the thread is used to solve this
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.
Moviguard preparation for release, support RTSP/RTP protocol, mpeg4-sp video encoding, support for real-time video viewing, photo and video, connection point management and other functions. In the future, audio can be expanded to mobile phones, TVs,
Original http://www.developer.com/ws/10-must-have-android-tools-for-developers.html bylaurenDarcey & Shane conder
The android SDK has a powerful set of tools to help developers design, develop, test, and publish high-quality Android applications.
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