Hey everyone, we are currently working on an app that must be usable offline, in an outdoor mission, as an installed apk on Android. The point is to connect attributes (enumerations like “Picture taken outside”/”Picture taken inside” and “Cars”/”One car”/”No cars”) to pictures. It’s not important whether the picture is already on the phone or if it’s to be taken with a camera widget – both is fine. After the outdoor mission, the pictures are to be transferred to a PC and the classifications must be accessible in any text-based form. For this application, it is crucial to be able to connect unique image-file-information (e.g. filepath, filename) with the classifications. The problem is that any attempt to do so has failed so far – read “Further Notes” for more information. That all might give some context to the question that is posed in the title: Is there any way to access image file information in an offline app? Kind regards Further Notes We’ve tried the Camera Widget and the Image uploader Widget, both of which seem to be the only widgets that can be used for this cause in offline-mode. The FileID-attribute of System.FileDocument cannot be accessed in offline mode, the size of the file is not a unique attribute. Thus, there is no way to draw a connection between text-data and the stored images (neither images in the phone’s native image-directories, nor ones in the cache-directory of the app). We have also not found a way to influence the filename that’s assigned to the image when it’s stored into the cache-directory. The internal database of the app (which seems to be found in /data/data/… in Android) might be helpful, but can only be accessed via rooting your phone, which is also no solution for us.
↧