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


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

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE6 Firemonkey MP3 Player | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSOne 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.

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

Related posts

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging


Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


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

Sign up for our Newsletter and
stay informed

Leave a Reply