The Audiomanager class is located on Android. Media package, this class provides access to control volume and sound mode operation
The following are the Audiomanager ways to set the sound mode and adjust the sound size.
How to get the Sound manager:
The code is as follows
Copy Code
Audiomanager Audiomanager = (audiomanager) getsystemservice (Audio_service);
The Main method inside:
A, set the sound mode
[Android development experience] Use Android Studio for unit testing and android unit testing
Reprinted please indicate the source: http://blog.csdn.net/zhaokaiqiang1992
Android Studio has reached version 1.2, and developers in China are basically switching from Eclipse to Andr
Android configuration file (2) and android configuration file
We know that each module of the Android system provides very powerful functions (such as phones, power supplies, and settings). By using these functions, applications can be more powerful and flexible. However, using these functions is not unconditional, but requires some permissions. Next, we will beg
Wang Wenjun, chief architect of Xiaomi technology miui, confirmed the topic of his speech: compilation, installation and operation of Android programs.
Lecturer profile: Wang Wenjun, Master of Science and Technology University of China, formerly IBM system engineer, is now the chief architect of Xiaomi technology miui and author of The Open Source C compiler project UCC.
Topic Introduction: compile, install, and run
Introduction to Android Development (20) content provider 20.3 predefined query characters
Introduction to Android Development (20) content provider 20.2 ContentProvider use
Getting Started with Android development (20) content provider 20.1 data sharing
Getting Started with Android development (19) database 19.3 pr
prefer to use it on their own. I know several easy-to-use notepad software and recommend it to the landlord.Some software can be downloaded in [Android park]. You only need to enter the notepad to find it.[Handwritten notepad]HandCalendar is a notebook, notebook, and notebook that supports handwriting. It also supports saving recorded content to the calendar. The handwriting function of the software is relatively powerful. It supports 10 colors and 3
Free Library and tool set for Android development, android class libraryA set of free class libraries and tools for Android development, which are classified by directory. Action Bars
ActionBarSherlock
Extended ActionBar
FadingActionBar
GlassActionBar
V7 appcompat library
Advertisement
AdMob
Google Mobile Ads SDK
InMobi
MMedia
MobileCore
MoPub
Tapjo
Tutorial Index
Android drag and drop tutorial
Android plotting (drawables) Tutorial
Android styles and themes tutorial
Live wallpaper tutorial
Homescreen widgets tutorial
Custom views for Android (M m views) Tutorial
Android supports support for different screen siz
Reprinted the multi-thread usage of Android multi-thread processing, large collection of android
Handler. post (r) does not actually start a new thread, but the run () method in runnable is not executed, so runnable still runs the UI thread.
1. If it is like this, you can operate the ui, but run is still in the main thread. See that the printed Log thread name is main, which indicates that it is the main th
Android M Developer Preview, androiddeveloperAPI Overview
The M Developer Preview gives you an advance look at the upcoming release for the Android platform, which offers new features for users and app developers. This document provides an introduction to the most notable APIs.
The release of the coming Android platform will provide new features for users and App
Ym-Android bus summarizes nearly a hundred excellent open-source android projects.
1. sample projects provided by the Android teamIf you do not start by learning the sample code provided by the Android SDK, there may be no better way to master the development on the Android
Android. Permission. access_coarse_locationAllow a program to access cellid or WiFi hotspot to obtain rough location(Allows an application to access coarse (e.g., cell-ID, WiFi) location)
Android. Permission. access_fine_locationAllow a program to access excellent locations (such as GPS)(Allows an application to access fine (e.g., GPS) location)
Android. Permis
About Android ProjectsA project is a container for saving source code and resource files.The Android SDK tools provided by Google can only be compiled and packaged for projects with a fixed directory structure. It is therefore highly recommended to create an Android project using Eclipse + ADT or Android commands.You c
Android is a milestone in the development of embedded Linux. In recent years, there have been a large number of Embedded Linux applications, and some people have come to unify the world, give confidence and a success model. Android is a successful example of embedded Linux!
The open source code for Android is too helpful for studying all aspects of the embedded
My Android advanced tutorial ------) Create and view a custom Debug version Android signature certificate in Android
When Android Application Development accesses various sdks, it will find that many sdks need to be identified by the package name and the certificate fingerprint SHA1 code, such as the Baidu map SDK. In
ArticleDirectory
10th class: Gui core system update
11.1 system UI changes
11.2 desktop update
There are many Android versions. in the traditional sense, a large number of device manufacturers are mainly Android 2.2/2.3, but now they need to switch to Android 4. version X. X system vendors and developers focus on the following:
1. Core Tec
animations, Google's designers simulate the physical rules of animation design, and the animation plays quickly, not slowing down the entire app, but is enough "modest", but compelling.The first glimpse of Android 5.0, will feel its main interface (home screen) is quite different: the style of the following navigation keys have changed, become very much like the key of the PS console handle, the triangle is the return key, the circle is the home butt
1. PrefaceIn the previous article we introduced the basic process of building an ArcGIS Runtime SDK for Android development environment based on Android Studio, in which we used the Gradle-based approach to build, in this way primarily by setting up the MAVEN warehouse location , set compilation options, dependent versions to download the corresponding SDK dependency package in a networked environment.But i
Build the Android Development Environment build the first Android project, and build the android Development Environment
I personally pay attention to the time it takes to install the development environment. Generally, it will not take a long time, so I can use it right now, instead of configuring all the resources, in this way, I will feel a waste of time, and
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.