• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want to develop an android application using GPS

 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I want to do an academic project using GPS but I dont have any android device,
Is there any way in which I can achieve the same in an emulator?

Thanks for the help.

Regards
Himanshu
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In android emulator it provides built in facility for internet.I mean to say if you have internet on your pc.You can surf from emulator's browser too.
Can you explain which kind of task you want to perform in you project which is based on GPRS ? Because I am not getting what actually you are needed.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Android Dev Guide has a section titled "Using the Android Emulator" that talks about this.
 
Johan Pelgrim
Ranch Hand
Posts: 105
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Himanshu,

This is a good tutorial which explains all in my view:

http://mobiforge.com/developing/story/using-google-maps-android

You first need a Google Maps API key though. Read this howto to get it:

http://code.google.com/android/add-ons/google-apis/mapkey.html

This is also a good tutorial on getting the user location:

http://developer.android.com/guide/topics/location/obtaining-user-location.html

My experience is that only AVDs with Google API 7 works.

Don't forget to add "GPS support" to your AVD!

If you have any questions let me know.

Good luck!

Johan
 
mitch mccann
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Himanshu,
If you'r trying to avoid getting a GPS, it's hard but not impossible for a limited number of locations. Using a portable computer running an Android emulator is not going to work well, because the emulator requires that one send it "fake" locations. This is fairly easy to do through Eclipse, (after you get out of hospital from the pain of having to learn Eclipse.)
If you can sit in an office and use Google Maps to drag a cursor to the spot of the place you need for your academic investigation, that might be the best way to get the info.
If you need to record lots of locations, (I'd say more than 10 a day,) getting some kind of GPS will prove more efficient in the long run.
regards, CactusMitch
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic