Android, Working on GPS but I don't know how real world coordinates work
===

I want to find angle between two coordinates with latitude and longitude on the World, but i really don't know how it works because World is a globe and i am not sure if simple arctan(dy/dx) works. Should i think it as a 2D plane or what ? Will i get accurate results using simple arctan between two world coordinates ?