• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Lrm Android: How to reliably trigger auto-import (from other app)?

Community Beginner ,
Jul 22, 2017 Jul 22, 2017

Copy link to clipboard

Copied

Hi - I'm the author of an Android photo app and would like Lightroom mobile to automatically import DNG-files produced by my app. Unfortunately, right now, I am observing the following behaviour

- My app writes a DNG (or moves it) to a folder watched by Lightroom (e.g., "~/Pictures") - no reaction/import from the Lightroom mobile app

- If I rename the DNG with a file explorer (doesn't matter to what) in the same directory, Lightroom mobile suddenly recognises the file and automatically imports it

I have confirmed that the inotify events produced by my app and the file explorer are identical. I assume Lrm uses a different mechanism to watch directories for new files. This is tested on a Samsung S8 but I have gotten similar reports for other handsets as well.

If there are any of the Lrm Android devs present here, would you mind commenting on...

- ...the logic Lrm for Android uses to recognise new picture files created

- ...how I can adapt my app, so Lrm will automatically import its outputs

Many thanks!

Views

349

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jul 24, 2017 Jul 24, 2017

Ok, figured it out myself: In the newer versions, Lrm for Android doesn't watch the various directories itself anymore but relies on Android's MediaScanner to pick up any newly created images. Hence, when creating a new image, it is necessary to have Android trigger an index-update for Lightroom to import the picture.

Votes

Translate

Translate
Community Beginner ,
Jul 24, 2017 Jul 24, 2017

Copy link to clipboard

Copied

Ok, figured it out myself: In the newer versions, Lrm for Android doesn't watch the various directories itself anymore but relies on Android's MediaScanner to pick up any newly created images. Hence, when creating a new image, it is necessary to have Android trigger an index-update for Lightroom to import the picture.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 11, 2022 Mar 11, 2022

Copy link to clipboard

Copied

LATEST

But what if Android does not recognize dng or other raw formats as media? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines