From the course: .NET 9 Maui: Enhanced Features for Cross-Platform Development

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Android asset packs

Android asset packs

- [Instructor] The Google Play Store only allows applications to be uploaded with a maximum size of 200 megabytes. Sometimes, there are large assets that we want to include that can create quite large binaries. To allow for this, Google has created what are known as asset packs. With .NET 9.0, Maui developers can take advantage of this Google technology. Asset packs can be up to two gigabytes in size and can contain non-code files. This is normally images, video, and other types of non-code items. There are three possible ways for asset packs to be delivered, downloaded when the application is installed, downloaded automatically shortly after the application is installed, or downloaded or requested by the app. The second two options require some checks to ensure the assets are available when needed. For the purposes of this class, we'll look at the simplest install time method. In the start code for this video is a new MP4 asset and a screen to display it, so we can find that under…

Contents