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.


Messages - totsubo

Pages: [1] 2 3 4
1
Site Suggestions, Requests, and Updates / Japanese forum
« on: July 23, 2005, 10:08:03 am »
Please add my vote such a forum creation. I'd especially like to get more information on input methods/etc.

I might be wrong but for my C3000 I don't thin there is any way for me to use a different OS or windowing manager without losing my Japanese dictionary and IME? Maybe some Japanese users have found a way around that?

2
Software / Japanese Laguage Proficiency Test vocabulary - all
« on: July 23, 2005, 10:03:57 am »
Great program! Any chance of getting the source code?

One of the things I find it is missing is some sort of intelligence in picking out which word to display next. It would be nice if the program could remember which words the student knows well and presents the ones the student doesn't know well more often.

3
C1000/3x00 General discussions / Cacko 3k Usage Poll
« on: July 23, 2005, 09:53:04 am »
Glad to hear that the project is still alive and kicking!

Until the time that Cacko has Japanese support, are there any other projects out there that might be worth taking a look at.

I didn't research it in very much depth but looks like OpenZaurus also (at least with Opie) doesn't support Japanese input either?

4
I'm interested in changing the OS/window manger of my C3000 but don't quite know how to go about it. I've had a look at OpenZaurus and Cacko but can't quite figure out a few things:

#1- Which OS's are available for the C3000?
#2- Which windowing managers are available?
#3- Which windowing managers can be used with which OS's?


And the most inportant one for me:

#4- Which OS/Windowing manager combination will alllow me to preserve my Japanese dictionary and Japanese input methods?

5
C1000/3x00 General discussions / Cacko 3k Usage Poll
« on: July 23, 2005, 06:37:57 am »
I'm one of those who voted Bad. And to be honest it's not a reflection on Cacko itslef but more on the fact that it can't be installed without losing Japanese dictionaries/etc.

As soon as it is possible to retain these and Japanese input methods I'm jumping over.

6
C1000/3x00 General discussions / C3000 Won't Turn On
« on: April 12, 2005, 08:24:30 pm »
I didn't check but I thought resetting would undo revert the Z back to factory settings, no?

Thanks for the info on the battery! Makes it a bit annoying though when your battery runs out ... even though the Z is plugged into the wall it won't start

7
C1000/3x00 General discussions / C3000 Won't Turn On
« on: April 12, 2005, 09:46:14 am »
Reset by pushing the reset button and lose my data? No.

My Z is up and working now. I guess there must be a minimum level the battery must be at, even with the charger plugged in, for the Z to come up. After letting it charge for an hour it booted up fine.

8
C1000/3x00 General discussions / C3000 Won't Turn On
« on: April 12, 2005, 03:58:01 am »
I had my Z C3000 with me at the office today and was using it fine. When I came back home I tried but couldn't turn it on. At first I though the battery was dead so I plugged in the charger but still I can't turn it on. The charging light is one so I dunno what's up.

I tried removing the battery for a few seconds and putting it back in but that didn't help.

Any ideas?

9
Quick update, I made the KeyListener an external public class and that didn't solve anything. Omicron I'll be PM'ing you and asking you to try out my code

10
FYI here is the exact code that declares the KeyListener:

Frame:

private TextField getAnswerTF() {
   if (answerTF == null) {
      answerTF = new TextField();
   }
   answerTF.addKeyListener(new java.awt.event.KeyAdapter() {
     public void keyPressed(java.awt.event.KeyEvent e) {    
       if (e.getKeyCode() == KeyEvent.VK_ENTER) {
         controller.checkAnswer();
       }     
     }
   });      
   return answerTF;
}

And here is the code that fails:

Controller:

public void checkAnswer() {
  String correctAnswer, answer;
  /* code fails at the line below */
  answer = k.getAnswer();
  boolean correct = false;
  if (answer.equals("")) return;
  if (testType.equals("english")) {
    correctAnswer = currentEntry.getEnglish();
    correct = correctAnswer.indexOf(answer) != -1;
  }
  else {
    correctAnswer = currentEntry.getKana();
    correct = correctAnswer.equals(answer);
  }
  k.answer(correct);      
  k.setKana(getCurrentKana());
  k.setEnglish(getCurrentEnglish());
  currentEntry.updateStats(correct);
}

Frame:

public String getAnswer() {
  System.out.println("getAnswer() start");
  /* code freezes here */
  String ret =  answerTF.getText();
  System.out.println("Answer is " + ret + " getAnswer() end");
  return ret;
}

11
Thanks for the offer. I don't have the source with me rightnow but I'll send it to you on Monday.

As for all JVM's not being the same that's true but they should all respect the Java specs

12
Some answers to your questions:

I'm sure it's the access to the TextField that is the problem. Sysout works fine.

Any of these fail:

answerTF.getText();
System.out.println(answerTF);

I'll try what you suggested and let you know the result.

I hadn't though of making the adapter public. I did try to make it a an anonymous class, i.e. passing it in as an argument to the KeyListener but that didn't help.

Question: why would it makea difference. I.e. why does the app work fine on my desktop but not on the Zaurus?

13
Long story short, I wrote a Java app thet works fine on my desktop, and works fine on my Zaurus 3000 until it hits KeyAdapter code for a TextField.

Specifically it freezes when I try to access the TextField in the adapter.

I know that it's not the TextFiled nor the adapter per se but the combination of accessing the TextField from inside it's adapter. I can use the TextField other palces in the code fine, and if I remove the use of the TextField from the adapter code everything works fine.

It's only my adapter tries to use the TextField my app freezes. The relevant code looks like this:

[...]
  answerTF.addKeyListener(new KeyPressed());
[...]

private class KeyPressed extends KeyAdapter {
  public void keyPressed(java.awt.event.KeyEvent e) {  
    if (e.getKeyCode() == KeyEvent.VK_ENTER) {
      /* the line below causes app to freeze */
      System.out.println("Entry is: " + answerTF.getText());
    }     
  }
}

Any ideas?

14
Don't know anything about thinlets. Any links to how they can be used on a Zaurus?

15
I'd like to start writing some Java applications for my C3000 but I don't know where to start. Can anyone point me to some ressources for learning how to write Java apps for the Zaurus?

BTW I managed to get Java running on my SL-C3000 following the instructions on this thread, now I just need to figure out how to write stuff:

https://www.oesf.org/forums/index.php?showtopic=10938

Pages: [1] 2 3 4