In Android applications get their GPS data from the system Location Manager. To provide your own location data you would have to register a Provider with this service and the other applications would have to request services from this Provider. There is more to doing this than I presently understand, including, I believe, having the correct entries in the manifest for your provider. The bottom line however is that Basic4android cannot do this at present.