• Welcome to DictionaryForMids Forum.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - nhtshot

#1
 Finally! Success!

I settled on netbeans, since the MIDP plugin seems pretty slick. I built a project for DictionaryForMIDs, one for JavaME, stuffed into new directories, pointed the source to your directories from SVN, copied a dictionary into the res folder so it would get included in the JAR and BAM, it works.

Now I just have to get down to the actual work of adding the things I want to add.

Sean
#2
Quote
QuoteI've done quite a bit of mobile device development using C#

Aha ... maybe you'd like to work on a port of DfM to Windows Mobile 7 ?

Doing and liking are two very different things!

Actually, my goal is to add multimedia functionality to the mobile Java version. I have a Nokia phone and am currently slogging my way through learning Chinese. I want to add pronunciation sound files and "how to draw" stroke order gifs to the cedict dictionary. Of course, that entails adding the multimedia abilities to DFM.

I also want to add some more intelligence to the search functions, specifically relating to some quirks of chinese. Many words are composed of multiple characters which have discrete meanings as well. To the non-speaker, it's oftentimes impossible to determine what is a multi-character word and what isn't. My thought is to change the search algorithm so it can return sub-sets of the entered text. That way, if I type 3 characters and the first 2 are a 2 character word, it will return the 2 character word assuming there isn't a valid 3 character word.

So, those are my long term goals. Of course, by the time I get that stuff done I probably won't need it anymore!


Quote from: Gert on 05. October 2010, 20:29:29
Concerning my .project-file: I just realize that I have several of these files.

I have a separate Eclipse-project for each DfM tool/application, I made a screenshot in the attachment.

Regards,
Gert

Thanks, I'll try setting it up that way to see what happens. I've also found that NetBeans has a pretty reasonable ME plugin. I'm experimenting with that now.

Sean
#3
You'll have to forgive my ignorance, but as I've said, I'm new to JAVA.

I've been trying for sometime to successfully build DFM from Eclipse or Netbeans and have nothing to show for it except a large bruise on my forehead from banging it against the desk.

I'm well versed in SVN, I have no problem downloading the tree. I've tried importing the build.xml into eclipse and it basically takes a giant shit all over it. I've tried creating a project and importing the folders to no avail. It never manages to find all the classes. I also cannot for the life of me figure out how to get Eclipse to find the ME base classes. Today, I was finally fed up with eclipse and decided to give netbeans a whirl. No love there either. It keeps wanting to try to build the thing using my native JDK instead of ME.

Perhaps what I'm after doesn't exist. I've done quite a bit of mobile device development using C# and visual studio. In there, it's a simple matter of creating a project, choosing a device class and bam! you're ready to go. The emulator works, debugging works, and if you hook up the actual device you can deploy debug builds directly.

I'm hoping to figure out some sort of similar arrangement to work on this, but none of the tools I've using seem to be able to even build the damned thing, let alone provide an easy mechanism for testing.

My questions are the following:

1. "I myself use Eclipse" What exactly do you use it for? Are you just using it as a glorified text editor and then building from a console? Do you debug and test directly? Can you use the emulator from it?

2. If you answer yes to any of the above, can you please check your "project file" into SVN and maybe put up some quick notes about what plugins you have installed and how they're configured?

I appreciate your help. I've avoided posting again since I didn't want to take up your time with what should be trivial things, but I'm just not getting anywhere productive and I want to actually start getting some real work done.

Sean

#4
General discussions / Re: Build environment
26. August 2010, 11:53:14
I'm a fairly experienced programmer, but new to java/j2me. I'm an American expat currently residing in China. As you can imagine, I rather love the dictionaryformids cedict. I have some free time and would like to add some functionality to it.

I'm perfectly willing to explore and learn the ins and outs of your style as well as java in the process. However, I need some advice on build environments. I've never used eclipse before and am finding it quite unwieldy. I would very much like to use an IDE, since it helps when working in a language I don't know.

My biggest issue is setting up the build environment properly. I've tried importing the build file, but eclipse basically pukes all over that.

Do you have any suggestions? Should I try one of the other environments? Does somebody have an eclipse project file I could get a copy of?

Thanks