₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,328,685 members, 8,436,910 topics. Date: Wednesday, 01 July 2026 at 02:29 AM

Toggle theme

How Can I Create An Offline Dictionary App For Android - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingHow Can I Create An Offline Dictionary App For Android (1477 Views)

1 Reply (Go Down)

How Can I Create An Offline Dictionary App For Android by Infinixhot2(op): 3:06pm On Jul 21, 2017
Greetings to all passionate programmers here...I have a question; but i know after your replies it will be clear to me.. Do i have to type all words and their meanings manually into sqlitedatabase in order to create an offline dictionary app?because i know that will be very stressfull.Thanks as you help me out.
Re: How Can I Create An Offline Dictionary App For Android by Nobody: 7:30am On Jul 22, 2017
Write the words, in a text file, then use stream reader to read thru and print the results in a text space.

That is to say, you need a jFrame with a text box and a text area (JTextFeild,JTextArea) then button (JButton) then extend the activity then use stream reader to read from the text field and show results in JTEXTAREA.

Are u doing this on java or xamarin.
Re: How Can I Create An Offline Dictionary App For Android by Infinixhot2(op): 8:23pm On Jul 22, 2017
gimakon:
Write the words, in a text file, then use stream reader to read thru and print the results in a text space.

That is to say, you need a jFrame with a text box and a text area (JTextFeild,JTextArea) then button (JButton) then extend the activity then use stream reader to read from the text field and show results in JTEXTAREA.

Are u doing this on java or xamarin.
I am using java
Re: How Can I Create An Offline Dictionary App For Android by Nobody: 8:25pm On Jul 22, 2017
Infinixhot2:
I am using java
Ok. Follow as I told you,then create a match against each word. If the word exists, then it should show what you have in the text file.
Re: How Can I Create An Offline Dictionary App For Android by Infinixhot2(op): 9:07pm On Jul 22, 2017
Thanks alot..
Re: How Can I Create An Offline Dictionary App For Android by Nobody: 10:41pm On Jul 22, 2017
Infinixhot2:
Thanks alot..
U welcome, alternatively if you want a single file, make it a private string

Private string word [] ={....} ;

Then meaning

Private String meaning [] ={....};

Then match words against meaning if it finds the meaning of the word, it outputs it's meaning. I remember using this algorithm when I wrote an anti virus once.

Or to ease your complex complexities, use hash maps

Watch this video


https://www.youtube.com/watch?v=UR76LaV4wRA
Re: How Can I Create An Offline Dictionary App For Android by Nobody: 3:00am On Jul 23, 2017
heard of sqlite
1 Reply

Convert Python Dictionary To Jsonwith how Much Can I create An Online Retail Website And APP?How Much Will It Cost To Create An IOS, And An Android App234

The Server The Document Is Stored On May Not Be Responding.DARK WEB: You Would Want To Be A Hacker After Studying ThisMr Seun Osewa Are You A Programmer ??