W wdegler Active Member Licensed User Longtime User Jul 8, 2014 #1 At this point in my present endeavors, I need to play a short mp3 file but I am confused about the parameters for the Initialize function. An example and/or a tutorial about MediaPlayer will be much appreciated. Walter Danny Degler
At this point in my present endeavors, I need to play a short mp3 file but I am confused about the parameters for the Initialize function. An example and/or a tutorial about MediaPlayer will be much appreciated. Walter Danny Degler
Erel B4X founder Staff member Licensed User Longtime User Jul 9, 2014 #2 B4X: Dim mp As MediaPlayer mp.Initialize("mp", File.GetUri(File.DirAssets, "somefile.mp3")) mp.Play Upvote 0
rwblinn Well-Known Member Licensed User Longtime User Jul 9, 2014 #3 Hi, B4J HOWTO Example Project here. Upvote 0
W wdegler Active Member Licensed User Longtime User Jul 9, 2014 #4 Erel said: B4X: Dim mp As MediaPlayer mp.Initialize("mp", File.GetUri(File.DirAssets, "somefile.mp3")) mp.Play Click to expand... Thank you, Erel, for the information; this is exactly what I need! rwblinn said: Hi, B4J HOWTO Example Project here. Click to expand... Thank you for the information; I can now proceed. Upvote 0
Erel said: B4X: Dim mp As MediaPlayer mp.Initialize("mp", File.GetUri(File.DirAssets, "somefile.mp3")) mp.Play Click to expand... Thank you, Erel, for the information; this is exactly what I need! rwblinn said: Hi, B4J HOWTO Example Project here. Click to expand... Thank you for the information; I can now proceed.