Difference between revisions of "ECE497 Project: Twitter Java Application"

From eLinux.org
Jump to: navigation, search
(Created page with "Category:ECE497 Team members: David Zitnik == Executive Summary == For my final project I would like to develop and compile Java code on the BeagleBoard ...")
 
Line 8: Line 8:
  
 
Currently I have a graphical interface built using the Java Swing library.
 
Currently I have a graphical interface built using the Java Swing library.
 
+
The user can log in to his or her twitter account using twitters external authentication and then will be able to see their profile picture, screen name, and current status. This status can be updated as well as users can be searched for to have their profile pictures and status displayed below.
I haven't been able to communicate with the twitter servers to pull down a current status or to post a new one.
+
  
  
Line 17: Line 16:
 
opkg install openjdk-6-jdk
 
opkg install openjdk-6-jdk
  
== User Instructions ==
+
Download the Twitter4j Library from:
 +
http://twitter4j.org/en/index.html
 +
 
 +
Extract the zip file into a directory of your choice
 +
 
 +
== User Instructions ==  
  
 
I compile and run my code on the beagle using the Open JDK6 and using the commands assuming the file Main.java has my main method in it:
 
I compile and run my code on the beagle using the Open JDK6 and using the commands assuming the file Main.java has my main method in it:
  
 
Compiling .java files in directory
 
Compiling .java files in directory
javac <filename>.java
+
javac -cp <directory where you saved the twitter4j library>/twitter4j-2.2.5/lib/twitter4j-core-2.2.5.jar <filename>.java
  
 
Or compiling all .java files at once
 
Or compiling all .java files at once
javac *.java
+
javac -cp <directory where you saved the twitter4j library>/twitter4j-2.2.5/lib/twitter4j-core-2.2.5.jar *.java
  
 
Running the application
 
Running the application
java Main
+
java -cp <directory where you saved the twitter4j library>/twitter4j-2.2.5/lib/twitter4j-core-2.2.5.jar Main
  
 
== Highlights ==
 
== Highlights ==

Revision as of 07:53, 22 February 2012


Team members: David Zitnik

Executive Summary

For my final project I would like to develop and compile Java code on the BeagleBoard to create an application for Twitter that allows a user to sign in from the Beagle and post tweets using the Java Twitter API called Twitter4J.

Currently I have a graphical interface built using the Java Swing library. The user can log in to his or her twitter account using twitters external authentication and then will be able to see their profile picture, screen name, and current status. This status can be updated as well as users can be searched for to have their profile pictures and status displayed below.


Installation Instructions

Install the Java Development Kit on the beagle opkg install openjdk-6-jdk

Download the Twitter4j Library from: http://twitter4j.org/en/index.html

Extract the zip file into a directory of your choice

User Instructions

I compile and run my code on the beagle using the Open JDK6 and using the commands assuming the file Main.java has my main method in it:

Compiling .java files in directory javac -cp <directory where you saved the twitter4j library>/twitter4j-2.2.5/lib/twitter4j-core-2.2.5.jar <filename>.java

Or compiling all .java files at once javac -cp <directory where you saved the twitter4j library>/twitter4j-2.2.5/lib/twitter4j-core-2.2.5.jar *.java

Running the application java -cp <directory where you saved the twitter4j library>/twitter4j-2.2.5/lib/twitter4j-core-2.2.5.jar Main

Highlights

Theory of Operation

Give a high level overview of the structure of your software. Are you using GStreamer? Show a diagram of the pipeline. Are you running multiple tasks? Show what they do and how they interact.

Work Breakdown

List the major tasks in your project and who did what.

Also list here what doesn't work yet and when you think it will be finished and who is finishing it.

Conclusions

Give some concluding thoughts about the project. Suggest some future additions that could make it even more interesting.