I changed this line in gps_xtra_set_data from leo-gps-rpc.c.
from: res = pdsm_xtra_set_data(_clnt, 0, client_IDs, 0, xtra_data_ptr, part_len, part, total_parts, 0);
to: res = pdsm_xtra_set_data(_clnt, 0, client_IDs, 0, xtra_data_ptr, part_len, p...
Here is a quick fixed ICS Version - Tested on SGS2 XWLP4. The change was in com.htc.android.htcime.ui.CandidateView.draw , changing FIRST_STATE_SET to EMPTY_STATE_SET. No idea what else this has affected!
Here is my new lib with the source code. The features are:
Shutdown the GPS properly on GPS off.
Sets the GPS chip in Single-Shot fix mode which takes into account the fix rates for application based tracking, Instead of Last Result mode which...
• I have rewritten most of the existing source code for the pdsm interface in “leo-gps-rpc.c” to implement “pdsm_set_parameters” and most of the data structures for the parameters it can set, based on research from the nexus one lib “libgps_FRG83G...
Here it is I tested the auto download by setting the interval to 1 hour and tested it for 3 hours and it successfully request the data and injected it each time. I have set the interval to 24 hours. I placed a compiled version in tytung's zip pack...