BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 11-19-2008, 08:03 AM   #1
baran_khan
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Default Suggestions for UI design

Please Login to Remove!

Friends,

I would like to have suggestions about best approach for custom UI development for a blackberry development.

I am thinking of a sort of framework or something, that will involve all the custom controls that can be used for a UI generation and was wondering if I can get suggestions that may be helpful in starting with the things.

Anything, would be helpful. I need an approach that can be used to proceed with the process.

Expecting something great!!!
__________________
Smart People ask for Help!!!
Offline  
Old 11-19-2008, 08:31 AM   #2
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

i have a library with all the UI classes i created over the years.
some, like my objectlistfield or certain fieldmanagers, are used in nearly every application.
as a "framework" i have a maven build that creates a project with all the classes that i usually use.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 11-19-2008, 11:05 AM   #3
fsa3
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2005
Model: 9000
Carrier: ATT
Posts: 247
Default

Is this something you can make available? I've been looking for pre-built UI components for the BB API for a while with no luck.
__________________
theSUGGESTR.com | BB on Fire
Offline  
Old 11-19-2008, 11:15 AM   #4
sickned
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 7100T
PIN: N/A
Carrier: Unknow
Posts: 42
Default

Quote:
Originally Posted by simon.hain View Post
i have a library with all the UI classes i created over the years.
some, like my objectlistfield or certain fieldmanagers, are used in nearly every application.
as a "framework" i have a maven build that creates a project with all the classes that i usually use.
Would you share it?
Offline  
Old 11-19-2008, 11:26 PM   #5
baran_khan
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Default

Quote:
Originally Posted by simon.hain View Post
i have a library with all the UI classes i created over the years.
some, like my objectlistfield or certain fieldmanagers, are used in nearly every application.
as a "framework" i have a maven build that creates a project with all the classes that i usually use.
HI,

well thanks for the reply, can you either share your approach like what lies where basically the architecture sort of thing or else can you share ur library with us.

Awaiting reply!!
__________________
Smart People ask for Help!!!
Offline  
Old 11-20-2008, 05:32 AM   #6
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

libraries are kind of like the accumulated knowledge of a developer. thus there will be no code here. some kind of open source library would sure make developing a lot easier, but i really doubt my company would pay me for it.

there are two approaches to create such a library:
- have a library (an extra jar/cod) that is installed seperately. i use this for my modified ksoap2, for example.
- have a seperate project and add the classes you need to your current project. i use this for my ui components, don't have to pay attention to backward compatibility this way, and no need to install an extra cod on the devices.

some components are really easy to develop, like a bitmapfield that acts like a button, and you can reuse them a lot.
there are also quite some non-ui things that reoccur in every second application, like network connectivity, webservices or certain options. develop modular and reuse.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 11-20-2008, 11:34 PM   #7
baran_khan
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Default

Quote:
Originally Posted by simon.hain View Post
libraries are kind of like the accumulated knowledge of a developer. thus there will be no code here. some kind of open source library would sure make developing a lot easier, but i really doubt my company would pay me for it.

there are two approaches to create such a library:
- have a library (an extra jar/cod) that is installed seperately. i use this for my modified ksoap2, for example.
- have a seperate project and add the classes you need to your current project. i use this for my ui components, don't have to pay attention to backward compatibility this way, and no need to install an extra cod on the devices.

some components are really easy to develop, like a bitmapfield that acts like a button, and you can reuse them a lot.
there are also quite some non-ui things that reoccur in every second application, like network connectivity, webservices or certain options. develop modular and reuse.
Well Simon,

thanks for ur suggestions, but what I am looking for is the suggestions of having an architecture of all the UI components i.e. our custom UiApplication extended class that is capable of using all our custom elements packaged with other utility custom elements.

Each of this element will be having its own controllers. e.g. lets say in terms of layouts, we build a complete architecture of all possible layout structures we might be needing like a table layout which is not present in JDE 4.2.1.

I dont want to use each custom control separately as that will be more like patching things up.

Any guesses how we can proceed with such an architecture.
__________________
Smart People ask for Help!!!
Offline  
Old 11-21-2008, 04:16 AM   #8
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

if i need a table layout i add a TableManager to the screen. There are a few other managers i wrote but i use SpacerField in most cases.
UiApplication is only a container, how would you add layout functions to it? to display stuff you need screens, to layout stuff managers etc.

a screen or manager can provide a certain layout and all screens of your application extend it.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 11-21-2008, 04:59 AM   #9
baran_khan
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Default

Quote:
Originally Posted by simon.hain View Post
if i need a table layout i add a TableManager to the screen. There are a few other managers i wrote but i use SpacerField in most cases.
UiApplication is only a container, how would you add layout functions to it? to display stuff you need screens, to layout stuff managers etc.

a screen or manager can provide a certain layout and all screens of your application extend it.
Well TableManager you wrote, thats I am trying to do something similar, but on a larger scale, where the whole RIM package can be involved as custom elements.

The major part is UI and I want to have a package that can give me custom look based on the preferences I give, e.g. the custom layout, background color etc.
__________________
Smart People ask for Help!!!
Offline  
Old 11-22-2008, 11:23 AM   #10
fsa3
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2005
Model: 9000
Carrier: ATT
Posts: 247
Default

Something open source like this would be great. I feel like the BB development tools / community is quite weak compared to the size of the BB user community.

Last edited by fsa3; 11-22-2008 at 11:24 AM.. Reason: wrong place
Offline  
Old 11-25-2008, 01:07 AM   #11
baran_khan
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Default

Suggestions Guys, I am looking for best options to get this thing done. I know there are plenty of things that I am sure can make it much better than what I am thinking right now.

Expecting the best!!!!
__________________
Smart People ask for Help!!!
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE picture

APPLE 630-0895-B VRAM 128K X 8 BOARD CARD VINTAGE

$74.77



APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD  picture

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD

$149.99



128K RAM - APPLE - ORIGINAL APPLE prototype BOARD picture

128K RAM - APPLE - ORIGINAL APPLE prototype BOARD

$408.75







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.