BUG Community

Welcome! Log In

Forums Recent Posts

Subscribe to Recent Posts 12,455 posts found

Mar 24, 2008 8:01pm
Medium finsprings 268 posts

Topic: Java / Java... Where to start?

Java SE is "Java Standard Edition" (as opposed to Java Enterprise Edition, which – trust me – you want to avoid right now). That gives you the compiler (javac) and the runtime (java) programs, plus all the standard libraries, for printing to the screen, making socket connections, and so forth.

Eclipse is an IDE (Integrated Development Environment). Microsoft’s Visual Studio would be another example of an IDE that you may have heard of.

So, basically, the Java download gives you basic command-line tools to compile and run Java applications. Eclipse has a graphical user interface and includes an editor that understands Java, so it can help you with typos and so on. It also includes a debugger so you can step through your code.

Dragonfly is buglabs’ extension to Eclipse that adds the VirtualBug for testing your applications, access to Bugnet to upload your apps and download other peoples, plus all the bug-specific libraries.

Mar 24, 2008 7:15pm
MetalCube 3 posts

Topic: Java / Java... Where to start?

That helped a ton. Thanks!

Just one last question. What is the difference between the Java SE and the Eclipse thing. (I get that the Dragonfly SDK is for the BUG stuff, but I dont have one yet.)

Mar 24, 2008 11:40am
hzaida 38 posts

Topic: Meet & Greet / Hi from French

youpi38,

Welcome to the BUG Community!

Cheers,
Heather

Mar 24, 2008 7:55am
hackmeister 3 posts

Topic: Meet & Greet / Interview with Peter Semmelhack on TLLTS

Peter was nice enough to talk to us for almost an hour on The Linux Link Tech Show:
http://www.tllts.org/audio/tllts_237-03-19-08.ogg
http://www.tllts.org/audio/tllts_237-03-19-08.mp3

Enjoy!

Mar 24, 2008 5:03am
Medium kgilmer 215 posts

Topic: BUG SDK / Virtual Bug ... Accelerometer.

Hi Kit,

Was great to meet you at EclipseCon, hope your presentation went well. You will also want to check the JavaDoc (which isn’t available right now publicly) as I’m pretty sure the units are defined there. I’m also having Angel respond (the authority) when he gets a chance.

Mar 23, 2008 8:58pm
Medium finsprings 268 posts

Topic: Java / Java... Where to start?

You want Java SE (Standard Edition), and you want the JDK (development kit) rather than the JRE (which is just the runtime). You can get JDK 1.6 Update 5 from http://java.sun.com/javase/downloads/?intcmp=1281.

There are instructions on obtaining and installing Eclipse, and then adding the Dragonfly SDK for the Bug on the Bug wiki at: http://bugcommunity.com/wiki/index.php/Install_Eclipse_%26_Dragonfly_SDKs

Java as a language is pretty mature now, and most updates are backwards compatible, so if you buy a book and a new version comes out, the book will still be mostly applicable. Plus, if you're just getting into programming, the sort of things that are likely to change in Java aren't likely to impact you until you get into it a little deeper anyway.

Effective Java (http://www.amazon.com/Effective-Java-Second-2nd/dp/0321356683/ref=sr_1_6?ie=UTF8&s=books&qid=1206319850&sr=1-6) is a pretty good tour of Java without getting too verbose.

You could also look at Sun's Java tutorials online at:
http://java.sun.com/docs/books/tutorial/java/index.html

Hope that helps. Once you get all the tools together, download a few of the sample applications from Bugnet and look through their code to get yourself familiar with how they work. If you have questions I'm sure their respective authors and/or the forum will be happy to help clarify things for you.
Mar 23, 2008 6:59pm
Medium kschultz 107 posts

Topic: BUG SDK / Virtual Bug ... Accelerometer.

Yea, I was saying the opposite, it would be difficult to get an acceleration event without getting a motion event.

Mar 23, 2008 1:49pm
MetalCube 3 posts

Topic: Java / Java... Where to start?

Ok… Ive been looking into programming for some time… but I really never got anywhere. Lots of people have told me to get into Java and now that Ive found a practical reason for learning it (Bug) I want to learn. Anyway…. If anyone can answer these questions that would be great.

- Which do I choose (Go to Sun Developer and then go to Downloads.) ?

-Any good tutorial sites?

-Any Books.

-How do I keep up to date with a new IDE (Tutorial for Version X and I have Version Y)

Thanks in advance!

Mar 22, 2008 9:26pm
Medium jconnolly 285 posts

Topic: BUG SDK / Virtual Bug ... Accelerometer.

kschultz
The motion sensor is infrared based afaik. When the MotionDetected method is called, that is a motion from infrared side not the accelerometer side, though I think it would be difficult to cause one without the other.


Not necessarily. Motion may be detected by the infared sensor without the BUG unit itself being moved. Think of stationary motion sensors mounted in ceiling corners in schools, banks, etc.
Mar 22, 2008 5:38pm
tevslin 16 posts

Topic: BUGbase / Charge indicator light

When I first pluggedthe base in, the lite was on solid. Now it only blinks as I reinsert the charge connection and then goes off despite the fact that I’ve been using the base and the LCD on battery for a while. The battery % display on the virtual bug doesn’t seem to be on the real bug.

Does this mean I’m not charging? If so, is it likely because the base doesn’t need a charge or an indication of a problem?

Am hoading my watt-hours in the meantime/:-}

Powered by Community Engine

Top
Login
Close
Bottom