• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Want to develop an android application using GPS

 
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Android Dev Guide has a section titled "Using the Android Emulator" that talks about this.
 
Ranch Hand
Posts: 105
Android Mac Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic