What kind of tablet? i.e. On what OS are you expecting this to operate?
The possibilities for how this could be done change with different operating environments. But in general, this is the kind of thing that is either built-in to the viewer that is displaying the PDF, or a custom application has to be built for it. It cannot be done from the Acrobat Scripting Model.
This will work when using the buttonImportIcon method with Readdle's PDF Expert on iOS. I'm not aware of any other viewer/OS combination that will work.
Would be for Android, maybe Samsung tablets.
My problem is that I do not know about programming and less focused on Android and Java. I was looking on the GitHub.com page and found that there are already people who have created Java programming lines to open the camera of an Android phone, and that's a big part of the job. The next thing would be to set these programming lines to a script.
Finally thank you very much for your response.
I hope that some Adobe official will take into account these deficiencies for the next update.
Isn't this such an excellent idea. Have all the icon import functions open the image options on the current device. Too bad it doesn't work that way for Acrobat.