Android unit test AndroidTestCaseIn actual development, the process of developing android software requires constant testing. Instead, the Junit testing framework is a required technology for formal android development. In Junit, components can be
New Features of iOS9 and new features of ios9
Before IOS9, you can only use spotlight to find the corresponding app by the app name. However, with the release of iOS9 Search APIs, developers can index the content in the app and enter the content
Android basic getting started -- 8.3.3 painting API -- MaskFilter (mask)
This section introduces:
In the basic Android tutorial -- 8.3.1, the three plotting tool classes have the following method:SetMaskFilter (MaskFilter maskfilter):Set
Ubiquitous Design Pattern in Android development-prototype Pattern
Unconsciously, this series has already been written in three articles. In fact, I wanted to write the design model a long time ago, but I was afraid that I would not write it by
Four enumeration types for android
1. Context. MODE_PRIVATE: the default operation mode. This mode indicates that the file is private data and can only be accessed by the application itself. In this mode, the written content will overwrite the
AndroidVideoPlayer play videos onlineAndroidVideoPlayer plays a video online. The custom SuperVideoPlayer encapsulates the startPlayVideo () Playing video loadAndPlay (String videoUrl, int seekTime) to load and start playing the video. loadVideo
Android Memory leakage detection-LeakCanary
Add a LeakCanary dependency package
Add the following Dependencies under build. gradle under the main module app:
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1' releaseCompile 'com.
Android-enable the camera function and return results, android-take photos
Because I didn't thoroughly learn the camera function, I simply called the system's camera function. The following code:
// Method of photographing private void openTakePhoto
Android code specification 05 and android code 05
Summary of Coding Logic specifications:
1. Avoid placing multiple classes in one file, unless it is a one-time internal class
2. The code length of a method should not exceed 35 lines
3. In
Android static code check-Lint
Gradle lint
gradleInlintTask, you can directly execute the lint static code check, but the premise is that yourbuild.gradleSetlintOptionsOption:
android { compileSdkVersion 23 buildToolsVersion 21.1.2
Android screen diversity support
Preface
The screen size and density of devices running Android are ever changing. However, for applications, the Android system provides a unified development environment for all devices, and the system handles
Android NDK learning summary, androidndk Summary
1. android NDK programming steps
Declare the native method in the java file.
Create a jni folder in the root directory of the android project.
Call the javah command to generate the corresponding.
Use of Baidu map under Android Studio (1)-Environment Building, androidstudio
Recently, some students want to design graduation projects and use the positioning and MAP information functions. I have studied this for your reference. The Baidu
Basic Android tutorial -- 8.3.2 practical examples of plotting
This section introduces:
In the first two sections, we learned the attributes and common methods of Bitmap and some basic drawing APIs.If you are not steadfast, you have to write
ListView implements partial Item refresh and listviewitem
Everyone knows how to refresh the ListView data. Change the data source of the Adapter and then call the notifyDateSetChanged () method of the Adapter.
However, when a blogger is working on a
AlarmManager for Android, alarmmanager
On the Android platform, the Alarm Manager Service controls the Alarm and wake-up functions. Like other system services, AlarmManager provides an auxiliary management class. You only need to use AlarmManager to
Four major Android component application series-implement telephone interception and telephone recording, and four major android Components
I. Problem Description
Use the BordercastReceiver and Service components to implement the
Automatically wrap and add or delete a child widget of Android custom ViewGroupOverview:
Common Layout types cannot meet all requirements, and ViewGroup is used.
ViewGroup is a container for storing views. When we write the layout xml, we will tell
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