Hi. I connect GPS using jsr179(location based classes) and i update location informations using locationlistener.My problem is that:i want to update informations(coordinates) in a few seconds,but my application update in 40 seconds(average). As i said,i used locationlistener.
1- *lp.setLocationListener(this,5, -1, -1);*
2- *lp.setLocationListener(this,-1, -1, -1);*
I tried the methods above respectively. Are there any settings that i did not. How can i retrieve location updates in a few seconds and update them? Thanks.

(i thougth that maybe my phone's receiver is slow. But ,i found a few gps application on the net. They works like what i want to do..)