BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 05-19-2008, 10:40 AM   #1 (permalink)
Thumbs Must Hurt
Join Date: Apr 2008
Model: 7100T
Carrier: do not know
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Window Displaying Dialogue

Please Login to Remove!

I am trying to implement the following concept.

When user click on the addButton. Then there should open a window and display message

Please enter new Element

After entering the element must be added into the list.

My problem is that how can I please implement the concept of window displaying dialogue "Please ent new Element."


Last edited by ahmadgee : 05-19-2008 at 10:42 AM.
Old 05-19-2008, 11:02 AM   #2 (permalink)
CrackBerry Addict
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts

the most simple way:
create a screen that gets a callback in its constructor (a reference on your origin screen). push the new screen and ask the user to enter something there (using an editfield, e.g.). after clicking a submit-button the calls the callback and pops itself.

a bit more advanced would be to use a popup screen, a more distinctive enter method compared to a submit-button and the use of an interface as a callback.
java developer, Devinto, hamburg/germany
Old 05-19-2008, 11:33 AM   #3 (permalink)
Talking BlackBerry Encyclopedia
Join Date: Jan 2008
Location: France
Model: 8310
Carrier: Vodafone
Posts: 217
Post Thanks: 0
Thanked 0 Times in 0 Posts

Yes pop-up a new screen
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.