The first step, open the cool Dog Music box, then choose your own favorite tracks, click Download.
The second step, after downloading your favorite tracks, click on the song name behind the appreciation version of MV.
Cache location:
Method One, "C:documents and Settings user name Local settingstempkmusic" folder, inside can find is playing in the mv~ Local Settings is hidden,
Method Two, click on m
Android app-simple and beautiful music players add phone monitors
In September 2nd, the simplified and beautiful music players started Stage 1
Stage 1 has completed the following functions:
1. automatically display the music list
2. Click the list to play the music
How to download a cool dog music on the singer photo
As pictured, play a song. Click "Lyrics" to see the lyrics and the singer photo.
Placing the mouse over the diagram area will pop up the menu option. Select the last "desktop Photo".
This time our desktop has become a singer, don't be afraid, cool dog did not change our wallpaper, just play songs when you can temporarily replace the d
Business: Android program for playing music.
Knowledge point:
1. Three of the four Android components are used (activity, service, broadcast)
The communication between activity and Serivice is implemented by the broadcast component. More than 10 broadcasts are published and received in the program.
2. The thread and application class are also used to save global
This article introduces the MediaPlayer local music player. When the application is no longer on the frontend and is not using it, we need to establish a Service to ensure that the audio continues to play.
Interaction between Activity and Service binding is the focus of this article (here we need to note that Activity cannot directly access methods in Service objects, so we have introduced it here, this is also a consideration for service security and
Playing background music in androidAfter referring to what was written on the internet, I used it to play music in a new thread. Later I found that every time I entered the Activity, I would start playing a music again. To avoid repeated playback, I added the singleton mode based on the original code. This avoids repeated playback.
Package com. liu. zhen. utils;
The player features are as follows:
1. Pause, play2. Drag bar implementation, fast forward, rewind3. Sync Lyrics4. Next song, last one.5. Album Image display6. Background playback, notice bar display7. Call, pause, end of call, start playing.The interface is as follows:
When playing, there will be an icon in the notification bar. Paused, Icon disappears
Background playback, will be displayed in the notification bar, click, you can enter the playback interface
Use details:Download the
With two days of free time, research has written a class Win8-style Android music player that implements most of the basic functions. Here's a look at the specific description:Basic implementation Features:Note: Android system version must be above 2.2, to ensure that the phone installed SD card (some icons to QQ music
Self-developed Win8-style Android music player application source code (standalone version), win8android
I spent two days in my spare time studying and writing a Win8-style android music player, which implements most of the basic functions. The specific description is as follows:
Basic functions:Note: The
This project is an Android-based in-car environment music player, from the UI can be seen professional art design, interface layout and background is very textured user experience is very good, because the project is considering the car environment, so all the functions are mainly using gesture operation. Open the app to enter the four-screen boot interface, the main interface can accept the upper and lower
); StartService (Intent);//exit Current Activity This. Finish (); }Else if(V.getid () = = R.id.btnstop) {//Stop playing musicIntent Intent =NewIntent ( This, Musicservice.class); StopService (Intent); } }}After we clicked the button "play music and exited activity", we first started musicservice through the activity's startservice, and then we immediately called the activity's finish method to destroy the current activity. You ma
This article illustrates the solution to the handset's inability to play music in Android development. Share to everyone for your reference, specific as follows:
This problem makes my egg ache, since Baidu also has the information of wood.
The main reason for the time consuming is because of insufficient permissions, but not terminating the program, with only a small line of log reminders, not seen
It's
This is my collection of the classic books on Android development, high-definition PDF electronic version, can be downloaded in my Baidu network free of charge, I hope that the need for friends to help. Directory:Android 4 Advanced Programming (full source code included)"Crazy Android Handout""Android App Development (Guo Hongzhi)""
Recently I made an android music player. I personally felt that the most difficult part was "playing back" and "playing list", but I finally found the implementation method. Different people may implement different methods. Here I will share some of my implementation methods for the "playlist" module. "playing back" will be introduced in the next blog, I hope you can share some of your ideas.
The club's homework has been dragging on for a week, so I am sorry to stop it... I started my head the night before. It was always unable to continue coding because the resources were too large to run .. Today, I accidentally deleted the music Resources in the previous project and added another music ~ To avoid re-running, I added two music and switched back and
After the basic Android training is complete, you can create a simple music player. For the first small Android project, baseline the picture ~~~~
The UI is inspired by the fact that thunder looks at the player and plays the mediaplayer class when audio is used in Android.
The audio track control is more complex
1. Service Introduction
Official explanation:ServiceIsAn application component that can perform long-running operations in the background and does not provide a user interface. another application component can start a service and it will continue to run in the background even if the user switches to anotherApplication
That is to say, a service is a component that can run in the background without providing a user interface. Other applications can start a service, and even switch to another appl
and orderly pass through the process boundary.
It is tedious to implement this data transmission process through code. Android provides the AIDL tool to handle this task.Select AIDL application scenarios
The official documentation reminds us when to use AIDL is necessary: Only you allow the client to access your service from different applications for inter-process communication, and want to process multithreading in your service.
If you do not need
Recently in making an Android phone on the music player, learned a lot of things, such as the use of Fragment,actionbar, and so on, here is the first to introduce the implementation of the lyrics synchronization.
The realization of the lyrics synchronization is simple: Get the time and lyrics in the lyrics file LRC, and then play the corresponding content within the specified time. The difficulty lies in h
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.