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.

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

Related posts
AndroidComponentDelphiDemoFiremonkeyIOSLinuxOSXShowcaseWindows

Experience ChatGPT As A Native Cross-Platform Firemonkey Application

DelphiLibraryWindows

Run Large Language Models Entirely On The GPU With Delphi And Vulkan

Code SnippetDelphiDemoLibraryWindows

Add Real-Time AI Voice Conversations To Windows Applications

ComponentDelphiDemoLibraryWindows

Give AI Models Eyes, Ears, And Real-World Capabilities

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

Leave a Reply