My android application should show the shops based on nearest distance(longitude & latitude). So what is the best practice, whether to calculate the nearest distance in server-side(backend PHP-MySQL{laraval framework}) or in the mobile (android,IOS) app itself?
Can Android apps use PHP server interfaces? If yes, how?