Trouble witch GPS coordinates

Well, first of all, these are the steps I've made before comming here to
try with you all.

https://lh5.googleusercontent.com/-qFlp0vI8VoM/UC1CT39Y3EI/AAAAAAAAAFw/2AaBJ-urAIw/s1600/searching.jpg

The emulator does not emulate the GPS receiver. Try running it on a real
device.

··· On Thu, Aug 16, 2012 at 11:57 AM, anderson cleyton < andersoncleytonalveslopes@gmail.com> wrote:

Well, first of all, these are the steps I've made before comming here to
try with you all.

https://lh5.googleusercontent.com/-qFlp0vI8VoM/UC1CT39Y3EI/AAAAAAAAAFw/2AaBJ-urAIw/s1600/searching.jpg

Well, I installed the apk file in my tablet android 4.0 and the same
progress screen is shown and keeps searching and it's not found.
the Tablet's GPS is turned on. what could it be.

obs: when I changed the code first time it worked, if found location in the
emulator and in the device using wifi. but, I had some problems with the
project folder. Suddenly the code was "reset" I don't know how nor why,
however the way the code was when I started to work on it, it returned to
the original. I'm not using SVN or CVS. Now when I changed the code again
it didn't work, and after a time the code was reset again. and now I tried
to download eclipse juno 4.2. until now the code keeps updated.

the real problem is: where can I find the most recent and functional code
for question to collect GPS corrdinates data??

··· Em quinta-feira, 16 de agosto de 2012 15h57min08s UTC-3, anderson cleyton escreveu: > > Well, first of all, these are the steps I've made before comming here to > try with you all. > > - Well I set the GPS option on android ON, the two options at system > configuration > "services and Localization"!! > - I've pasted the GeoPointWidget.java class from this site: > https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/widgets/GeoPointWidget.java > - I've pasted the GeoPointActivity.java class from this site: > https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/activities/GeoPointActivity.java > - I've pasted the GeoPointMapActivity.java class from this site: > https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/activities/GeoPointMapActivity.java > > - obs: I didn't copy the file, just copied the source. the source is > almost Identical. and none of the classes show errors. > - When I start the emulator, open the empty form, and select the > button to find the GPS corrdinate, a dialog box is shown and it doesn't > stop searching. look at the image > > > >

alright, thank you for this solution, in fact, wifi does not allow me to
use GPS, after testing it into a real device with without the wifi I
noticed it works perfectly. thank you. but there is a question, all that
changes made and added for gps location, I saw something like a menu to see
some sort of map, how does it work??

··· Em quinta-feira, 16 de agosto de 2012 15h57min08s UTC-3, anderson cleyton escreveu: > > Well, first of all, these are the steps I've made before comming here to > try with you all. > > - Well I set the GPS option on android ON, the two options at system > configuration > "services and Localization"!! > - I've pasted the GeoPointWidget.java class from this site: > https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/widgets/GeoPointWidget.java > - I've pasted the GeoPointActivity.java class from this site: > https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/activities/GeoPointActivity.java > - I've pasted the GeoPointMapActivity.java class from this site: > https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/activities/GeoPointMapActivity.java > > - obs: I didn't copy the file, just copied the source. the source is > almost Identical. and none of the classes show errors. > - When I start the emulator, open the empty form, and select the > button to find the GPS corrdinate, a dialog box is shown and it doesn't > stop searching. look at the image > > > >

If you have telnet or DDMS on your machine, you can also set a GPS
coordinate manually...

http://stackoverflow.com/questions/2279647/how-to-emulate-gps-location-in-the-android-emulator
http://stackoverflow.com/questions/3656765/ddms-not-able-to-send-location-to-emulator

··· On Thu, Aug 16, 2012 at 12:02 PM, Gaetano Borriello wrote: > > The emulator does not emulate the GPS receiver. Try running it on a real > device. > > > On Thu, Aug 16, 2012 at 11:57 AM, anderson cleyton wrote: >> >> Well, first of all, these are the steps I've made before comming here to >> try with you all. >> >> Well I set the GPS option on android ON, the two options at system >> configuration > "services and Localization"!! >> I've pasted the GeoPointWidget.java class from this site: >> https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/widgets/GeoPointWidget.java >> I've pasted the GeoPointActivity.java class from this site: >> https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/activities/GeoPointActivity.java >> I've pasted the GeoPointMapActivity.java class from this site: >> https://bitbucket.org/aostiles/odk-collect-afsis/src/a015f6dd0299/src/org/odk/collect/android/activities/GeoPointMapActivity.java >> obs: I didn't copy the file, just copied the source. the source is almost >> Identical. and none of the classes show errors. >> When I start the emulator, open the empty form, and select the button to >> find the GPS corrdinate, a dialog box is shown and it doesn't stop >> searching. look at the image > >

I do not understand what you are attempting to "fix".

The standard ODK Collect that you can download from Google Play has fully
functional, fully working GPS coordinate capture built in.

See the Geo Tagger v2 form on http://opendatakit.appspot.com

See the form design examples here:

··· --------- Mitch

On Fri, Aug 17, 2012 at 9:25 AM, anderson cleyton < andersoncleytonalveslopes@gmail.com> wrote:

Well, I installed the apk file in my tablet android 4.0 and the same
progress screen is shown and keeps searching and it's not found.
the Tablet's GPS is turned on. what could it be.

obs: when I changed the code first time it worked, if found location in
the emulator and in the device using wifi. but, I had some problems with
the project folder. Suddenly the code was "reset" I don't know how nor why,
however the way the code was when I started to work on it, it returned to
the original. I'm not using SVN or CVS. Now when I changed the code again
it didn't work, and after a time the code was reset again. and now I tried
to download eclipse juno 4.2. until now the code keeps updated.

the real problem is: where can I find the most recent and functional code
for question to collect GPS corrdinates data??

Em quinta-feira, 16 de agosto de 2012 15h57min08s UTC-3, anderson cleyton escreveu:

Well, first of all, these are the steps I've made before comming here to
try with you all.

https://lh5.googleusercontent.com/-qFlp0vI8VoM/UC1CT39Y3EI/AAAAAAAAAFw/2AaBJ-urAIw/s1600/searching.jpg

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

See http://opendatakit.org/help/form-design/examples/ and "Location with
Map"

If you have internet access, this will plot the chosen geopoint on a map.

Mitch

··· On Mon, Aug 20, 2012 at 10:52 AM, anderson cleyton < andersoncleytonalveslopes@gmail.com> wrote:

alright, thank you for this solution, in fact, wifi does not allow me to
use GPS, after testing it into a real device with without the wifi I
noticed it works perfectly. thank you. but there is a question, all that
changes made and added for gps location, I saw something like a menu to see
some sort of map, how does it work??

Em quinta-feira, 16 de agosto de 2012 15h57min08s UTC-3, anderson cleyton escreveu:

Well, first of all, these are the steps I've made before comming here to
try with you all.

https://lh5.googleusercontent.com/-qFlp0vI8VoM/UC1CT39Y3EI/AAAAAAAAAFw/2AaBJ-urAIw/s1600/searching.jpg

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com