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

BlackBerry Advertising Service

Reply
New Developer
harinadh
Posts: 77
Registered: ‎09-02-2010
My Device: torch
My Carrier: blackberry developer

MapException in 9900 Simulator

Hi All

 

I have app integrated Maps using MapField. But in 9900 Simulator its throwing MapException. But there is no problem with other devices like 9700,9550,9800.

 

MDS is 'on' and eveything is fine. Can any one explain what exactly the reason ?

Please use plain text.
New Contributor
Elrionri
Posts: 6
Registered: ‎03-23-2012
My Device: RIM 9900
My Carrier: Orange

Re: MapException in 9900 Simulator

Hi,

 

The MapField seems to be deprecated in 7.1.0.

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/lbs/MapField.html

Deprecated. Use net.rim.device.api.lbs.maps.ui.MapField or net.rim.device.api.lbs.maps.ui.RichMapField instead.

 

or perhaps you have a "signed" problem : "This element is only accessible by signed applications."

Do you give the rights to the application in the simulator?

 


Please use plain text.
New Developer
harinadh
Posts: 77
Registered: ‎09-02-2010
My Device: torch
My Carrier: blackberry developer

Re: MapException in 9900 Simulator

Hi

 

Thank you so much for your response.

 

I tried using the et.rim.device.api.lbs.maps.ui.MapField and net.rim.device.api.lbs.maps.ui.RichMapField , both are accessing the same api  net.rim.device.api.lbs.MapField; And I have installed app in device after signing, but it was not working.

 

May be any other reasons to consider. if you all find any please let me know.

 


Please use plain text.
Developer
BrajeshSanodiya
Posts: 130
Registered: ‎08-03-2011
My Device: torch, Z10
My Carrier: Vodafone, Airtel

Re: MapException in 9900 Simulator

Hi harinadh,

Please Check in device it will not give any MapException.
-----------------------------------------------------------------------
"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
-----------------------------------------------------------------------
Please use plain text.