Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodDelphiDemoFiremonkeyIOS

Native Music Player Demo In Delphi XE6 Firemonkey On Android And IOS

Delphi XE6 Firemonkey MP3 PlayerOne of the mobile samples that ships with Delphi XE6 and AppMethod is a music player demo app in Firemonkey. The music player demo doesn’t use the cross platform TMediaPlayer component. Instead the demo has two special units, one for IOS, and one for Android that implement native media player functionality. The MusicPlayer.iOS unit wraps the Apple MPMusicPlayerController class into an Object Pascal object called TMusicPlayer. And the MusicPlayer.Android unit wraps the Android MediaPlayer object into another Object Pascal object called TMusicPlayer. It doesn’t have corresponding TMusicPlayer components for Windows and OSX. The demo mp3 player is pretty full featured. You can check out the class reference for the MPMusicPlayerController class over on the Apple Developer site. You can also view the class overview for the Android MediaPlayer object here. If you don’t have XE6 or AppMethod you can check out the the source code over on SourceForge.

Head over and check out the full source code for the Delphi XE6 Firemonkey music player demo app.

close

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

DelphiIDEShowcaseWindows

Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply