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
Posts: 28
Registered: ‎01-31-2012
My Device: 8520
Accepted Solution

Cannot install BlackBerry Java Plug-in item on eclipse

[ Edited ]

hi guys,

sorry im newbie, and im just try to create applications for Blackberry Device,

 

who can help me??

i need step by step how to create native application.

who have a sample for native applications?

 

im used eclipse helios 3.6.2

 

ty 

Developer
Posts: 139
Registered: ‎10-24-2010
My Device: BlackBerry 10 Dev Alpha

Re: Cannot install BlackBerry Java Plug-in item on eclipse

read it.


http://supportforums.blackberry.com/rim/attachments/rim/java_dev@tkb/9/1/Writing_Your_First_Applicat...




--
please mark posts as solved if you found a solution.
press the like button on the right side to thank the user that helped you.
------------------------------------------------------------
Riz
Contributor
Posts: 28
Registered: ‎01-31-2012
My Device: 8520

Re: Cannot install BlackBerry Java Plug-in item on eclipse

Ok i has been Finished create Hello World

 

any one have code for add image in application??

 

Like a Banner or header image??

 

ty

Contributor
Posts: 29
Registered: ‎05-11-2011
My Device: ANY

Re: Cannot install BlackBerry Java Plug-in item on eclipse

Bitmap bitmap = Bitmap.getBitmapResource("hello.gif");
BitmapField helloBmpField = new BitmapField(bitmap);
add(helloBmpField);

 

 

 

"hello.gif" should be in res/img folder.

Contributor
Posts: 28
Registered: ‎01-31-2012
My Device: 8520

Re: Cannot install BlackBerry Java Plug-in item on eclipse

public mymenuscreen() {



super( NO_VERTICAL_SCROLL | USE_ALL_HEIGHT );
setTitle( "UI Example" );

_foreground = new ForegroundManager();

addHeading ("");
ListStyleButtonSet buttonSet = new ListStyleButtonSet();

ListStyleButtonField link = new ListStyleButtonField( "A", _caret );

buttonSet.add( link );

link = new ListStyleButtonField( "B", _caret );

buttonSet.add( link );

link = new ListStyleButtonField( "C", _caret );

buttonSet.add( link );

link = new ListStyleButtonField( "D", _caret );

buttonSet.add( link );

_foreground.add( buttonSet );

add( _foreground );
}

 

This is my menu.

But i dont undestaind how to get image for header 

addHeading ("");

for my application.

 

Can help me again sir??

 

Ty


Developer
Posts: 139
Registered: ‎10-24-2010
My Device: BlackBerry 10 Dev Alpha

Re: Cannot install BlackBerry Java Plug-in item on eclipse

[ Edited ]

Gaith Better to Start new thread for Header image.

 

And explain in more detail what axactly you want. If image creation is a problem than that is simple to create image

if image placing problem then explain in detail. When your adding image than what problem your facing. 

 

Start new thread for that them more people will come for answer.

--
please mark posts as solved if you found a solution.
press the like button on the right side to thank the user that helped you.
------------------------------------------------------------
Riz