Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-98976

Android 11 - Dynamic Resources

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.3
    • QPA: Android
    • None

    Description

      Overview:

      Android 11 allows now to change a resource on runtime. Ex:

      String sdkroot = getApplicationInfo().dataDir + "/lebian";
      ResourcesLoader rl = new ResourcesLoader();
      rl.addProvider(ResourcesProvider.loadFromDirectory(sdkroot, null));
      Resources res = getResources();
      res.addLoaders(rl);
      final AssetManager assetManager = res.getAssets(); 

      Proposed Action:

      • Considering that we use qrc, this feature does not look interesting. Also, it is only Android 11 only.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtandroidteam Qt Android Team
              samuelmira Samuel Mira
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes