[APP][2.2+][Retired] ALTitude, Latitude updater with a low battery footprint

Search This thread

chamonix

Recognized Contributor
Nov 7, 2008
5,048
19,623
Berlin
Google Pixel 6 Pro
create-qr-code


As Google shut down Latitude I was forced to retire ALTitude as well.

I like Google Latitude for its location history and the possibility to share my location with friends. Unfortunately the price to pay in terms of battery drain is too high and that the is the reason why I started this project.

To get the benefits of ALTitude you should change the setting in Google Latitude to "manual update" and use ALTitude to update your location instead. If you want to see your friends you can still use Latitude but without the energy footprint.

Features:
- OAuth2 logon to google latitude: no username / password stored
- configurable accuracy and frequency for updating Latitude.
- start on boot (full version)
- show your friends on Latitude

How it works
Android has the concept of LocationProviders to deliver location based information to apps. There are three LocationProviders:
- Coarse location: provided by wifi / cell towers
- Fine location: GPS
- Passive: relies on the next location info requested by another app

In addition to this there are requirements to the LocationProvider in terms of "accuracy" and "frequency", e.g. "I want updates at least very 15 minutes with a precision of 1000m". The higher these requirements are the higher the battery drain will be. No only will the phone be waken up when a location change was detected but this information must then be passed o latitude using the google latitude API.

What ALTitude does is us a sensible mix of LocationProvider and accuracy/frequency to track location changes and update those to Latitude.
qabToGsOEw9_0WEDMrowg4pJmPPIguYxT3dcTgDWV33Zvu0LIntsCprk0wCWgQfpQG4=h210
 
Last edited:

chamonix

Recognized Contributor
Nov 7, 2008
5,048
19,623
Berlin
Google Pixel 6 Pro
ALTitude is available on Google Play (https://play.google.com/details?id=com.asksven.betterlatitude) for free with with ads (fully featured).

Starting from version 0.10 ALTitude supports multiple languages. If you miss your language please feel free to contribute: http://www.getlocalization.com/altitude/

Follow me on twitter to be notified of updates and get insights in new features/developments.

New I have decided to give the new beta channel possibilities on google play a try and have created a google+ community. If you are interested in testing release candidates you can now also subscribe to that community or drop me your g+ contact so that I can invite you.

Changelog
V0.13
Same as RC4

V0.13RC4
#90: Free version is now fully features

V0.13RC3
#83: after google logon / auth an empty page is shown, suggesting an error
#84: added last updated location name to status on main screen (if geocoding enabled)
#85: lat/long were reversed in locale/tasker plugin
#86: added better precision to fix when set from locale/tasker plugin
#89: free version now has all features enabled

V0.13RC2
#77 and #78 limit the update accuracy/frequency independently from the location manager updates
ActionBar for pre-ICS devices as well as dark/light themes
Update to current locale plugin implementation

V0.13RC1 2013-01-26
#50: locale plugin to set location manually

V.12.1 on Google Play
#71: screen showing two inconsistent update times
#72: interval shown on screen on free version may be wrong
#73: fixed units for intervals

V0.12 on Google Play 2013-01-01
No change from .012RC4

V0.12RC4 2012-12-31
#70: added more logging details when latitude update fails

V0.12RC3 2012-12-29
#69: fixed QoS alarms always being triggered
Make better use of criteria to make sure "network" is used most of the times even if "gps" is on

V0.12RC2 2012-12-26
#66: add option to disable location updates on main screen

V0.12RC1 2012-12-21
#62: Quick setup at a glance
#63: Moved status info to main screen
#67: Widget to toggle quick settings
#68: Cancel button in quick settings not working when quick settings running

V0.11.0.1 2012-07-19
#61: License not recognized on JB (many thanks for superbobup for the intensive testing!)

V0.11 2012-07-15
#53: Fixed multiple FC conditions from crash reports
#57: Status dialog was always showing interval as 0s
#60: Added a QoS option to make sure that the last known location is updated at least every <interval>
Added more extensive logging
V0.10.0.1 2012-06-25
#52: Error condition at boot
V0.10.0.0 2012-06-24
#16: allow changing setting from tasker
#33: add threshold to avoid obcessing about connection errors
#35: option to update (buffered) locations when a wifi connection is available
#43 and #44: fixed multiple error conditions from google play logs
#45: notifications not shown when geo is off
#46: add german and french
#49: added passive location provider

V0.9.0 2012-02-26
#41: added release notes
#37, 38, 39, 40: fixed various FC and null pointer exceptions from market logs
#36: ALTitude stops working after a period in airplane mode
#32: FC if no location provider is present (see also #36)
#34: Redesinged status concept and display on mains screen
#30: Added intervals > 1 hour to preferences
Moved to ICS SDK / guidelines

V0.8.2 2011-11-29
Fixed FC upon opening quick action dialog when a quick action is running
Fixed notification of address not always showing
Added number of buffered location to the status dialog
V0.8.1 2011-11-29
Fixed FC on free version when opening preferences
V0.8.0 2011-11-28
#8: Added current city (geo location) to notifications
#24. Detect data connection prio to updating Latitude
#26: Added Menu option to jump from ALTitude to Latitude
#28: Added a quick action in order to change location settings (precision) for a given period of time

V0.7.0 - 2011-10-11
#19: categories to preferences
#23: Fixed bug: service was not starting on boot
#6: added nearest city to badge on map
#20: Fixed bug: default values of location manager not showing in free version
#22: reposition map when turning device from landscape t portrait
#21: show latitude connection status on main activity

Feature requests

I maintain the original list of features to be implemented and bugs here.

Known issues
 

Attachments

  • ALTitude_0.12.0.0RC1.apk
    1 MB · Views: 333
  • ALTitude_0.12.0.0RC2.apk
    1 MB · Views: 299
  • ALTitude_0.12.0.0RC3.apk
    1 MB · Views: 307
  • ALTitude_0.12.0.0RC4.apk
    1 MB · Views: 308
  • ALTitude_0.12.1.0.apk
    1 MB · Views: 312
  • ALTitude_0.13.0.0RC1.apk
    1 MB · Views: 352
  • ALTitude_0.13.0.0RC2.apk
    1.6 MB · Views: 319
  • ALTitude_0.13.0.0RC3.apk
    1.7 MB · Views: 336
  • ALTitude_0.13.0.0RC4.apk
    1.7 MB · Views: 300
  • ALTitude_0.13.0.0.apk
    1.7 MB · Views: 357
Last edited:

nobnut

Senior Member
Feb 27, 2010
6,922
2,693
Ha!

Another Chamonix Masterpiece! Good luck with this app also (as well as #BetterBatteryStats).

Will be recommending.
 
  • Like
Reactions: chamonix

chamonix

Recognized Contributor
Nov 7, 2008
5,048
19,623
Berlin
Google Pixel 6 Pro
thank you guys, I really appreciate.
And I am always open for new ideas too.... I got myself a tablet so I guess the next project will be about fragments and support of small and large displays.
 

XlAfbk

Senior Member
Aug 11, 2010
1,484
440
noticed your name, then thought the features might come handy as well ;-) will definitly try it
 

khaytsus

Senior Member
Apr 8, 2008
7,258
1,175
Central Kentucky
Never noticed any battery usage with Latitude except my tablets which are offline when they're in standby. In those cases, I've seen Latitude keep the device awake (wakelock). Is that the fix here? Otherwise my phone, I've never noticed Latitude at all.
 

chamonix

Recognized Contributor
Nov 7, 2008
5,048
19,623
Berlin
Google Pixel 6 Pro
Never noticed any battery usage with Latitude except my tablets which are offline when they're in standby. In those cases, I've seen Latitude keep the device awake (wakelock). Is that the fix here? Otherwise my phone, I've never noticed Latitude at all.

On an average Samsungs galaxy s2 (android 2.3.X) for examples the partial wakelocks generated by latitude for location consume 20-30 mAh. This is due to bad design in terms of location accuracy and update frequency.
Altitude remedies to that.
 

fraencko

Member
Aug 30, 2010
48
20
Berlin
How exactly does it work? In which way does your app behave differently than GMaps? Is it only avoiding wakelocks or does it also rely more heavily on A-GPS?

Also: How do i have to set my Google Maps app to display my Latitude mates but not update my location by itself and let your app do the trickery?

Feature request: Can you implement a setting where I can adjust how often my Latitude gets updated?

I love Latitude but I think Google's current implementation is rather poor. So: Thank you very much for your efforts. Really looking forward to follow the progress of your project.
 
Last edited:

chamonix

Recognized Contributor
Nov 7, 2008
5,048
19,623
Berlin
Google Pixel 6 Pro
How exactly does it work? In which way does your app behave differently than GMaps? Is it only avoiding wakelocks or does it also rely more heavily on A-GPS?

Also: How do i have to set my Google Maps app to display my Latitude mates but not update my location by itself and let your app do the trickery?

Feature request: Can you implement a setting where I can adjust how often my Latitude gets updated?

I love Latitude but I think Google's current implementation is rather poor. So: Thank you very much for your efforts. Really looking forward to follow the progress of your project.

I have added "how it works" to post #1: http://xdaforums.com/showpost.php?p=18062211&postcount=1

Unfortunately Latitude does not distinguish between displaying your friend's location on the map and tracking your location and there is no way to configure the LocationProvider of Latitude (in a way ALTitude does it). In order to get the benefits of ALTtitude you should log off from Latitude when you are not using it and just let ALTitude do the updating.
I would really love to provide friend's functionality in ALTitude and will try any possible way to implment it but unfortunately there is no API from Google for that so I have to explore unconventional possibilities. I anyone has a hint I'd be happy to explore that path.

About your feature request: that functionality is included and will be made available in the full version soon
 
Last edited:

suku_patel_22

Senior Member
Jun 22, 2011
3,649
1,348
Mumbai
OnePlus 7T
Google Pixel 4a
facing issues with google two factor authentication.

When I open google authenticator to get my code, the login form loads again, and the password times out.

Need to fetch the credentials from the phone.



Sent from my HTC Desire S
 

khaytsus

Senior Member
Apr 8, 2008
7,258
1,175
Central Kentucky
I have added "how it works" to post #1: http://xdaforums.com/showpost.php?p=18062211&postcount=1

I would really love to provide friend's functionality in ALTitude and will try any possible way to implment it but unfortunately there is no API from Google for that so I have to explore unconventional possibilities. I anyone has a hint I'd be happy to explore that path.

Oh, hmm.. This is my primary use case for Latitude; seeing where other people are. And I wouldn't want to sign into Latitude and sign back out every time to do that...
 

nobnut

Senior Member
Feb 27, 2010
6,922
2,693
It is so good I managed to buy it twice :confused: :)

I think everyone should buy it at least once :p
 

Attachments

  • SC20111005-151332.jpg
    SC20111005-151332.jpg
    86.8 KB · Views: 543
  • SC20111005-151325.jpg
    SC20111005-151325.jpg
    86.7 KB · Views: 527
  • Like
Reactions: chamonix

chamonix

Recognized Contributor
Nov 7, 2008
5,048
19,623
Berlin
Google Pixel 6 Pro
I will start decompiling Latitude this week end to see if I find any way to access the friends data. I really would like to provide the complete set of features and then regret I decided not to stick to the "better" brand ;)
 
  • Like
Reactions: khaytsus and nobnut

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    create-qr-code


    As Google shut down Latitude I was forced to retire ALTitude as well.

    I like Google Latitude for its location history and the possibility to share my location with friends. Unfortunately the price to pay in terms of battery drain is too high and that the is the reason why I started this project.

    To get the benefits of ALTitude you should change the setting in Google Latitude to "manual update" and use ALTitude to update your location instead. If you want to see your friends you can still use Latitude but without the energy footprint.

    Features:
    - OAuth2 logon to google latitude: no username / password stored
    - configurable accuracy and frequency for updating Latitude.
    - start on boot (full version)
    - show your friends on Latitude

    How it works
    Android has the concept of LocationProviders to deliver location based information to apps. There are three LocationProviders:
    - Coarse location: provided by wifi / cell towers
    - Fine location: GPS
    - Passive: relies on the next location info requested by another app

    In addition to this there are requirements to the LocationProvider in terms of "accuracy" and "frequency", e.g. "I want updates at least very 15 minutes with a precision of 1000m". The higher these requirements are the higher the battery drain will be. No only will the phone be waken up when a location change was detected but this information must then be passed o latitude using the google latitude API.

    What ALTitude does is us a sensible mix of LocationProvider and accuracy/frequency to track location changes and update those to Latitude.
    qabToGsOEw9_0WEDMrowg4pJmPPIguYxT3dcTgDWV33Zvu0LIntsCprk0wCWgQfpQG4=h210
    15
    ALTitude is available on Google Play (https://play.google.com/details?id=com.asksven.betterlatitude) for free with with ads (fully featured).

    Starting from version 0.10 ALTitude supports multiple languages. If you miss your language please feel free to contribute: http://www.getlocalization.com/altitude/

    Follow me on twitter to be notified of updates and get insights in new features/developments.

    New I have decided to give the new beta channel possibilities on google play a try and have created a google+ community. If you are interested in testing release candidates you can now also subscribe to that community or drop me your g+ contact so that I can invite you.

    Changelog
    V0.13
    Same as RC4

    V0.13RC4
    #90: Free version is now fully features

    V0.13RC3
    #83: after google logon / auth an empty page is shown, suggesting an error
    #84: added last updated location name to status on main screen (if geocoding enabled)
    #85: lat/long were reversed in locale/tasker plugin
    #86: added better precision to fix when set from locale/tasker plugin
    #89: free version now has all features enabled

    V0.13RC2
    #77 and #78 limit the update accuracy/frequency independently from the location manager updates
    ActionBar for pre-ICS devices as well as dark/light themes
    Update to current locale plugin implementation

    V0.13RC1 2013-01-26
    #50: locale plugin to set location manually

    V.12.1 on Google Play
    #71: screen showing two inconsistent update times
    #72: interval shown on screen on free version may be wrong
    #73: fixed units for intervals

    V0.12 on Google Play 2013-01-01
    No change from .012RC4

    V0.12RC4 2012-12-31
    #70: added more logging details when latitude update fails

    V0.12RC3 2012-12-29
    #69: fixed QoS alarms always being triggered
    Make better use of criteria to make sure "network" is used most of the times even if "gps" is on

    V0.12RC2 2012-12-26
    #66: add option to disable location updates on main screen

    V0.12RC1 2012-12-21
    #62: Quick setup at a glance
    #63: Moved status info to main screen
    #67: Widget to toggle quick settings
    #68: Cancel button in quick settings not working when quick settings running

    V0.11.0.1 2012-07-19
    #61: License not recognized on JB (many thanks for superbobup for the intensive testing!)

    V0.11 2012-07-15
    #53: Fixed multiple FC conditions from crash reports
    #57: Status dialog was always showing interval as 0s
    #60: Added a QoS option to make sure that the last known location is updated at least every <interval>
    Added more extensive logging
    V0.10.0.1 2012-06-25
    #52: Error condition at boot
    V0.10.0.0 2012-06-24
    #16: allow changing setting from tasker
    #33: add threshold to avoid obcessing about connection errors
    #35: option to update (buffered) locations when a wifi connection is available
    #43 and #44: fixed multiple error conditions from google play logs
    #45: notifications not shown when geo is off
    #46: add german and french
    #49: added passive location provider

    V0.9.0 2012-02-26
    #41: added release notes
    #37, 38, 39, 40: fixed various FC and null pointer exceptions from market logs
    #36: ALTitude stops working after a period in airplane mode
    #32: FC if no location provider is present (see also #36)
    #34: Redesinged status concept and display on mains screen
    #30: Added intervals > 1 hour to preferences
    Moved to ICS SDK / guidelines

    V0.8.2 2011-11-29
    Fixed FC upon opening quick action dialog when a quick action is running
    Fixed notification of address not always showing
    Added number of buffered location to the status dialog
    V0.8.1 2011-11-29
    Fixed FC on free version when opening preferences
    V0.8.0 2011-11-28
    #8: Added current city (geo location) to notifications
    #24. Detect data connection prio to updating Latitude
    #26: Added Menu option to jump from ALTitude to Latitude
    #28: Added a quick action in order to change location settings (precision) for a given period of time

    V0.7.0 - 2011-10-11
    #19: categories to preferences
    #23: Fixed bug: service was not starting on boot
    #6: added nearest city to badge on map
    #20: Fixed bug: default values of location manager not showing in free version
    #22: reposition map when turning device from landscape t portrait
    #21: show latitude connection status on main activity

    Feature requests

    I maintain the original list of features to be implemented and bugs here.

    Known issues
    8
    It's sad but as latitude was retired I will retire this thread too and remove the app from gplay.

    But do not fear, I will be back with another location assistant soon (I already have some ideas about a personal tracker)
    6
    Today's announcement of Google discontinuing Latitude is bad news for ALTitude. I have already depublished the donation app as I don't want to earn money on something that is doomed in its current stage.
    Before Latitude closes definitely I will:
    - release a new version based on the latest beta for you to enjoy the features as long as they work
    - make all features available in the free version

    I have also started looking into alternatives of using ALTitude to update the google+ location. Unfortunately neither is there a documented API to do that nor does Google be willing to allow third parties to update google+ as the location reporting must be active in maps.

    If anyone has a suggestion about a serious alternative to latitude with an API to develop against I'd be happy to take a look and evaluate the option of switching from google to another provider. Personally I feel that there is a need for such a service to manage a user's location as a data object and not only an attribute to an action like a post or checkin. Most implementations I know are like facebook, foursquare or twitter where the location can only be attached to an action.
    5
    Release 1.13RC1

    New release is up, introducing locale/tasker/llama plugin to set location manually. Have fun!