Talk:How to use an optional API in Java ME
How can I do to use a static method LocationProvider.getProvider(); in a non-static context?
Thanks for this. Helpfull! I am struggling to implement accessing to a non-mandatory location API. But I came to a problem when class needs to implement a location API native interface called LocationListener. At which stage would you implement a LocationListener to your LocationProvider class.
Thanks for the answer!