05-22-2013 03:33 AM
i am trying to load blackberry maps in my app using a landmark , maps are loading in simulator but when i am trying to load it on device showing me that invalid location and mapps are not getting displayed , can anyone tell me the solution for this
05-22-2013 04:09 AM
Can you gives us the OS level and device involved in this?
If the device on a BlackBerry plan?
Can you use the Browser on the device?
What part of the world are you trying to map?
05-22-2013 04:13 AM - edited 05-22-2013 04:14 AM
You can answer more than one question in a one post
One final question, can you please tell us the OS involved on device and on Simulator.
Can you answer this and my other questions.
05-22-2013 06:45 AM
Sorry to drag you through all of that. You situation all looks fine, I can see no reason why it should not work.
Can you provide a little snippet of failing code for us to try.
05-22-2013 08:10 AM
Landmark landMarks = new Landmark;
AddressInfo addressInfo = new AddressInfo();
addressInfo.setField(AddressInfo.STREET, "347 Elizabeth Avenue, Suite 200");
addressInfo.setField(AddressInfo.STATE, "new jersey");
landMarks = new Landmark("Sita Corp US", "", null, addressInfo);
MapsArguments ma = new MapsArguments(landMarks);