You're developing Android location-based application and conduct testing using the emulator.
On Eclipse, you can simulate a change in location or coordinates using DDMS to test if your application react to any onLocationChanged.
To open up DDMS, on Eclipse, go to Window > Open Perspective > Other...
From the available listing, select DDMS. On the left panel, you can view:-
a) Devices and b) Emulator Control
First, select the Device (online emulator), then go to Emulator Control. In Emulator Control, scroll down and look for Location Controls. Enter the Longitude and Latitude and click on Send. You application will automatically reflect the change in map.
No comments:
Post a Comment