Hmm. By "good reception" do you mean that you're able to get GPS
location on the phone with other applications - or just that you have
good signal bars for a voice connection? It's certainly possible for a
phone to have good cell signal strength, but not be locatable,
especially if it's indoors. In many cases we can fall back to less
accurate cell-tower-triangulation positioning, but not always; this
depends on the carrier. If you email the phone number to me directly, I
can take a look at our carrier logs to see if something else is going
on.
> 2) Also response content has the cached location but unable to access
> the it.
> e.getCachedLocation() is returning null in this case.
Assuming that the response snippet below is really from the same request
that gave you the null cachedLocation... that's weird. It's possible
that there's a bug in our JSON parsing for this data type, which might
not have been detected earlier since most people are using XML; but
there's a unit test specifically for this, and at first glance the test
document looks just like this to me. I'll try putting your response
data through the test code to make sure. However, if it's possible that
this data was actually from a different request, bear in mind that not
every failed request is going to provide a cached location - it depends
on how long ago the last successful locate was.
best,
Eli
--
Eli Bishop
Wavemarket, Inc. / Location Labs
e...@location-labs.com
See responses below -
On Thu, 2010-09-16 at 08:39 -0700, Mishit wrote:
> 1) PositionFailureException
> Even If I try with Zoom or Area mode its giving me the same
> exception.
> Is my veriplace account has any problem or its because my phone is
> at indoor location and not getting GPS ( inside office building) ?
I don't think the problem is your phone or the GPS signal. There was
something funny about the way the account for that device was
configured, and I'm trying to figure out how it got that way.
Basically, something did not get completely set up during registration
of that account so that it did not have the ability to send on-demand
location requests to the phone. It's not a problem with the carrier, it
is some odd condition in the Veriplace platform that I haven't seen
before. I'm looking into this - and it would be helpful to know, if you
remember, how you registered this device: that is, did you sign up via
web at veriplace.com from the device itself, or from a desktop browser,
or did you get an SMS invitation, etc.
In any case, I have made what I think is the necessary configuration
change - please try locating the device again with Zoom or Area mode and
let me know if it works now.
> BTW do we get charged when we get such exception using zoom mode.
> As every zoom mode request come through network and ask phone for new
> location whether or not phone is locatable.
No, we don't charge for unsuccessful requests.
> Also you mentioned that my BlackBerry has veriplace software
> installed and its reporting locations(for freedom mode). But I haven't
> installed any veriplace app like that.
Well, if we are talking about the same device (number ending in 378),
you definitely *do* have the Veriplace app on that phone. We are
receiving location data from it - I'm sure of it. That's the other
reason I ask whether you remember the signup/registration process you
went through - at some point there must have been a step where you were
given the option to click a link in your phone to download the app;
there's no other way it could have gotten on there.
> 2) CachedLocation
> Yeah. It worked from my IDE. I guess I shouldn't have any problem
> reading CachedLocation now.
I'm not entirely clear on this - do you mean that the example code
works, or that your own application code also works now but only if you
run it from the IDE?
best,
Eli