Talk:How to use an optional API in Java ME

From Nokia Developer Wiki
Jump to: navigation, search

How can I do to use a static method LocationProvider.getProvider(); in a non-static context?

Stefano Errani

API Interface

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!

Juraj Mery


Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.