Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Solved]How can I generate a .apk with config files?

    Mobile and Embedded
    2
    4
    1743
    Loading More Posts
    • 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.
    • L
      leeych last edited by

      I want to pack config files such as app.config, temp/temp.txt into my Android APK package. I have no idea to do that.

      1 Reply Last reply Reply Quote 0
      • p3c0
        p3c0 Moderators last edited by

        Hi,

        One way would be to include those files in your Resource files and then copy those files on the first launch to the destination.

        157

        1 Reply Last reply Reply Quote 0
        • L
          leeych last edited by

          Thanks a lot. I have done what you said. And it works.

          1 Reply Last reply Reply Quote 0
          • p3c0
            p3c0 Moderators last edited by

            That's great :) You can mark it as solved then. Just edit the thread title and prepend [solved]

            157

            1 Reply Last reply Reply Quote 0
            • First post
              Last post