Program own text entry method (OFFERING DUKE STAR)

I'm developing mobile phone text entry system for my FYP. Something like "dictionary". But this time the dictionary is filled up whenever user enter a new word.
So at the beginning, the dictionary started from 0 entry. dictionary is sorted by how ofter particular word is used.so the word suggested by the dictionary is based on the frequency of use. I planned to use binary search tree to minimise the dictionary searching time.
I'm not familiar with with J2ME. I read through the forum and found that I should use canvas. Can anyone tell me how should i start with the canvas?
Any good tutorial?
And does anyone have better idea for the data structure to be use? anything faster than binary search tree.
Edited by: avaJ on Jan 26, 2008 11:00 AM

You can see that:
http://developers.sun.com/mobility/midp/articles/ui/
For your tree, you may use hashtable with objects composed by a word and its frequency of use...

Similar Messages

  • Old Members what is 10 Duke Stars available

    Hi to all...
    I just want you to know i'm so excited for being new in here, and share my knowledge with the others in something that locked my devotion to for years.. JAVA...
    but i didn't know what does it mean 10 Duke Stars available or 3 or...
    at the top of some topics..and how do i get it...
    p.s if there are any more rules or things i should know can you just tell me guys ...
    Thanks and wish the best knowledge for all
    Q.Najjar(^_^);

    prometheuzz i've read that one, but this thing i was
    telling you about i couldn't get ..
    like who gives it to you and according to what...and
    when is it given to you..
    got my question ???From the How it Works tab of the link I already posted:
    Duke Stars are typically offered on a forum thread when the original author of the thread wants to encourage active participation and solicit timely answers to their questions. Not every forum posting or thread will offer the opportunity to earn Duke Stars.
    When a user starts a new thread, he has the option to offer up to 10 Duke Stars to respondents. Forums users earn Duke Stars for their own account by responding to threads that offer Duke Stars as rewards. The thread author determines which response merits the reward, and has full discretion over which respondent is awarded the Duke Stars. The thread author can split the Duke Stars amongst the posters whose answers he found most helpful, but cannot award himself.

  • Q10 buggy stuff with text entry making me sad

    I impulsively replaced my 9700 with a Q10 instead of the S4 i wanted, and now i regret it.  I am hoping these are just user errors as I want to love the Q10 and it's lovely keyboard.
    Two major issues:
    1. Autofill -- how the heck do you turn off text auto fill when typing text into the browser?? it offers me three autofill options of full sentences. So yeah, how many sentences do you think start with THE or I that I want to repeat??
    2. Word Substitution -- after going to great lengths to re-set up all my favourite word substitution short cuts, none of them work when typing text in the browser. They once worked  fine texting or in emails, but not browser text.  However, after a couple battery pulls, Word Substitution does not work in any text entry function.  Lovely.
    These are my settings
    >System Settings
    >Language and Input
    >>Display Language: Language, Region, Measurement System
    >>Text Input: Input languages, Prediction and Correction, Spell Check
    >>Other Input Methods: Voice Dictation
    Prediction and Correction
    >> Prediction Display
    Show Predictions: OFF
    Correction Behaviour
    Auto Correct with Spacebar: OFF
    Word Substitution: ON  (that said, turning it on or off makes NO difference)
    Auto Capitalise: ON
    Period Shortcut: ON
    Learn New Words: OFF
    please help

    I impulsively replaced my 9700 with a Q10 instead of the S4 i wanted, and now i regret it.  I am hoping these are just user errors as I want to love the Q10 and it's lovely keyboard.
    Two major issues:
    1. Autofill -- how the heck do you turn off text auto fill when typing text into the browser?? it offers me three autofill options of full sentences. So yeah, how many sentences do you think start with THE or I that I want to repeat??
    2. Word Substitution -- after going to great lengths to re-set up all my favourite word substitution short cuts, none of them work when typing text in the browser. They once worked  fine texting or in emails, but not browser text.  However, after a couple battery pulls, Word Substitution does not work in any text entry function.  Lovely.
    These are my settings
    >System Settings
    >Language and Input
    >>Display Language: Language, Region, Measurement System
    >>Text Input: Input languages, Prediction and Correction, Spell Check
    >>Other Input Methods: Voice Dictation
    Prediction and Correction
    >> Prediction Display
    Show Predictions: OFF
    Correction Behaviour
    Auto Correct with Spacebar: OFF
    Word Substitution: ON  (that said, turning it on or off makes NO difference)
    Auto Capitalise: ON
    Period Shortcut: ON
    Learn New Words: OFF
    please help

  • Own text in short dump

    Hi ABAP-community,
    i want to put an own text to short-dump message.
    E.g. in a defined situation a message type 'X' will be processed in my application. In the created short dump i want to show additional info like relevant order numbers. WRITE command before processing the X-Message does not work!
    Does anyone have a better idea, hint?
    Looking forward to your reply! Thanks in advance!
    Helpful answers will be rewarded!
    Gunther

    Looks like my idea worked.
    - In SE24 created a new excpetion class ZCX_MAXWELL_A_EXCEPTION
         - Inherits from CX_NO_CHECK (so that it can be thrown without having to be caught)
         - Included a new paramter called MyString (Can contain any additional information I want in the dump)
         - Included a textID called FOOBAR (Can include various text IDs for different issues
    The constructor of the excpetion object has it's code automatically updated to include the new attribute:
    >method CONSTRUCTOR.
    >CALL METHOD SUPER->CONSTRUCTOR
    >EXPORTING
    >TEXTID = TEXTID
    >PREVIOUS = PREVIOUS.
    >me->MYSTRING = MYSTRING .
    >endmethod.
    - Wrote a test program with the lines:
    raise exception type ZCX_MAXWELL_A_EXCEPTION
    exporting
      TextID = ZCX_MAXWELL_A_EXCEPTION=>FOOBAR
      MyString = 'BLAH'.
    When exeucting the text program it creates a short dump that displays:
                                                                                    >Error analysis                                                                               
    >    An exception occurred which is explained in detail below.                                      
    >    The exception, which is assigned to class 'ZCX_MAXWELL_A_EXCEPTION', was not                   
    >     caught and                                                                               
    >    therefore caused a runtime error.                                                              
    >    The reason for the exception is:                                                               
    >    Something went wrong!  FOOBAR!!!                                                               
    At the top of the short dump screen there is a button that says "Exception Object".  Pushing this button takes me to the specific fields that I've set in the exception:
    > Level    1     Class    ZCX_MAXWELL_A_EXCEPTION                                                     
    > Program  Z_MAXWELL_B                      Include  Z_MAXWELL_B                         Row   15     
    > Short Te Something went wrong!  FOOBAR!!!                                                           
    >KERNEL_ERRID                                                                               
    >MYSTRING                       BLAH                                                                 
    The aboove shows for the exception in the short dump bother the TextID that has been set as well as any other attributes that I've set (in this case MYSTRING = "BLAH")
    ~Ian

  • Text Entry Boxes and their content not being captured in Automatic Recording

    I have searched the forums here and elsewhere extensively and whilst I have found people with similar issues, I have yet to find a solution. My problem is this:
    I am trying to record myself using a piece of software which contains numerous text fields. In the past, when using Captivate 3, I would simply fill out these fields and Captivate would record my entries automatically. When the project was played back, the training simulation would pause and allow the user to type in the text field and provided the entry matched the options I had defined, the simulation would continue to the next step.
    So, my colleague and I have since bought Adobe Tech. Comms. Suite 2 and have upgraded Captivate 3 to version 4. Ever since doing this we have both been unable to successfully capture text entry boxes with their content when recording automatically in any mode. We have checked and triple checked the settings to make sure that the automatic capture of text entry in fields is turned on yet we still cannot get Captivate to perform this task it once so easily could. We both suffer from the same problem on both of our installations of Captivate 4. We have tried recording in all modes with no success.
    I am tearing my hair out as I need to come up with some sample content for a major Governmental client which would be worth a 5 figure sum to my company and I really don't relish having to manually create every text entry box as there are a LOT of them in this application!
    I have also reported this as a bug to Adobe using the correct form. As yet, no response.
    I would really appreciate any genuine help that can be offered by you guys.
    In desperation,
    Rob.

    Ok, I think I've sussed it!
    I've been pulling my hair out for weeks on this and after posting on here, I decided to try something and I think I may have found the problem.
    I work with a laptop as I am a Trainer and therefore quite mobile. When I'm in the office, I dock my laptop and use the Extended Desktop functionality of Windows so I have my laptop screen and a second 19" monitor which i find incredibly useful as screen real estate is always at a premium. And this is where I believe the problem lies.
    I performed a simple test and have repeated this test with identical outcomes everytime. Here is what I did. I fired up Captivate and Outlook and opened up a new mail window in Outlook. I then set Captivate to record the new mail window and hit record. I typed some text into the To field and the Subject field and then stopped the recording. I then previewed the results. When the new mail window was on my primary screen, (i.e the laptop) the Text Entry Box recording worked 100% fine. However, if the new mail screen was residing on my secondary screen, i.e. the monitor, the Text Entry Box recording failed!
    So it would seem that Captivate 4 has an issue with seeing the text entered on a secondary monitor when Windows is running in Extended Desktop mode. I am absolutely certain this wasn't an issue with Captivate 3 as I created plenty of content without any of these problems and I was using the Extended Desktop back then.
    So, if anyone else is having the same issue, and you are running an Extended Desktop, try what I did above.
    In the meantime, I am raising this issue with Adobe in the hope they can get this fixed, but at least now I can carry on with my content creation
    Regards,
    Rob.

  • Captivate 6 Text Entry Events Do Not Pass

    I am a long-time user of Captivate going back to version 2. I've created a simulation course with numerous text entry events that do not validate correctly. I am typically using the TAB key to validate the text entered. I have several lessons where everything works fine, but many that have problems.
    Typically when TAB is used at the end of a key press, you will see focus shift to the first button on the Play bar - and this does not cause any problems. I see this behavior on the events in my course that work. However, for the ones that do not work, I see the focus shifting to the Address Bar and the event will not pass.
    The only workaround I have employed is to use On Focus Lost: Go to Next. This is not a great solution because the text no longer validates with this setting. These events will pass no matter what is entered.
    I would really appreciate your help with this! My course is due soon. I would be happy to provide more information or upload my file for your inspection. Thank you!

    For anyone who might be experiencing the same problem and looking for an answer - this is still 100% broken in Captivate version 6. None of the fixes discussed in the above referenced thread work. I tried playbar widgets, editing the playbars in Flash. No luck.
    Adobe just moves forward from version to version not fixing the bugs they create in prior versions. That's your incentive to upgrade, folks.
    Best workaround I can offer is Use ENTER as your validation keystroke. It doesn't have the same problems associated with TAB. Good luck!

  • Text Entry Box not working right??

    This is strange…. If anyone has any thoughts…
    that would be great.
    I have a slide that tests someone's knowledge for inputting
    into a text entry box. I want to give them 2 tries for doing this
    task - and if they don't perform the task correctly, I want an
    error message to display. However, I want the error message to be
    different based on the 1st time that they try and the second time.
    The method to accomplish this.. I have done many times, and has
    always worked. However, for some reason, it's not working this
    time.
    In order to customize the error message based on whether it's
    the 1st try or the second - I have created 2 text entry boxes.
    The first text entry box is set to display at 0 seconds, is
    set to display for 2 seconds and is set to pause after 1.5 seconds.
    If the user enters a successful text entry the user will be
    navigated to the next slide, if the user enters an incorrect text
    entry they will continue on the same slide and a failure caption is
    selected to display (this is the first error message that displays
    for the first try.)
    The second text entry box is set to display at 2 seconds, is
    set to display for 2 seconds and is set to pause after 1.5 seconds.
    If the user enters a successful text entry the user will be
    navigated to the next slide, if the user enters an incorrect text
    entry they will continue on the same slide. No failure caption is
    selected to display. This is the important point... I have not
    selected for a failure caption to display for this text entry box.
    I have a text caption that displays at 4 seconds - this is
    the second error message that the user will see if they input an
    incorrect text entry into the second text entry box.
    Everything seems to work fine except... for some reason, when
    I enter an incorrect text entry into the second text entry box, I
    get the failure message that I set for the first text entry box.???
    Very strange. I have recreated this 3 times - each time it works.
    Then, all of a sudden, it stops working. I’ve even tried
    recreating the movie from scratch… but same results.
    Any thoughts?
    Thanks,
    Lynn

    Hi again
    Okay, makes sense. I suppose in this case, I'd simply use
    another slide. From what you have explained, it would appear there
    is a possible issue Captivate is having with multiple text entry
    boxes on the same slide.
    So I would insert a slide following the existing slide. Then
    on failure of the first text entry box, direct to the next slide.
    On success of the first text entry box, skip over the new slide to
    the proper "continue" slide.
    Hopefully that makes sense... Rick

  • Text Entry Captions not created

    Using Adobe Captivate 5.0 - Training mode is not creating the Text Captions for Text Entry Boxes, even though selected in the Training/Recording settings. Creates Text Entry box, but no Text Caption. Really want this to work when recording SAP simulations, but doesn't even seem to work when recording internet browser or MS Oulook either. Any ideas?  Thanks.

    Hello again
    Perhaps it will help if I simply describe how Captivate usually works. There are several ways to record. There is "Full Motion" (FMR) where everything is recorded just like a movie. Not the best way of working bit is possible. In FMR no captions or anything of the sort is added during the recording process, but you may add them later if you like.
    Then there is the "slide by slide" capture mode. Each click of the mouse generally results in a screen capture. But this mode of capturing has four variations.
    * Demonstration
    * Training Simulation
    * Assessment Simulation
    * Custom
    Demonstration mode provides text captions for activity. Click this or that. Also, highlight boxes are added along with tracking mouse movement.
    Both of the simulation modes will ignore text captions, mouse tracking and highlight boxes. Instead, these modes simply add Click Boxes and Text Entry Boxes to allow "simulation" or interacting with the Captivate. These objects offer "Feedback" captions to indicate Correct or Incorrect actions.
    From what you have described, you want to enable "Custom" recording mode where you choose the mix of elements you get.
    However, NONE of these modes will analyze what is happening and describe it to the user. Instead, they may or may not recognize what you are clicking on in order to create captions. You might see funky names like "Click the TechnicalNameForControl" control.
    Does this help any?
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Can I have multiple text entry boxes on one slide?

    Can I have multiple text entry boxes on one slide, each with it's own possible answer without having to have a separte submit button for each?
    Message was edited by: Suzanne Petty

    I'm using Captivate 5 - I'm thinking I would like to put two or three text entry boxes on one slide - say labeled Name, Email and Company I'd like to have any answer be accepted, yet I still want to have the answers included with the quiz reporting for our main quiz which I set up using a question pool.
    I understand I can uncheck the validate user input box in the general menu in the property inspector, but that also makes the reporting menu inactive for the text entry box.
    Is there a way to make validate user input accept any answer that is typed in the box, but still have the answers reported with my quiz?
    Thanks
    Heather

  • Text entry boxes in CP6 - Enter key to validate input does not work in Safari?

    I'm using Captivate 6 to create a step by step walkthrough of some different processes that are commonly completed in my workplace. Some of the example processes have portions where text is entered to simulate a process the end user might need.  I have text entry boxes in these slides that require validation of the input to move along, with Enter used as a shortcut key. This works great in Firefox, Chrome and IE all the way down to 8....but if the course is run in Safari, the enter key does nothing.  Is this a known issue?
    Additional info: For many of these text entry boxes, the point is that it is a search field that has a little binoculars icon next to it that executes the search in the actual software we are simulating. For these slides I actually have the submit button associated with the text box made invisible (no fill, no stroke) and placed on top of the binoculars icon. This is an acceptable method of doing the task we're demonstrating, and just so happens to be a workaround for the enter key not working in Safari. However, a few places we have text entry that doesn't have the search/binocular icon next to it because there is a different goal on that section of the software we're visualizing. In those cases, there is no place for me to put an invisible submit button, and I can't make the submit button visible because that's not how the software we're demonstrating would work (thus defeating the purpose of the training).

    Sorry, this is a known bug with no fix available yet, but the makers of SwiftKey are aware of it and we will work with them to fix it: https://bugzilla.mozilla.org/show_bug.cgi?id=617298
    For now, the only solution is to use a different keyboard when using Firefox.

  • How to hide the cursor in text entry boxes

    I didn't see this answer in the forum, and it took a while to figure this out so I thought I'd post my
    solution.
    The issue is that a question requires that the user know where to click before typing, then type the correct value.
    The problem is that a text entry field shows the cursor; a dead give-away as to where the user is supposed to type.
    My solution is:
    1) Hide the text entry box (give it a name and uncheck 'Visible' in the options).
    2) Add a transparent button (with default text if needed) over the area where the user must click.
         - Set the 'Success' option to 'Show', and make the 'Show' item the name of your text entry box.
         - Disable all captions (unless they get points for clicking in the right place).
    3) Set the object timing so the button displays until clicked, then end the button display.  Start the display of the text entry field immediately after the end of the button display.
    The effect is that the user clicks the correct area, then the cursor displays in the correct location, ready for the text entry.

    Brilliant!
    You get a gold star for this idea.  Very original thinking.

  • Text entry box instead of typing

    In order to capture the screens I need, I have to enter text by typing it into a form. But I don't want the text I'm typing to appear in the final project. Instead, I want remove the typed text and replace it with a text entry box so that the learner can type in their own text.
    Is it possible to convert typed text into a text entry box?
    Is there a preference setting that would prevent the typed text from showing or convert it to a text entry box?
    I hope someone can help with a suggestion.

    You can add the text entry box (TEB) on top of the required field, assign a variable to this TEB and in later slides, insert a smartshape and call this variable wherever required.
    However I see some challenges in this, depending on your specific requirement.
    1.  If this variable is called 50 slides later, you should add a smartshape and call this variable 50 times. A bit tedious task.
    2.  Depending on the UI color changes, you should also change the smartshape color as many times in as many slides if you want to match the colors. Same with smartshape positions. Again, a tedious task.
    3.  What if this value is partially shown on a slide? A good lot of graphic editing work there. Use case: The user is creating a child node for some tree structure and you want to use this feature to let the user enter any node name he wants. Later in some other screen, this node (as part of the tree) appears on the right pane and the pane is partially hidden, then you will have to hide this new text also partially.
    There may be few more challenges you might want to consider before deciding this.
    Sreekanth

  • Is it so difficult for Sun to sort search result and duke stars ?

    In the years that I have been visiting these forums I have frequently (well every year at least) asked Sun to sort the search results by reverse date. In the last few months I have asked Sun to sort the new format of the results of "My Duke Stars". Is is so difficult to add a 'order by' clause to the SQL or am I missing something?

    DrClap wrote:
    It would be nice if they could do that, and I asked them too several months ago. It would also be nice if they told you how many points you got for an answer (not how many points were originally attached to the thread) and the date and time you got them (not the original date and time of the thread). But those changes might take more than just an ORDER BY clause. (Or they might be implemented by just choosing the right columns from joined tables, who knows?)They seem to have all the functionality already there, it's just spread out across two pages when it should be all on one.
    http://forum.java.sun.com/myrewards.jspa
    http://forum.java.sun.com/dukesummary.jspa
    And has anyone ever come up with a sane explanation of all these numbers?
    Balance:  474
    Rewarded:  474
    Awarded:   40
    Duke Stars earned by program:   534
    Total Duke Stars earned to date  534
    Duke Stars spent to date    -60
    Available Balance   474

  • Texts in method in different languages

    Hi,
    I have a report which generates a string in different languages depending on the selection input.
    I have translated the texts in method (for example text-t01) from original language EN to Chineese ZH.
    When the user is logged into the system using EN language, I use SET LOCALE LANGUAGE ZH, then
    I read the texts which are in Chineese which is correct, then I switch back to SET LOCALE LANGUAGE EN.
    But the texts afterwards are still retrieved in Chineese language.
    Thank you for the help!
    Best Regards

    Hi,
    Once we translate the texts from source language EN to target language <anything>, then when we login to the client with that target language , the text will be seen in the target language only...if we login with EN it will show in English langugae...
    either SE63 or from the menu->translation in se38(for programs).
    Regards,
    Nagaraj

  • Exporting text from text entry box

    Hi Everyone,
    I am building a responsive project in CP8 and want to be able to extract (and store) the text that people type in the text entry boxes.
    Is there a way that you can export or store the content. Perhaps the LMS can store the information and I can extract from there.
    I have used window.print(); to print the page, but this is not ideal as not only does the learner need to save to PDF, but also it is in portrait orientation.
    Thanks in advance.

    Hello,
    For me i found 2 ways to to store text entries from user-input.
    1. Currently i am testing the moodle-lms and it is able to track the text-entries. In order to do so it is necessary to enable "check user input" (dont know if its correct namend, because i am using the german captivate version). Unfortunately, it was hard to find. In the evaluation / analysis part it was "hidden" under the "cmi.suspend-data" tag which consists of almost unreadable sequence of figures, signs and characters.
    2. Moreover, i am testing the adobe quiz result analyzer on an own server. The software itself is not able to output these entries, but every single xml-file that is created for every single user is storing the date entered by the user. As well you need to enable the "check user input" box, otherwise it is not possible to enable the checkbox "include in quiz" that is necessary to transmit data.
    cheers
    Andreas

Maybe you are looking for

  • Trying to do a restore on Portege M200

    Hi Anyone got any ideas on how to do a restore from a toshiba restore dvd without an optical or fdd drive????????? I've been trying to do it via a PXE as described here http://home.allegiance.tv/~joem298/ but since i don't have a floppy drive i've us

  • Spotlight comments search

    I have a customer that upgraded to 10.5 server for the spotlight comments searching on share points. They can search everything else but the comments. We have tried setting up a group with all the users having full read/write permissions. I have rein

  • Lower left corner of macbook seems weakened, what can I do?

    Hi, I have a macbook pro, 13 in. mid 2009 running Lion.  The trackpad seems to have been weakened in the lower left corner.  To be clear, it still works just fine, but it seems to have become mechanically less responsive.  When I click on the left si

  • Value not displaying for the transient variable

    Hi all, I have added a transient variable in my VO.xml file and assigning a value to it in my code along with other non-transient variables. But that value is not getting displayed on the UI. Please help me in understanding the behavior of the transi

  • Why is my mini skipping over songs?

    My inner click wheel became stuck recently, and I could not adjust the volume nor scroll through the menus. Also, when I clicked the right side of the wheel to go to the next song, it would skip 5 or 6 songs-I could see the names flying by and it wou