File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Want to develop an android application using GPS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Want to develop an android application using GPS" Watch "Want to develop an android application using GPS" New topic
Author

Want to develop an android application using GPS

Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

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


My Blog SCJP 5 SCWCD 5
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
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
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
The Android Dev Guide has a section titled "Using the Android Emulator" that talks about this.


Ping & DNS - updated with new look and Ping home screen widget
Johan Pelgrim
Ranch Hand

Joined: Jul 07, 2003
Posts: 105

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

Johan Pelgrim, The Netherlands
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
mitch mccann
Greenhorn

Joined: Apr 20, 2011
Posts: 7
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


Doing Android without learning Java is dumb.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Want to develop an android application using GPS
 
Similar Threads
Maps of current Location
Is there any chapter in your book for dealing with GPS and Map ?
Suggestions to buy GPS
about GPS?
Android thesis