Android Dictionary (English<->Chinese)

Search for BETA-testers and/or promote your own Application in a decent way.

Android Dictionary (English<->Chinese)

Postby cabernet1976 » Tue Dec 25, 2007 5:07 am

Merry Christmas.
Thanks to read me.
It is a simple program. It uses web API to consult dictionary between English and Chinese. Please see here:
http://2lovelyblog.blogspot.com/2007/12 ... inese.html

I spends long time to deal with the character set between utf-8 and gbk.
If you try this application in your emulator, you will find the some words' pronounce cannot be display correctly, e.g. ask.
Attachments
DictDroid.zip
full source code &amp; apk
(58.6 KiB) Downloaded 1428 times
cabernet1976
Senior Developer
Senior Developer
 
Posts: 154
Joined: Fri Nov 16, 2007 2:34 am
Location: China

Top

Postby cabernet1976 » Tue Dec 25, 2007 5:20 am

It looks like that:
Attachments
Dictionary.JPG
Dictionary.JPG (26.52 KiB) Viewed 16088 times
cabernet1976
Senior Developer
Senior Developer
 
Posts: 154
Joined: Fri Nov 16, 2007 2:34 am
Location: China

Postby chengduman » Wed Dec 26, 2007 4:49 am

cool! 赞一个 先学习下代码
chengduman
Freshman
Freshman
 
Posts: 3
Joined: Mon Dec 24, 2007 5:42 am
Location: montreal

Postby Katharnavas » Wed Dec 26, 2007 8:39 am

Hi,
What should be done to convert this project to support indian languages ...
Katharnavas
Senior Developer
Senior Developer
 
Posts: 100
Joined: Tue Dec 04, 2007 5:57 am
Location: India

Postby cabernet1976 » Wed Dec 26, 2007 8:54 am

Hi,

If you read the source code, you will find it do two things:
1. Find a dictionary webAPI provider, I am sure there are some India web sites will supply this service.
2. Use the webAPI to do your own dictionary program, in this step, you often need to parse XML, and deal with the character set issue between utf-8 and your language's.

Wish it will help you.
cabernet1976
Senior Developer
Senior Developer
 
Posts: 154
Joined: Fri Nov 16, 2007 2:34 am
Location: China

Postby Katharnavas » Wed Dec 26, 2007 9:01 am

Hi,
Thanks for ur immediate response and suggestions..
Katharnavas
Senior Developer
Senior Developer
 
Posts: 100
Joined: Tue Dec 04, 2007 5:57 am
Location: India

Top

Postby Katharnavas » Wed Dec 26, 2007 11:51 am

Hi i could not find any relevant webapi for the specified... If any please inform me.
Katharnavas
Senior Developer
Senior Developer
 
Posts: 100
Joined: Tue Dec 04, 2007 5:57 am
Location: India

Postby lemonhead » Wed Dec 26, 2007 12:31 pm

Nice work!
lemonhead
Junior Developer
Junior Developer
 
Posts: 11
Joined: Thu Nov 15, 2007 5:16 pm
Location: Brazil (temporarily)

Postby plusminus » Wed Dec 26, 2007 11:26 pm

Hello cabernet1976,

Really nice work :!:

Would be awesome, if you could add some extra languages.

You could probably use the Google Translate API. Example:
:arrow: "http://translate.google.com/translate_t?langpair=en|de&text=Hello+World"

With that we would just have to parse/filter some html (not seen xml-output of the API).

There even is a Translation API from Google-Research: http://research.google.com/university/t ... /docs.html
Returns XML, but beta + only 3 language-pairs.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby cabernet1976 » Thu Dec 27, 2007 5:45 am

plusminus,

Thanks for your suggestions, I have learn some about Google translation API, it is very good to do translation (often translate a sentence or article from a language to another) but not good as a dictionary.
Otherwise, I think your idea is very nice. I will try to do that later.
cabernet1976
Senior Developer
Senior Developer
 
Posts: 154
Joined: Fri Nov 16, 2007 2:34 am
Location: China

Postby cabernet1976 » Thu Dec 27, 2007 6:07 am

Sorry, Katharnavas.
I am unable to help you more.
cabernet1976
Senior Developer
Senior Developer
 
Posts: 154
Joined: Fri Nov 16, 2007 2:34 am
Location: China

Postby cabernet1976 » Thu Dec 27, 2007 6:13 am

http://translate.google.com/translate_dict
can be used to implement a dictionary, but it is in http, and only support 6 pairs language. (Not support my home language here :cry: )

e.g. dictionary 'hello' from english to German as below:
http://translate.google.com/translate_d ... pair=en|de
cabernet1976
Senior Developer
Senior Developer
 
Posts: 154
Joined: Fri Nov 16, 2007 2:34 am
Location: China

Postby Katharnavas » Thu Dec 27, 2007 6:33 am

Hi,
No problem ...
cabernet1976 wrote:Sorry, Katharnavas.
I am unable to help you more.
Katharnavas
Senior Developer
Senior Developer
 
Posts: 100
Joined: Tue Dec 04, 2007 5:57 am
Location: India

issues which I met in this program

Postby cabernet1976 » Thu Dec 27, 2007 1:54 pm

I have created a thread in google android group, but haven't fixed yet. Could somebody here help me? Thanks.
http://groups.google.com/group/android- ... b40f27a7db
Upload2Flickr's blog: http://upload2flickr.blogspot.com
cabernet1976
Senior Developer
Senior Developer
 
Posts: 154
Joined: Fri Nov 16, 2007 2:34 am
Location: China

Please Help.

Postby Nitinkcv » Sat Jan 05, 2008 5:33 pm

Hi,

It would be great if you could look into the issue i'm facing currently. My post is here.

Im facing issues related to encoding format. I was able to find out the correct charset to use for my language. But its always throwing an UnsupportedEncodingException.

Thanx,
Nitin
Nitinkcv
Developer
Developer
 
Posts: 29
Joined: Thu Nov 29, 2007 1:02 pm

Top
Next

Return to Promote your Android Application

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests