Meaningless Drivel is fun!*
The moose likes Java Micro Edition and the fly likes How would you promt the user an answer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How would you promt the user an answer?" Watch "How would you promt the user an answer?" New topic
Author

How would you promt the user an answer?

Svend Rost
Ranch Hand

Joined: Oct 23, 2002
Posts: 904
Hi,

Im working on a small project where the user has to answer a
question - the questions are approx. 50-70 chars long and the
user will have 3 options to choose from.

The app will have to be ported to several mobile phones, so hardcoding
the strings (questions) isn't an option I think

How would you approach the above?

Would you use a Form, append the question and make the user choose his
answer from a List or something similar ?

or .. ?

Thanks in advance,

/Svend Rost
William Frantz
Ranch Hand

Joined: Dec 08, 2004
Posts: 102
I would absolutely use a Form. That's your best bet for cross compatibility.

I've still seen broken form handling on various devices. One in particular I recall would not allow the user to scroll past a text area that was larger than the size of the display.

Honestly, if you are doing simple form processing, you might consider just writing a WML web page and relying on microbrowsers. Why do you really need a MIDlet?

William Frantz
http://SprintDevelopers.com
Svend Rost
Ranch Hand

Joined: Oct 23, 2002
Posts: 904
Thanks for your reply William,

I chose to use the Form approach.

Thanks for the WML tip - that had actually not crossed my mind!

Why do you really need a MIDlet?


Basicly it's because the project im working on is a game. In order
for the user to move on, (s)he has to answer some questions.

/Svend Rost
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How would you promt the user an answer?