Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android: how to update application name?
Forum Updated to NodeBB v4.3 + New Features

Android: how to update application name?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 613 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KroMignonK Offline
    KroMignonK Offline
    KroMignon
    wrote on last edited by
    #1

    Hi all,

    it is, I hope, a very easy thing to do, but I can't find how to do it :(

    In my AndroidManifest.xml, there is a string called @string/app_name and would like to know how to change the content of this string and where Qt and/or Android take the content for this string?
    I can't find the answer with Google.

    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I don't see it in my manifests... But in general, changing app name can be done by changing your QApplication name, domain etc.

      (Z(:^

      KroMignonK 1 Reply Last reply
      0
      • sierdzioS sierdzio

        I don't see it in my manifests... But in general, changing app name can be done by changing your QApplication name, domain etc.

        KroMignonK Offline
        KroMignonK Offline
        KroMignon
        wrote on last edited by
        #3

        @sierdzio Thanks for your quick reply. I found out that qmake/androiddeployqt create a file string.xml "on the fly".
        To solve my issue, I changed the manifest to set the string content I want... It was the easiest way, but I still have interest which is the "right way" to do it.

        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          That file is created in template dir/res? Then you can create it yourself in there. Or use Project->Build->Build APK->Create Templates in Qt Creator to have it generated and you can modify it on disk.

          (Z(:^

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved