Greetings all.

I have a particular need to provide a platform-agnostic image capture facility on smartphones/tablets. Subsequently this solution will need to be performed via WebDirect to enable Android users to participate. My solution MUST capture GPS co-ordinates. I do know that GPS co-ordinates can only be directly obtained via Filemaker GO but this is not an option of course. The problem I am about to outline was encountered in an attempt to workaround the problem and my testing was done on an iPhone with WebDirect but I am assuming (possibly incorrectly) that the same will occur on Android browsers too.

Here is the issue:
We will of course need to use the getcontainerattributes function and extract the appropriate GPS detail from the EXIF detail stored in the jpeg. Using Insert Picture (or Insert File) in WebDirect allows the phone to capture an image using its camera or get it from the phone's library. The problem is that if you take a photo from the camera at this point the EXIF information is not stored in the jpg. However if I choose a file that has already been captured via the normal camera app, and is therefore residing in the library, then the EXIF info is there and I can get the GPS co-ordinates.

So is this a limitation that iOS (and maybe Android) imposes on its own web browser? Or is WebDirect getting in the way and stripping the info? Obviously I don't want the user to have to take photos and then add them to the database as a second step. Very clumsy.

Anyone have any input on or a workaround for this problem?

Thanks in advance.

Powered by WPeMatico