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

AndroidAppmethodComponentDelphiDemoFiremonkey

Native Android VideoView Wrapper Component For Delphi XE5 Firemonkey

The Delphi Firemonkey Android VideoViewDPF component suite for Android just released an updated version which contains a wrapper for the Android VideoView control. VideoView plays videos and will display images using the native Android control. It is based on a SurfaceView. DPF includes a VideoView demo that shows how to use it. It is pretty simple right now with a one line Play() function in the demo which will play a remote video file from HTTP. This simple example is still pretty powerful because you don’t have to download and buffer or store the video yourself. It seemlessly plays a video off the web via a URL. The Android help page claims VideoView also does scaling and tinting for video viewing. The DPF component suite for Android has a lot of other components and is a must have framework if you’re building Delphi Firemonkey apps for Android. The whole suite is free and available on Sourceforge.

Update: Anyone else able to get the VideoView working? I tried loading MP4, PNG, and JPEG and wasn’t able to get anything.

Download the full DPF Android suite and try out the VideoView.



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"]

1 Comment

Leave a Reply