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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900
My Carrier: developer

Re: How to draw POI on camera screen

Yes i want to do it.

Please suggest me any link or material?

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to draw POI on camera screen

[ Edited ]

Have a really good look round the samples you wil find here:

http://developer.blackberry.com/bbos/java/samples/

 

The one that looks most immediately useful is the AugmentedRealityDemo which probably comes with your IDE, but you can also find it on githab here:

https://github.com/blackberry/JDE-Samples/tree/master/com/rim/samples/device/augmentedrealitydemo

 

 

Developer
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900
My Carrier: developer

Re: How to draw POI on camera screen

Hi

I have tried this sample.But i don't understand whats going on.

https://github.com/blackberry/JDE-Samples/tree/master/com/rim/samples/device/augmentedrealitydemo

 

 

Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to draw POI on camera screen

It seems to use Open GL to display an image that will change as you move the device around.  You possibly won't use Open GL, but the interaction with the Accelerometer is interesting isn't it.

 

For you application, you will probably first want to find out exactly where the phone is - so look at the SimpleLocationApi sample in the first link I sent you.

 

From there I presume you will send a location to the Server which will then provide you with the details of the local POIs.  So look round for networking samples and find out how you are going to get the data to display.

 

This should keep you busy for a bit.

Developer
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900
My Carrier: developer

Re: How to draw POI on camera screen

i

I have tried the Location API but i am not getting the latitude and logitude in my device.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to draw POI on camera screen

That is a separate question to this, and so should be on its own Thread. 

 

But before you start your own Thread, make sure you review the many other posts you will find that discuss people not able to get the location on their device,. If you search you will find a number of these and also pointers to some diagnostic location code that you should try.  So search, use some of the hints, tips information and diagnostic code you will find, and if that doesn't help, start your own Thread. 

Developer
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900
My Carrier: developer

Re: How to draw POI on camera screen

Hey

I have used the Location API sample demo. But i am not getting the location.

I have used other code and i am getting the latitude and longitude. Now , on which server i have to send the latitude and longitude so that i get the POI??

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to draw POI on camera screen

Hate to ask an obvious question, but who do you think maintains a list of POIs you might want to use? 

Developer
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900
My Carrier: developer

Re: How to draw POI on camera screen

Sorry Sir

I didn't get you.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to draw POI on camera screen

When you started developing this application, did you know of a particular service from which you expected to get your Points of Interest?