OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

Profile
Personal Photo
Options
Options
Personal Statement
rrashkin doesn't have a personal statement currently.
Personal Info
rrashkin
Age Unknown
Gender Not Set
Colorado
Birthday Unknown
Interests
carpentry/hiking
Statistics
Joined: 10-December 03
Profile Views: 543*
Last Seen: 20th March 2007 - 12:19 PM
Local Time: Dec 21 2014, 01:05 PM
67 posts (0 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
* Profile views updated each hour

rrashkin

Members


Topics
Posts
Comments
Friends
My Content
7 Apr 2005
I planted some seeds and promptly forgot what I had planted where. That got me thinking it would be good to have a program on the Z (I have a 5500) that would allow me to plan and/or record what I had planted, keep for next year, etc. I know, I can just use a piece of paper. But I wrote the app anyway.

It's organized by "beds" starting at bed-0.
To add or change a plant, choose a plant number or "new". Tap the screen to get the coordinates in the proper fields. Choose "AddPlant" to get the new/updated plant into memory. Choose "save" to save the array to grdn.csv. Choose "refresh" to redraw the bed.

I can't seem to attach it so I'll send it out to anyone who's interested.
16 Sep 2004
Greeting all.
This may not be interesting to anyone else but I like it:
I have several Java apps that I wrote for various reasons. I really find the whole IPK thing a major hassle as these are really just for me. I was content for a while to run my apps from the console (I wrote a bash script to list my classes and give me a choice) but it ocurred to me that it would be good to have a "launcher app" that I could put on the desktop that would read a text file (zlnch.txt) of otherwise stand-alone apps and luanch them. That way, any new app I write, I just copy the classes off to my CF card and edit the text file and I'm done. The apps need to have a argument-less constructor and basically do nothing in "main" but call the constructor.

So, anyway, if anyone is interested:
CODE
import java.awt.*;
import java.awt.event.*;
import java.io.*;

class jlnch extends Frame  {
//    class data
static TextField appnm;
static String rs;
static Choice apln=new Choice();
//    main method
    public static void main(String args[]) throws IOException {
    //Initilaize
   apln.add("");
       BufferedReader iniFile = new BufferedReader(new FileReader("zlnch.txt"));
       while ((rs =iniFile.readLine()) != null) {apln.add(rs);}
       apln.addItemListener(new ItemListener(){
            public void itemStateChanged(ItemEvent e)  {
                   String ct = apln.getSelectedItem();
                   try {
                           Class cls = Class.forName(ct);
                           cls.newInstance();
                   }
                   catch (ClassNotFoundException e2) { }
                   catch (IllegalAccessException e3) { }
                   catch (InstantiationException e4) { }
            }
       });
    //call constructor
        jlnch jl1 = new jlnch();
    }
//   constructor method
     public jlnch() {
 setTitle("app launcher");
 addWindowListener(new WindowAdapter() {
     public void windowClosing(WindowEvent e) {
   System.exit(0);
     }
 });
         ScrollPane sp = new ScrollPane();
         Panel p0 = new Panel();
         p0.setLayout(new GridLayout(1,0));
         p0.add(apln);
         //
         sp.add(p0);
         sp.setSize(200,40);
         add("Center", sp);
     pack();
 show();
     }
}
17 Jun 2004
Greeting.
I wrote a Java application that I can run just fine from the console (QKonsole) by using "evm dandc" (dandc is the classname). I thought, just for fun, I'd try to set up an icon so I can launch it without the console.

1. I copied "qkonsole.desktop" from /home/QtPalmtop/apps/Applications to the Documents area on my CF card, and called it "dandc.desktop".
2. I created a bash script called "dandc.sh" in /mnt/card/QtPalmtop/java, where the class resides. That script contains 2 lines:
cd /mnt/card/Qtpalmtop/java
evm dandc
3. I downloaded an icon (in .png format) to /mnt/card/Documents/Image_files
4. I edited dandc.desktop to show:
- run=/mnt/card/QtPalmtop/java/dandc.sh
- icon=/mnt/card/Documents/Image_files/jedit.png
- name=dandc
5. I copied dandc.desktop back to /home/QtPalmtop/apps/Applications (changed the permissions to 644 like all the other .desktops there).

I was expecting "dandc" to now show up in the "Tab Settings" selection, but it didn't. I realize that I changed a lot of things at once but even so, can someone tell me what I'm doing wrong, or, how to do it right?
25 May 2004
Greeting.
I'm having trouble executing a Java app I downloaded from the Software Index. For reasons that seem ok to me, I didn't want to "install" it but just put the .jar file on my system and execute it manually. First of all, the site claims that it works on the Z. Second of all, I can execute it on my PC just fine (the syntax for "java" is a little different from "evm").
I put the downloaded jar file, jSolun100c.jar, on my SD card, under QtPalmtop/java. If I look at the jar file on the PC (jar tf jSolun100c.jar), it appears that the "main" class is "JSolun".

Then I type in at the console:
cd /mnt/card/QtPalmtop/java

then:
evm -cp /mnt/card/QtPalmtop/java/jSolun100c.jar JSolun

I get what I gather from posts here is a classic: "java.lang.NoClassDefFoundError: JSolun"

Any ideas what I'm doing wrong
22 Mar 2004
Greeting.
After a couple of years, it was time to buy a new battery, which I did. When it came, I followed the instructions which were:
1 plug the Z into the AC adapter charger
2 flip the "replace battery/normal ops" switch
3 remove the battery cover; remove the battery
4 remove the old battery; insert new battery; replace cover
5 flip the switch back to "normal ops"

When I did all that, the amber light was flashing - not a good sign
I did it all again, putting the old (still serviceable) battery back in.
Horrors! The amber light was still flashing. According to the manual (I know, who reads the manual?) that means the battery is no good. I could see the new one being defective but the old one?
I put the new one in - still flashing.
Then, on a whim, I unplugged the adapter from the Z and plugged it back in. Voila! Now the charging light was on as normal charging.

Is this the expected behavior?
Last Visitors
rrashkin has no visitors to display.

Comments
Other users have left no comments for rrashkin.

Friends
There are no friends to display.
RSS Lo-Fi Version Time is now: 21st December 2014 - 12:05 PM