Android LINT (powerful tool for code optimization)

After the ADT plug-in of eclipse is updated to the latest 16.0, it is found that there is a red check mark icon in the eclipse function bar ,: After being simple and practical, I found that this tool is too powerful. It can perform a comprehensive

[Android] simulating the effect of pressing the Home Key in Android Application Development

In Android Application Development, we do not want users to directly press the back key to exit the activity, but hide the application to the background, similar to pressing the Home Key.   Provided belowCodeFor more information, see.   Public

Android ndk instance

Android applications are developed in Java. Android ndk enables us to use the native code developed by C/C ++ on Android. There are two reasons to use ndk: one is to rationally reuse existing code, and the other is to improve the execution

The android sliding menu framework is completely parsed to teach you how to implement sliding menu effects in one minute

Reprinted please indicate the source: http://blog.csdn.net/guolin_blog/article/details/8744400 Previously, I introduced the simplest implementation method of sliding menus in history. If you forget the implementation principles or friends you have

Porting iperf to Android platform

Http://blog.chinaunix.net/u3/103613/showart_2037838.html The following document describes how to port iperf to the Android platform. 1. Download iperf source codeLatest iperf version from the below link:Http://sourceforge.net/projects/iperf/And then

Integrate jcfxbl and webview to build an Android Application Service Platform

Integrate jcfxbl and webview to build an Android Application Service Platform   This series of articles is written by ex_net (Zhang jianbo). Please indicate the source for reprinting. Http://blog.csdn.net/ex_net/article/details/8829348 Author: Zhang

Display buffer management between the sharedclient-client (surface) and server (layer) in Android surfaceflinger.

Surfaceflinger is loaded as a system service in the system startup phase. Each window in the application corresponds to the surface in the local code, and the surface corresponds to each layer in surfaceflinger. The main function of surfaceflinger

Android-Modify default Wallpaper

First, create the custom directory under the/device/vimicro/v971/directory, and then create the directory overlay \ frameworks \ base \ core \ res \ drawable. Put the default wallpaper default_wallpaper.jpg on the bottom. Then, create the

Android wakelock application and release

Android wakelock can be applied for and released by kernel space and user space. The applied non-Timeout lock requires the corresponding call of wake_unlock to release the lock, and the timeout lock does not need to be released manually (you can

Android sendevent/getevent usage

Getevent/sendevent source code The source code of these two commands is in system/CORE/toolbox/, and sendevent. c getevent. c Getevent Use getevent to obtain the events reported by the/dev/input/eventx device. This command also outputs the basic

Android audio system

0. Special terms 1. Physical Structure 2. System Architecture   This article uses the Freescale IMX platform codec alc5625 as an example. 0. Special terms ASLA-advanced sound Linux architecture OSS-previous Linux audio architecture, replaced by

How does Android find the correct underlying ALSA kcontrol interface?

An snd_kcontrol was analyzed yesterday. It can be considered that the upper-layer application uses the name to identify the name to traverse the underlying snd_kcontrol linked list and find the matched kcontrol. See snd_ctl_find_id Function /** *

Android multi-point touch zoom in and out images

Package org. example. Touch; Import Android. App. activity;Import Android. Graphics. Bitmap;Import Android. Graphics. bitmapfactory;Import Android. Graphics. matrix;Import Android. Graphics. pointf;Import Android. Hardware. sensormanager;Import

Explanation of Android layout: framelayout

Original article, if reproduced, please indicate the source: http://blog.csdn.net/yihui823/article/details/6702273   Framelayout is the simplest layout. All controls placed in the layout are stacked in the upper left corner of the screen by

Android development step-by-step instance 4-database access example

In this example, we will focus on using the SQLite database access method provided by the Android platform, including read/write access.1. Follow the following configuration and the method described in step-by-step instance 1 to create the base of

Reading and Writing files in Android

As we all know, Android has its own security model. For details, see the android development documentation. When the application (.apk) is installed, a userid is assigned,When the application wants to access other resources, such as files, it needs

Android multimedia learning 6: using services to play background music

Android allows us to use service components to complete background tasks. The permission of these tasks does not affect other user interactions.   1. Activity Type Package demo. camera; Import android. app. activity; Import android. content.

Android Traffic Statistics Code

Package jdjsq. netcon; import Java. io. file; import Java. io. fileoutputstream; import Java. io. ioexception; import android. app. activity; import android. content. intent; import android. OS. bundle; import android. view. view; import android.

How Android applications report crash reports

  Why do we need feedback on the crash report?   For Android applications, we should try to avoid crash. Although zero-crash is the ultimate goal pursued by programmers, the reality is that programmers can only minimize the occurrence of crash, and

Basic knowledge about Android 12: Android automated testing 05-monkeyrunner

In previous articles, we have introduced monkey, JUnit, robotium, And the JUnit-based Android testing framework. In this article, we will introduce monkeyrunner. 1. What is monkeyrunner?The monkeyrunner tool provides an API to control Android

Total Pages: 2774 1 .... 867 868 869 870 871 .... 2774 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.