Our application also use GPS and it works as well as the maps application,
and we tested it on the G1.
Did you call requestUpdates on the LocationManager ?
2008/11/7 Amir <[EMAIL PROTECTED]>
>
> OK Android enthusiasts...here's where the GPS story has led us. We
> figured out after hard-coding a
OK Android enthusiasts...here's where the GPS story has led us. We
figured out after hard-coding a location via finding latitude and
longitude of my house that the application via the G1 does in-fact
communicate flawlessly with our website.
The issue though is turning on GPS capabilities on the
Hah...no worries and good check on the permissions query, I'm trying
something new today as well as hard-coding a location to see if my app
can sniff it out. I'll let everyone know about the outcome!
Amir
On Nov 4, 5:42 pm, C-LIS Keiji Ariyama <[EMAIL PROTECTED]> wrote:
> Amir, I'm sorry...
>
>
Amir, I'm sorry...
> permissions are acquired:
> Network communication (full)
> Your location (fine (GPS), coarse (network-based) location)
Keiji,
Amir wrote:
> Hi Guillaume,
>
> Thanks for your reply and yes the standard map application manager
> does display my location on the G1, but my appli
Hi Amir,
Hmm... is this apps allowed permission of "ACCESS_FINE_LOCATION"?
http://code.google.com/android/reference/android/Manifest.permission.html#ACCESS_FINE_LOCATION
Keiji,
Amir wrote:
> Hi Guillaume,
>
> Thanks for your reply and yes the standard map application manager
> does display my
Hi Guillaume,
Thanks for your reply and yes the standard map application manager
does display my location on the G1, but my application doesn't allow
display to my website just yet. Any thoughts you may have that might
help?
What I see on the device is the GPS icon is turned on when my
applicat
Did you check if the standard map application manages to display your
location ?
2008/11/4 Amir <[EMAIL PROTECTED]>
>
> Thanks, I'm still having issues, but now I do see the GPS 'icon' as
> turned on when the application is running. The issue though is that I
> don't get anything on the map thro
Thanks, I'm still having issues, but now I do see the GPS 'icon' as
turned on when the application is running. The issue though is that I
don't get anything on the map through our online site...no longitude
and latitude, or anything else.
Here's the revised code I'm using:
package org.gw.servic
Amir,
I've developed a similar app just for kicks (so the wife can keep
track of me) ;)
I did the following:
LocationManager lm = (LocationManager)
context.getSystemService(Context.LOCATION_SERVICE);
Location loc = lm.getLastKnownLocation("gps");
It can take a while to the G1 to init the gps and return a fix.
And you must see the sky for the GPS to work.
Your code and permissions seem correct, try using the network provider
to test (which is faster and work in buildings unlike the GPS).
Make sure GPS location provider is enabled on the pho
Hi Amir,
I had encountered a same situation. But my case is about
getLastKnownLocation(String)
method on the emulator.
In that time, I fixed my code below.
Old
public class TestActivity extends Activity {
private void initActivity() {
LocationManager locman = (LocationMa
11 matches
Mail list logo