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
Contributor
viviprost
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.

Please use plain text.
Developer
simon_hain
Posts: 15,870
Registered: ‎07-29-2008
My Device: Z10 LE
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
Please use plain text.
Contributor
viviprost
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 ?

Please use plain text.
Developer
simon_hain
Posts: 15,870
Registered: ‎07-29-2008
My Device: Z10 LE
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
Please use plain text.
Contributor
viviprost
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.

 

Please use plain text.
Developer
peter_strange
Posts: 19,599
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. 

Please use plain text.
Contributor
viviprost
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 ?

Please use plain text.
Developer
simon_hain
Posts: 15,870
Registered: ‎07-29-2008
My Device: Z10 LE
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
Please use plain text.
Developer
peter_strange
Posts: 19,599
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!

 

Please use plain text.
Contributor
viviprost
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.

Please use plain text.