you can try html dom if it is java application by using getElementById method from html dom ,
open firebug check the element of the pointer and get the id from it. use the id in getElementById method.
or
check this
Sub PostGPSLocation
Call Mobile.SetCurrent("Nexus 7")
' Obtain location data
Longt = Mobile.Device.GPS.Location.Longitude
Lat = Mobile.Device.GPS.Location.Latitude
' Output the location data
Call Log.Message("The device location is:")
Call Log.Message("Longitude: "&Longt)
Call Log.Message("Latitude: "&Lat)
Call Log.Message("Altitude: "&Mobile.Device.GPS.Location.Altitude)
Call Log.Message("Accuracy: "&Mobile.Device.GPS.Location.Accuracy)
' Open Google Maps in the browser and pass the coordinates as URL parameters
Call Browsers.Item(Browsers.btIExplorer).Run("http://maps.google.com/maps?q=loc:"&Lat&","&Longt)
End Sub