最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How can I take and save a picture from command line on android? - Stack Overflow

programmeradmin3浏览0评论

Basically... I am writing a script on termux(in case you don't know it, it would be basically the same than a script for adb) and I need to take and store a photography. I tried to start "android.media.action.IMAGE_CAPTURE" via am supplying it with the uri of both a non existent and empty file for that sake, but I was unable to get it to work consistently... More details Here. So I am reconsidering my approach...

Do you guys know some way(built-in way, third party app or library, termux specific command, idk) to be able to take a picture and then store it? It would be nice to write it directly into termux's storage, but it's fine if I can write it literally anywhere.

Thanks in advance :)

发布评论

评论列表(0)

  1. 暂无评论