Hi,

I want to reverse a location on the emulator with the function getReverseLocation Location Service Palm Developer Center[/url]) and in the emulator in Location Services Google Services is checked but I always get this error in the failedLocation method when I run my app :

6: Permission Denied - The user has not accepted the terms of use for GPS Services.

My code :

Code:
MainAssistant.prototype.getGPSInfo = function()
	this.controller.serviceRequest('palm://com.palm.location', 
	{
		method: 'getReverseLocation',
		parameters: 
		{
			latitude: '37.7779',
			longitude: '-122.414'
		},
		onSuccess: this.gotLocation.bind(this),
		onFailure: this.failedLocation.bind(this)
	});	
}

MainAssistant.prototype.gotLocation = function(event)
{
	var addylines=event.address.split(";");
	if(addylines.length>1)
	{
		var loca=addylines[1].split(", ");
		var city=trim(loca[0]);
		
		this.controller.get('address').innerHTML = city;
	}
}

MainAssistant.prototype.failedLocation = function(event)
{
	this.showError(event.errorCode);
}

Any clue ?

Thanks !