Thank you Borlafu, Thank you for your input. For a web based application, your approach is correct. I would use a PHP script to handle the gpx file creation and the email handling.
But as this is for a Phonegap based app, I was able to accomplish sending the email with the gpx file directly from the device (no server involved) using the File and EmailComposer APIs. I have been using it for a few weeks now and has worked perfectly both in Android and iOS devices. Greetings -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Create-and-Email-GPX-file-from-Vector-layer-tp5135947p5143334.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users