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. Trigger an Android media scan
Forum Updated to NodeBB v4.3 + New Features

Trigger an Android media scan

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.4k 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.
  • abdfayeA Offline
    abdfayeA Offline
    abdfaye
    wrote on last edited by
    #1

    Hi,
    I am currently developing an QT/QML android app in which I intend to save images and videos. But the problem with Android is that if the media scanner is not triggered I don't see them and it takes time.
    So I would like to know if there is a way to trigger an Android media scan in qt.

    Thanks,

    Abdoulaye

    raven-worxR 1 Reply Last reply
    0
    • abdfayeA abdfaye

      Hi,
      I am currently developing an QT/QML android app in which I intend to save images and videos. But the problem with Android is that if the media scanner is not triggered I don't see them and it takes time.
      So I would like to know if there is a way to trigger an Android media scan in qt.

      Thanks,

      Abdoulaye

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @abdfaye
      you can use JNI (from the AndroidExtras module) and trigger the media scan manually.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      abdfayeA 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @abdfaye
        you can use JNI (from the AndroidExtras module) and trigger the media scan manually.

        abdfayeA Offline
        abdfayeA Offline
        abdfaye
        wrote on last edited by
        #3

        @raven-worx said:

        AndroidExtras module

        Ok I see
        Thank you for your answer raven-worx, I will try it.

        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