I tried this but not able to save the information
Sub camera1_PictureTaken (Data() As Byte)
Dim out As OutputStream
out = File.OpenOutput(File.DirRootExternal, "vidcam/test.jpg", False)
out.WriteBytes(data, 0, data.Length)
camera1.StartPreview
out.Close
exif.Initialize(File.DirRootExternal, "vidcam/test.jpg")
exif.setAttribute(exif.TAG_GPS_LATITUDE,lat)
exif.setAttribute(exif.TAG_GPS_LONGITUDE,lon)
exif.setAttribute(exif.TAG_DATETIME,now())
ToastMessageShow("Image saved: " & File.Combine(File.DirRootExternal, "vidcam/Test.jpg"), True)
End Sub