added location api
added camera api call