Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 10-10-2010, 08:29 PM
CrackBerry Newbie
 
Join Date: Oct 2010
Posts: 1
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Beginner's app concerns

Hi, I'm new to these forums and also new to writing applications. I'd like to make an app for personal use and have some questions. I'm learning Spanish right now and I'd like to make a relatively simple app to store store words I don't know in a flashcard-like format.

I basically want to be able to go from one screen to the next in the program, displaying a different word each time I click a button. Maybe a "bookmarking" feature would be nice to have, too.

I just started learning Java for this. My main question is, how am I supposed to organize all these different Spanish words in the application? I would imagine that flipping through these flashcards will be the same as going from one screen to the next in a stack. Am I going to need a .java file for every flashcard in this case?

I was just wondering if this is going to be a messy endeavor, organization-wise and size-wise. Though I plan to use just plain text for this app, since I'd like to make it for myself.

Thanks!
Reply With Quote Tip this Post
  #2  
Old 10-19-2010, 09:56 PM
CrackBerry User
Device(s): 8120 (Pearl)
Carrier: T-Mobile
 
Join Date: Mar 2009
Posts: 11
Likes Received: 7
Thanked 0 Times in 0 Posts
Default

you may want to look into using the BB web developement environment. This will allow you to use eclypse with the BB plugin. The developement is done mostly in HTML with a number of BB APIs.
Reply With Quote Tip this Post
  #3  
Old 10-23-2010, 09:14 AM
CrackBerry Abuser
Device(s): 9800 (Torch)
Carrier: AT&T/Cingular
Pin: 42
 
Location: Right here.
Join Date: Aug 2009
Posts: 272
Likes Received: 0
Thanked 2 Times in 2 Posts
Default

Start with the Java tutorials at Sun.com, and elsewhere, and come back to the BB after you learn some basic programming. Otherwise you are just taking on way too much.

Good luck!
__________________
AmigaDude on Crackb!
The Answer is 42, but What is the Question?
Reply With Quote Tip this Post
  #4  
Old 10-30-2010, 06:00 AM
Banned
Device(s): SGS2, PB16, 9810
Carrier: att
 
Location: us
Join Date: Jan 2009
Posts: 1,596
Likes Received: 84
Thanked 160 Times in 109 Posts
Default

You would store the words in arrays "wordArray", then have an output template. For each word in the array, you would have to call the output class which contains the "flashcard template".
To display another word every time you click a button, you would have to output the following word (array index increase) in the wordArray array.
You would have to create another array for the bookmarks "bookmarkArray", the bookmark button would just copy the word from wordArray to bookmarkArray, then another button for outputting each word in bookmarkArray array using the output class. Then another template for showing a list of the bookmarked words, which loops through the bookmarkArray.
You either need to make the array size flexible (expand or shrink) manually or... i think the arraylist class can do that for you. Or just set a fixed size for the array and have as many words as the array size.

Some sort of crap like that...

Last edited by gbsn; 10-30-2010 at 06:03 AM.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   Beginner's app concerns

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes