1. Download our Official Android App: Forums for Android!

Apps Can I use GPS features with the virtual (eclipse) android? (see thread)

Discussion in 'Android Development' started by wata, Jul 30, 2010.

  1. wata

    wata Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    9
    Joined:
    Jun 23, 2010

    Question
    Can I use GPS features with the virtual (eclipse) android? Specifically locating the device's position using the virtual android.

    I'm asking this because I don't have an android phone at the moment; so it would be kind of hard to test the app.

    Further Details
    I've developed several Android apps. before, but I have never used any GPS features in any of these apps.

    Basically, this app. requires the geographical location of the device in order to plot markers on a Google map. My dilemma is as stated above, can I use such features with the eclipse android sdk? Or do I NEED an android phone to use GPS features?

    Any help is greatly appreciated
    Wata
     

    Advertisement

  2. markb

    markb Well-Known Member
    Rank:
    None
    Points:
    63
    Posts:
    148
    Joined:
    Sep 14, 2009

    Sep 14, 2009
    148
    26
    63
    Software Developer (Java, C, Web, Unix)
    Birmingham, UK
    Go to the DDMS perspective in Eclipse. You should see an Emulator Control view.
    Scroll down and you'll see a Location Controls section, where you can set location.
    (You can also open the Emulator Control view in any other perspective through Window -> Show View)

    How to set location on emulator | Hello Android

    Mark
     
  3. wata

    wata Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    9
    Joined:
    Jun 23, 2010

    Thanks so much!
     

Share This Page

Loading...