Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
jwhanes
Posts: 18
Registered: ‎08-13-2008
My Device: Not Specified
Accepted Solution

Sprint GPS Interferring with call.

When I using the Spring GPS on the 8703e phone it is interferring with my phone calls.  Anyone had any experience with this?

 

The criteria for the GPS within my application is initialized as follows..

 

 

Criteria c = new Criteria(); c.setCostAllowed(true); c.setHorizontalAccuracy(Criteria.NO_REQUIREMENT); c.setVerticalAccuracy(Criteria.NO_REQUIREMENT); c.setPreferredPowerConsumption(Criteria.POWER_USAGE_LOW);

 

 

Any help would be appreciated.

 

Thank you!

 

 

 

 

 

 

Please use plain text.
Developer
Developer
gtj
Posts: 319
Registered: ‎07-20-2008
My Device: Not Specified

Re: Sprint GPS Interferring with call.

The provider you get with that criteria is probably CELL_SITE which I don't think will work when you're in a call.  Are you calling getLocation or do you have a listener registered?

 

 

Please use plain text.
New Developer
jwhanes
Posts: 18
Registered: ‎08-13-2008
My Device: Not Specified

Re: Sprint GPS Interferring with call.

I have implemented a listener.  The interval is set at 10 seconds.  It seems like everytime a location request is sent it will cut out.  I do not understand why it occurs though.  Seems a little strange to me.
Please use plain text.
Developer
Developer
gtj
Posts: 319
Registered: ‎07-20-2008
My Device: Not Specified

Re: Sprint GPS Interferring with call.

The CELL_SITE method needs a channel to the cell site to get position.  That's how it works.  You'll probably have to stop the listener when in a call.

 

 

Please use plain text.
New Developer
jwhanes
Posts: 18
Registered: ‎08-13-2008
My Device: Not Specified

Re: Sprint GPS Interferring with call.

Yeah that makes sense.  Thank you very much for the help.
Please use plain text.