It is simple! Audiomanager maudiomanager = (audiomanager) getsystemservice (context. audio_service ); // Call volume Int max = maudiomanager. getstreammaxvolume (audiomanager. stream_voice_call ); Int current = maudiomanager.
Android: Id = "@ + ID/edtinput" Android: layout_width = "0dip" Android: layout_height = "wrap_content" Android: layout_weight = "1" Android: inputtype = "textcontactmessage | textautocorrect | textcapsentences | textmultiline" Android:
The progress of human science and technology comes from exploration. The exploration comes from the original discovery. Of course, the app layout is not so advanced. This article is just a summary.This articleArticleIt is a must-have knowledge for
Next, let's move to the android Learning Series (10) -- drag the App list listview (top). We will continue to implement the drag-and-drop effect of listview. 7. Override the ontouchevent () method.In this method, we mainly deal with dragging and
The friendly visual perception and stable and error-free performance come from our pursuit of aesthetics and comprehensive consideration. I have always enjoyed it from a technical point of view.This articleArticleIt is a must-have knowledge for
I have studied the implementation of drag-and-drop listview for a long time and have benefited a lot.In view of the fact that the content on the Internet is small and simple, and the specific implementation process may be helpful to everyone, in
I have witnessed many upgrades in the blog Park. You also want to notify users of new features by updating your software. Yes.This articleArticleIt is a must-have knowledge for Android Developers. It is not perfect but useful for everyone. 1.
Blog writing is a kind of happiness, provided that you write something and share it with others is another kind of happiness. The premise is that you have a stage to show, and the blog garden is such a stage.This articleArticleIt is a must-have
This article is a casual talk. Let's talk about the main interface layout of several popular applications. We can also find a classic layout.It is not to find out how difficult it is, but to understand that we really need to do so.Taking a question,
The cursor listview provides index tags so that you can quickly locate list items.It can also be called index listview. Some people call it tweaked listview, which may be more vivid.I understand everything in the figure: 1. cursor (fast scroll
The JSON data format is widely used in Android for client-to-Network (or server) communication. It is very necessary for you to learn about it systematically.I have recently made a simple study on json. I would like to summarize it to
We recommend that you plan for the rain and explore the wells without thirst. ---- Zhu Yichun zhijia Maxim Offline download: downloads server data in the case of a network, so that you can read data without a network, that is, read data offline.
Someone says,ProgramThe staff is quiet, but I don't fully agree that the noise of programmers is hidden inCodeIt is hidden behind the program.This articleArticleIt is a must-have knowledge for Android Developers. It is not perfect but useful for
This article is a casual talk about how we can build a good architecture during the initial stage of project initialization in Android development.I don't think there is much talk about the android architecture because of mobile phone restrictions.
According to the preceding Article In the listview drag implementation principle, we are also very easy to pull the gridview, the following is the same steps to achieve the basic gridview drag effect. Because the gridview does not need to be
It was not long before the mobile phone was refreshed. Google released Rom 2.3.4 and Rom 3.1 and codenamed 2.4. Despite the fact that many of the large versions target very small groups, however, Android is still trying its best to catch up with the
I have been paying attention to mobile development for a long time, from the original Widnows mobile, to Saipan, to iOS, bada, Windows Phone 7, meego, to the current android. Because the work and mobile fields are irrelevant and there is not much
Axure RP is a well-known interface prototype design tool that can flexibly and quicklyProgramDesign prototype. Recently, I want to develop an android client and use axure RP to design a prototype. Axure RP does not have a mobile terminal
In recent work, the project needs to develop an android client that calls the WCF Service to obtain data. I have never done Web Service Development on Android before. I checked it temporarily and sorted out a complete example. Download test code
In the previous article "Android Learning Series (22)-Comparison of App Main Interface", we analyzed several main interface la S and selected the most popular classic layout.Today, we will use the code to implement this classic layout. 1. Preview a