i need help as soon as possible, right now, i have developed a app that must show current Location Client, and i have try http://developer.android.com/training/location/retrieve-current.html and its work well, but i want to show the client location without clicking the button, i have try to change the memthod getLocation(), but everytime i have tried to call method getLocation(), my app always error,
nb: i have removed the parameter of getLocation() and the xml i already change too. i have try to put the method in onCreated and also in onStart, it's error
anybody can help me please to solve my problem?