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?

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

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.0k Views
  • 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 28 Dec 2013, 06:47 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
    • P Offline
      P Offline
      p3c0
      Moderators
      wrote on 30 Dec 2013, 10:22 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 31 Dec 2013, 07:02 last edited by
        #3

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

        1 Reply Last reply
        0
        • P Offline
          P Offline
          p3c0
          Moderators
          wrote on 31 Dec 2013, 07:59 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

          2/4

          30 Dec 2013, 10:22

          • Login

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