davidge said:
...because in this case we would have a straight line through the interior of the sphere, not the path through the surface of it.
But there's nothing wrong with that. You're working in a three-dimensional space to evaluate the length of a curve in that three-dimensional space so you're allowed to use points off the curve. The integration is a matter of drawing lines in that space that are not exactly on the curve but approximate it. That is an altogether different problem than evaluating the length of a curve on the surface of a two-dimensional sphere (although with proper choice of embedding you can make the two problems look very similar, and the answer comes out the same).
Throughout this thread I've been a bit unclear about what you're really looking for... I think you're looking for a way to work with the surface of a two-dimensional sphere when the points on the surface of the sphere are labelled with the same ##x,y## values that they have in a three-dimensional space in which the sphere has been embedded? If so, the following definition of coordinates on the surface of the sphere will do the trick:
##x=X##
##y=Y##
##z=\sqrt{R^2-X^2-Y^2}##
(I've used ##X,Y## for the coordinates on the surface of the sphere to avoid any ambiguity about when I'm referring to the mapping from points on the surface of the sphere onto ##\mathbb{R}^2## and when I'm referring to the mapping between points in the three-dimensional space onto ##\mathbb{R}^3##).
Plug these into the formula for the induced metric, just as you would the latitude/longitude coordinates I used in the earlier example, and you will get (but note my earlier caution about wise people checking my algebra!) the metric:
##g_{XX}=1+\frac{X^2}{R^2-X^2-Y^2}##
##g_{YY}=1+\frac{Y^2}{R^2-X^2-Y^2}##
##g_{XY}=g_{YX}=0##
(Strictly speaking, these coordinates only apply to a hemisphere, not the full sphere. That's not surprising because we already know that a two-dimensional sphere cannot be covered by a single coordinate patch. The coordinate singularity along the curve ##X^2+Y^2=R^2## is an indication of the problem).