function, just add a line of code to complete. Private void Play(intCurrentTime) {Try{Mediaplayer.reset ();//Restore the parameters to their original stateMediaplayer.setdatasource (path); Mediaplayer.prepare ();//BufferingMediaplayer.setonpreparedlistener (NewPreparedlistener (currenttime));//Register a listenerINITLRC ();//Update playback statusIntent Intent =NewIntent (Play_statue);//Send the completed signal, update the playback statusIntent.putextra ("Playstatue",true); Sendbroa
Document directory
Ext. Air. Clipboard clipboard
November 24,200 8 by Aaron Conran
In fact, we have been paying attention to Adobe AIR, and with the subsequent cooperation with Adobe, we have been focusing on ext. the air package has enhanced several functions, including adding new categories of sound, forms, databases, information, clipboard, and file system interfaces. At the same time, we will list new examples to show how to use these new features. One example is the ext
realizes the function of the MP3 playerSimple implementation of the function of the MP3 player, meet the comparison is not good, speakCheck it out.Main functions:1. Display the file list, mainly referring to a predecessor's code, thanks.2. You can implement playback start, pause.3. File filteringJava Code Collection CodeReturn f.isdirectory () | | F.getname (). E
Is there any mp3 music player in linux? -- Linux general technology-Linux technology and application information. For details, refer to the following section. [I = s] This post was last edited by append at, January 14 ,.
Is there any mp3 music player in linux? My linux is from fedora 16.
Which one can give me one
I will give you a detailed analysis of the Illustrator software and share the tutorial on creating the MP3 music player icon.Tutorial sharing:1. In the Ai software, create a 800*800 document, select the rectangle tool, draw a rectangle image, and fill the color, as shown in the figure.2. Select the rectangular tool to effect-stylized-rounded corner, as shown in the following figure.3. Select the rounded cor
Installing software in Ubuntu is simple and convenient. If you don't want to hear MP3, you can install an MP3 player in Ubuntu. The name is audacious.
Installation Method: Open the Ubuntu terminal and enter the following command:
Use sudo apt-Get install audacious
Then install audacious-plugins-extra
Sudo apt-Get install audacious-plugins-extra // playabl
that was obtained before the activity was bound to the service. whenever the activitybinder.transact (0, data, reply, 0); When invoked, the service invokes the Ontransact method, loads the obtained data into the parcel object reply, and then the entire The IBinder object returns activity. MP3 player This is finished, may be very messy, I hope to help you, source code download Link: http://download.csdn.n
Scan local file to load to itemNot limited to apps to music player, other Android works, can also use SdcardsearchtolistOther Android projects can also be used, I have now done a very small demoLater will post, will be in the player, add this function, to achieve just downloaded music, loaded into the playerThis demo source download:http://download.csdn.net/album/detail/3105The name is: Sdcardsearchtolist,
I had published the blog: Do you use the Java swing to make such a dazzling MP3 player? and to display some screenshots on this MP3 Player.The target for this blog is so-publish the source code, and you can download the source code and give me some advices If possible.The Operation guide:Original Pic: http://image.mamicode.com/info/201408/20180110154103280894.pn
reply,
Int flags) throws RemoteException {
String str = data.readString();
Int currentPosition = mediaPlayer.getCurrentPosition();
Float s = (float)currentPosition/mediaPlayer.getDuration();
If(isPlay)
reply.writeFloat(s);
Return super.onTransact(code, data, reply, flags);
}
Yes, I do. It is the IBinder object that was obtained prior to the activity and service binding. whenever the activitybinder.transact (0, data, reply, 0); The service calls the Ontransact method. Load the acquired
)";
Else
Nano_str = "";
printf ("This program is linked against GStreamer%d.%d.%d%s\n",
Major, minor, Micro, NANO_STR);
return 0;
}
Compile run
# Gcc-wall $ (pkg-config--cflags--libs gstreamer-0.10) hello.c-o Hello
./hello
Operation Result:
This program is linked against GStreamer 0.10.22
Third, command line MP3 player test
#include #include Define the message handler function,
Static Gboolean
The following is the core code for making a simple MP3 player.
Xmlns: MX = "http://www.adobe.com/2006/mxml"
Width = "400" Height = "110" layout = "vertical"
Horizontalalign = "center" verticalalign = "center"
>
Import MX. Core. soundasset;
Import flash. Media .*;
[Embed (Source = "song.mp3")][Bindable]Public var Song: class;Public var mysong: soundasset = new song () as soundasset;Public var channel: sound
The following is a use of flex-made MP3 player, in addition to the volume adjustment, left and right channel adjustment, playback suspended outside. A dynamic waveform diagram is also plotted by sampling the sound. The effect chart is as follows:
The code is as follows
The Mini page, the playlist page to the right of the player, now has a narrow version and a wide version, the same source of the problem, the solution is similar.The Mini page doesn't show. Generally refers to the following situations when you open the player:(1) The Mini page is all Black or full white, without any words.(2) long time classified information loading(3) Expand the category for a long time di
How to solve the problem that Win8.1 use PPTV player to see the movie black screen.
The specific steps are as follows:
1, please open the Windows Media Player player, and then select "Tools-Options-performance-Advanced", "Enable Full-screen mode switching" before the check to restart PPTV network TV, to see i
Win8.1 system with PPTV player to see how the movie black screen to solve
The specific steps are as follows:
1, please open the Windows Media Player player, and then select "Tools-Options-performance-Advanced", "Enable Full-screen mode switching" before the check to restart PPTV network TV, to see if the problem can
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.