1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

    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?
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...

Share This Page

Loading...