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

Apps Is there a way to obtain altitude aside from Location.getAltitude()? (I've heard using Sensor)

Discussion in 'Android Development' started by gml.check.tool, Sep 14, 2011.

  1. gml.check.tool

    Thread Starter
    Rank:
    None
    Points:
    35
    Posts:
    14
    Joined:
    Aug 11, 2011

    Aug 11, 2011
    14
    0
    35
    -
    Tokyo
    Is there a way to obtain altitude aside from Location.getAltitude()?

    I've heard SensorManager.getAltitude(float, float) using API Level 9 up but don't have idea on how to implement it. Would you share code snippet?
     

    Advertisement

Share This Page

Loading...