Is there a tool that will do this? I want to be running the simulator and then be able to put the mouse over some point and have it tell me what the (x,y) coordinates are. Surely there's a simple tool that does this.
How to simulate location in Simulator. To simulate location on a Simulator, select Features menu > Location, then you will see a list of location and movement options you can simulate.
Using Chrome Developer Tools To access it, open the Chrome Developer tools from the More tools menu. Inside it you need to open the Remote devices view from the More tools menu. The view will list all attached Android devices and running emulator instances, each with its own list of active web views.
Simulator doesn't have a Camera. If you want to access a camera you need a device.
I just use the built-in screenshot snapper from OS X. Just Command+Shift+4 and when you drag it shows the dimensions of the snap you'd take. Press escape to drop it. Works great.
In the Developer Tools -> Applications -> Graphics Tools there is a program called Pixie. It will do what you want. In Preferences you can set it up so that an option-drag will count pixels. You can also set it to just show the pixel coordinates and do the math yourself.
I've used the Iconfactory's xScope for this before. If you create rulers that are the size of the display in the Simulator, you can get a readout of the X and Y coordinates of the mouse pointer as you move across the Simulator screen. Getting the rulers precisely aligned with the edge of the Simulator screen can be a little tricky for applications with dark backgrounds, though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With