SE401:Group32:July 2

From Marks Wiki
Jump to navigation Jump to search

Xml Specification Implementation and Research

  • The org.w3c.dom package shall be used to parse XML scripts into java
  • A XML specification guide has been constructed to give an idea of what developers have to express in an XML schema
if (component == "TextBox") {
    if (event == "Enter Text") {
       //Then simulate an event to type text in text box
    }
}
  • Found that it is possible for even midlets to parse xml
  • Found some j2me applications for us to test our program on
  • Made a small example of xml processing in java

Bluetooth Implementation and Research

  • Modified bluetooth example so that computer communicates with mobile phone.
  • We have established two-way communication. The phone acts as a server and the computer is the client.
  • The client sends a message to the server which changes the message on the server (phone).
  • The server then sends a message to the client which prints a message on the client's console (computer).
    • Problem is that the phone must grant the computer permission before it changes it. ==> FIXED - we just had to set authorized to false
    • Also we are having quite a huge problem in that the computer sometimes can't find the service on the computer
      • Our current way of fixing this is to make it keep checking until it finds it

References

  1. org.w3c.dom api
  2. midlet parsing xml
  3. J2me applications
  4. XML processing example

◄ Main Page