Upload
ursula-bryant
View
214
Download
0
Embed Size (px)
DESCRIPTION
Use XML-RPC to send data over HTTP encoded as XML. Simple and light-weight Works across different OS and environments Supports complex data structures Call server methods from client (RPC)
Citation preview
CSE 4939Alex Riordan
Brian Pruitt-Goddard
Design an interactive source control application that works between an android phone and a project
located on a remote server.
• Allow client to create, edit, open, and save small source files. Allow other commands including
diffs.
• User chooses file to work with and server options (address, etc)
Use XML-RPC to send data over HTTP encoded as XML.• Simple and light-weight
• Works across different OS and environments• Supports complex data structures
• Call server methods from client (RPC)
Use android-xmlrpc library• Very thin• Simple
XMLRPCClient client = new XMLRPCClient("http://foo.bar.com");//Call the add server function with params 2 and 4int sum = (Integer) client.call("add", 2, 4);
Use Apache XML-RPC• Minimal• Simple
//Create WebServer at specified port numberWebServer webServer = new WebServer(8888);XmlRpcServer xmlRpcServer = webServer.getXmlRpcServer();//Create property mapping to Foo classPropertyHandlerMapping phm = new PropertyHandlerMapping();phm.addHandler("Foo", org.apache.xmlrpc.demo.Foo.class);//Set mappingxmlRpcServer.setHandlerMapping(phm);//Start WebServerwebServer.start();
• Phone with Android version 2.2
• Access to Project/SVN server
• Phone is connected to the Internet
• UI should be responsive• Server has to respond to client within reasonable
amount of time• If it is operating on a large program, give some
indication of progress
• Simple and intuitive client
• Server handles file errors and outputs meaningful error message
• Reliable source control operations
• Basic Android functionality• Server and Client talking
• Able to call server methods from client and get results
OctoberBe able to transmit objects (files) over
connectionHave server compile and run java file and
pipe outputHandle output at server and report it to
client
November-DecemberHook SVN/project software to server
programAllow user to create program client side
using text editorWrite documentationFix bugs Implement syntax highlighting and other
extra features if time permits