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. [Solved]How can I generate a .apk with config files?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.1k 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.
  • L Offline
    L Offline
    leeych
    wrote on last edited by
    #1

    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
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      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
      0
      • L Offline
        L Offline
        leeych
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

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

          157

          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