How to add more words onto Binary Dictionary(main.dict)??

by Atish » Tue, 19 May 2009 20:10:01 GMT


Sponsored Links
 Hi All,
Is there any way that i can add many words into main.dict currently
used as Main Dictionary in Inputmethods package??
Please reply it's bit urgent.

Thanks And Regards,
Atish
--~--~---------~--~----~------------~-------~--~----~



How to add more words onto Binary Dictionary(main.dict)??

by Atish » Wed, 20 May 2009 22:27:16 GMT


 thanx for the help but this is USER DICTIONARY(user_dict.db).I want to
update the MAIN.dict.
It's binary dictionary.Dictionary.cpp reads the words and suggest
words and it works through JNI.





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. How to query the "Frequently Called" list?

Hi,

I'm trying to query the frequently called list; in other words the
list which appears under the Favorites tab of Contacts. Does anybody
know how to query this list? Couldn't find any explanation or any
examples so far. Any information is greatly appreciated.

Thanks in advance,

-Ali

-- 

2. Updating UI from a timer

Hi,

I am new to Android development and have been working on a simple demo
app that needs to update a TextView a few times from an array after a
button is clicked.  I have read and adapted the code found here to
achieve this: 
http://developer.android.com/resources/articles/timed-ui-updates.html

However, I do not see any updates to my text view - here is my code:

        private TextView outputText;
        private String[] processes = null;
        private Handler updateHandler = new Handler();
        private int messageCounter;
        private Runnable setMessageTask = new Runnable() {
                public void run() {
                        outputText.setText(processes[messageCounter]);
                        if (messageCounter < 6) {
                                messageCounter++;
                                updateHandler.postAtTime(this, 1000);
                        }
                        else {
                                messageCounter = 5;
                        }
                }
        };

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Button b = (Button)findViewById(R.id.askQuestion);
        b.setOnClickListener(this);
        outputText = (TextView)findViewById(R.id.outputLabel);
        messageCounter = 5;
     }

    public void onClick(View v) {
        if (processes == null) {
                processes = new String[6];
                processes[0] = "msg 1";
                processes[1] = "msg 2";
                processes[2] = "msg 3";
                processes[3] = "msg 4";
                processes[4] = "msg 5";
                processes[5] = "msg 6";
        }
        TextView tv = (TextView)findViewById(R.id.outputLabel);
        AutoCompleteTextView input =
(AutoCompleteTextView)findViewById(R.id.questionField);
        input.setText("");
        tv.setText("");
        if (messageCounter == 5) {
                messageCounter = 0;
                updateHandler.removeCallbacks(setMessageTask);
                updateHandler.postDelayed(setMessageTask, 1000);
        }
     }


Can anyone here see what I am doing wrong?

-- 

3. disable bluetooth adapter

4. username and password for sample sync adapter

5. ddms is easy to hang

6. NativeStart.java

7. Problem ppp0 not use App(browser)