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
Contributor
Posts: 13
Registered: ‎02-18-2013
My Device: BOLD 9900
My Carrier: Developer

add import com.blackberry.toolkit.ui.*

Hello,

 

I load my program on a Blackberry BOLD 9900 with Eclipse (JRE 7.1.0)

I want to make a UI. It's simple to obtain sample when i search on Google but Eclipse hasn't all plugins what I want.

I want to know where i can find plugins like :

- com.blackberry.toolkit.ui.*

 

Thank you.

Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: add import com.blackberry.toolkit.ui.*

welcome to the support forums.

there is no UI toolkit for blackberry java.
you could use webworks to do a html5 app (there are toolkits for that).
on bb java it is all done by hand.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 13
Registered: ‎02-18-2013
My Device: BOLD 9900
My Carrier: Developer

Re: add import com.blackberry.toolkit.ui.*

Ok, but why i can find sample like that on blackberry dev web site ?

http://developer.blackberry.com/java/documentation/advanced_ui_components_and_managers_1970227_11.ht...

 

It's not a program for Eclipse ?

Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: add import com.blackberry.toolkit.ui.*

no, it is a library.
read the description on the website:

The advanced UI library is a collection of extensions to classes in the BlackBerry Java SDK, and was created by Research In Motion.

you can include those files in your project and use them.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 13
Registered: ‎02-18-2013
My Device: BOLD 9900
My Carrier: Developer

Re: add import com.blackberry.toolkit.ui.*

To use this library, he is necessary to include her in Eclipse.

However, the link to http://supportforums.blackberry.com/t5/Java-Development/Implement-advanced-buttons-fields-and-manage...doesn't allow me to obtain this library.

The Advanced UI.zip contain photos that i can use to include  in the sample Advance UI application.

 

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

Re: add import com.blackberry.toolkit.ui.*

There is a link to gitHub in the text near the start of the article - you can download the source from there.

 

I recommend that you just add the classes you want into your application, rather than bloating your application by including source that you are not using. 

Contributor
Posts: 13
Registered: ‎02-18-2013
My Device: BOLD 9900
My Carrier: Developer

Re: add import com.blackberry.toolkit.ui.*

Sorry to disturbe you so much, but i don't see how can i use that...

There is nothing in the document "src".

I'm on the right when i say that i want to laod the library no ?

Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: add import com.blackberry.toolkit.ui.*

are you sure that you are reading what we write?

Go to Github and download it from there:
https://github.com/blackberry/Samples-for-Java/tree/master/Advanced%20UI
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: add import com.blackberry.toolkit.ui.*

And if you "backup" one level form the link Simon supplied (which is the same one as is at the start of the article) to here:

https://github.com/blackberry/Samples-for-Java

you will find that you can download a zip file that contains the advanced UI and load of other useful stuff.

 

Enjoy!

 

Contributor
Posts: 13
Registered: ‎02-18-2013
My Device: BOLD 9900
My Carrier: Developer

Re: add import com.blackberry.toolkit.ui.*

Yes, thank you.

 

I'm going to test that.