Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to copy external files onto an emulated Android device in Qt Creator?

How to copy external files onto an emulated Android device in Qt Creator?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 998 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.
  • DiracsbracketD Offline
    DiracsbracketD Offline
    Diracsbracket
    wrote on last edited by
    #1

    Hi,
    I have an app that I want to test on an emulated Android device in Qt Creator. The app uploads and starts correctly in the emulator, but in order to work, it requires some external XML files (not packed into the apk file) to be stored on the emulated device's internal storage device.

    Is it possible to copy the files I need to the local storage of the emulated device?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      IIRC, you should be able to that using adb as if the emulator was are real device.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      DiracsbracketD 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        IIRC, you should be able to that using adb as if the emulator was are real device.

        DiracsbracketD Offline
        DiracsbracketD Offline
        Diracsbracket
        wrote on last edited by
        #3

        @SGaist
        Thank you! I guess I was being lazy again by hoping that somehow I would be able to access it directly via a Windows Explorer or MacOS Finder window... ADB will do!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          A quick search returned https://www.android.com/filetransfer/ which might be more to your liking.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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