Does anyone know if there is an easy way to create a GPRMC string from the internal GPS on N95 and similar?

I guess I could create one using the time, latitude and longitude variables, but I suspect there might be some magic functions to do this for me.