Tuesday, February 26, 2008

Php and java

I have a java class that connects to the server through php and it prints out the information my php displays in the command line
e.g., Colin's location is unknown etc...
Go me.

Meeting - 25/02/08

Met with Graeme, Steve and Lorcan yesterday for a meeting. The aim is to get my project working so it's an end to end version, this invovles doing some more java to get updates from the server, I'll probably do this via php, I'll look into that first.
Next I have to combine the java with Processing so that the java code is linked to my clock and the animation is updated whenever someone changes location, Processing is a form of Java so hopefully this won't be too difficult to implement.
I'll be meeting with Lorcan next week at some stage to sort out the plans for the Microsoft trip and he'll run through his presentation.
Then there's the interim report which I hope to have my first draft finished by the end of this week.
After that I'll then get to work on adding a way of getting wireless access points.

Thursday, February 14, 2008

Coding Schtuff

I added JOptionPanes into my code to start off a GUI, I don't really like the default look and feel so was thinking of having a JFrame just so I can change that but that's really just me being picky!
Also I noticed when no name was entered, the record would be added to the database with the name field being null so I changed this where it gives an error if the field is left blank and it quits the program.

Wednesday, February 13, 2008

Designing woop woop

So I've come up with one idea for the clock and hopefully its ok!


Also wanted to have my icons in a bubble like this

now i have to work on the text with HOME, SCHOOL etc.

Monday, February 11, 2008

teeny tiny update

thought i broke my code but i had it trying to send info to a php file that i'd deleted! oopsies. Luckily I had a backup coz I'm great.

I have my java code giving an error whenever its not connected to the internet as me and Graeme couldn't figure out why it wasn't getting the MAC address over in CASL where there is no internet where we were, go us, although in fairness to Graeme he figured it out!

My webpage has two extra pages, one to register a username, one to register a location, at the moment the php page doesn't get the MAC address, it just gives directions on how to get it and the user has to put it in themselves.

Thursday, February 7, 2008

Meeting - 07/02/2008

I met with Graeme and Lorcan today and discussed my presentation, basically I have to not apologise ever and get less nervous! I'll work on that.
Also discussed the trip to Microsoft Research, plan is that Lorcan will talk about my project, some of the other final year projects and some of his research which will be interesting, then I'll demo my project which should be pretty good by then (fingers crossed!)
Spent a while cleaning up my code, I had an extra table in my database which I didn't need and I'll incorporate user inputs into my webpage so they can register a location and register their usernames which will then be saved in the database. This shouldn't be too hard so I'll do this first. I will also update my System Architecture diagram and post it when I get round to doing it.
Next step is my clock display, can't wait! Graeme gave me a list with Flash, java 2d etc, which I will look into, was talking to Owen about Processing which he is using, it can be used in Eclipse which sounds handy.
I'm gonna make a start on my report as well wrt the design and why I've chosen to use the technologies and other possibilities I considered etc.
Also have to make a java GUI such as a JOptionPane but this is less important for now.

Monday, February 4, 2008

So I now have my php displaying where people are refreshing every 60 seconds for when the database is updated.
I also have it displaying when someone's location is not known, but instead of printing out their name it prints out "Resource id#3's location unknown", I'm not sure why...!

Presentation plans

I followed pretty much the outline Lorcan gave to us with regards to our slides for the presentation, I've sent them to Graeme just to check that they're not crap so hopefully they're ok!
Been panicing slightly over the demo we have to give, my Java code is interacting with the database although it isn't inputting the information it takes in, it just adds a blank row, grrr.
I should be meeting with Graeme tomorrow to go over the code in person, this should solve the problem