Or Continue to Thread: [26.Aug.2011][Dev] GPS Librari…
Find Your Device:
6th August 2011, 10:06 AM   |  #1907  
tytung's Avatar
OP Senior Member
Thanks Meter: 15,069
 
3,574 posts
Join Date:Joined: Jun 2010
More
Leo AGPS Injector v0.5
Leo AGPS Injector is an Android app for quickly injecting NTP time and AGPS xtra.bin data, and lets you explicitly know when the AGPS data is injected.
  • Manual execution: Run this app to finish the AGPS injection task manually.
  • Auto execution: Use Script Manager(free app) or Tasker(paid app) to schedule the routine task by using the script below or using any similar method.
    agps_injection.sh
    Code:
    am startservice -n leo.android.agps/leo.android.agps.AGpsService
Download and install LeoAGpsInjector_v0.5.apk



Changelog:
  • v0.5:
    • Add a network check for refreshing widget's injection time only if connecting to a really available network. (i.e. can download xtra.bin and get NTP time)
      In v0.4, it will still refresh the time even if you are roaming and disable data roaming. (Under this situation, you cannot download anything but this app doesn't know.)
  • v0.4:
    • Merge versions 0.3 and 0.3a:
      Add a check box for determining if showing the setting dialog every time when running this app.
      • When you uncheck it and run this app again, it will inject NTP time and AGPS xtra.bin data, and then destroy this app by itself. So you won't see any UI.
      • When you uncheck it and leave this dialog, you must go to [Settings]->[Applications]->[Manage appliciation]->[Leo AGPS Injector], and press "Clear data" to get this dialog popped up again.
  • v0.3:
    • Add a widget for quickly injecting NTP time and AGPS xtra.bin data.
    • Display the last injection time in the widget.
    • Include three types of notifications: Notification/Status Bar, Pop-up message, and None.
  • v0.2:
    • You can choose to see the real injection time in the notification bar or to be notified through a pop-up message.
  • v0.1:
    • If you network is unavailable, this app will run as a background Service and passively wait for the connectivity change notification from the Android.
      • Besides, you can see the "Waiting for an available network." message in the notification bar.
    • When you network is available, this app will download and inject NTP time and xtra.bin, and then the Service will destroy itself to free the memory, so this app won't occupy your memory.
      • Besides, you can see the real injection time in the notification bar, and you can clear it if needed.
Last edited by tytung; 15th August 2012 at 05:27 PM.
The Following 70 Users Say Thank You to tytung For This Useful Post: [ View ]