0

The lua script will download pictures and videos on your Android phone, you need to restart your phone to find it. After searching for related information, I found that it is related to MediaStore, but the lua script code does not know how to write it. can you help me? Thank you

xiaoxiao
  • 15
  • 3

1 Answers1

0

Everything depends on you:

path = userPath().."/res/1.mp4"
os.execute("am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file://"..path)
xiaoxiao
  • 15
  • 3