how to invoke gps to find my location in blackberry开发者_如何学Python via simulator ?
Unless you have a physical GPS receiver attached to the machine on which the simulator is running, you will not be able to obtain GPS coordinates. What you can do is to make a dummy class that acts as the GPS device itself. This should allow you more control on how, when and what data do you supply to your program.
精彩评论