I am trying to get certain location to display on a map on screen (on a device). I pull the lat/long from a sqlite db and then input them into a function as follows:
The screen will display as grey/blue and any logs I put in will appear in the logcat. However I get the error 'Couldnt get connection factory client'. I have tried googling to see what the issue is but most suggestions are to do with the api key. I have already got a valid api key as this is used throughout the app and displays my location in a different activity. It's when I try to use my lat/long co-ordinates it throws the error.
Any help would be much appreciated.
By the way this works on a different device!