StockPro Android Application Download Link

This mobile application allows the user to create a portfolio of current stock information. The user inputs a symbol, and the app fetches this stock’s current information from an online client. The information is then displayed on the screen and saved on the user’s device. This application automatically updates the information of the stocks contained in the portfolio in time increments the user specifies. It achieves this by using a background service, a broadcast receiver, and an internal SQLite database.

Android programming uses Java for the logic, and XML for the visual display of the application. Beyond showcasing those two fundamental programming and markup languages, this educational project’s purpose was to show my experience creating and using the following Android elements:

Linear, Relative, and Table layouts using XML.

Creating multiple Views and Event Listeners.

Creating multiple Activities and Intents.

Manipulating the application with java code when the user interacts with it.

The use of displaying Toasts in various ways.

Managing Shared Preferences, and allowing a user to change these settings.

Using a ListView with a custom Adapter to allow the organization and deletion of stocks within it.

Using a Content Provider to access the online client whenever the stocks need to be retrieved or updated.

A Service to regularly check for updated stock info using the content provider.

A Broadcast Receiver to intercept the Service’s signals and update our ListView of stocks.

Creating and maintaining an SQLite database to store the various stocks.

The download is a zip of the source code for my project. If you have an environment which has the  Android SDK, you can import this project and run it on an Android emulator. If you don’t, you can still download the zip and view the source code. I also think it might install automatically onto Android devices, but I haven’t had the opportunity to test this out yet.

Click here to Download Source Code

Card Game Download Link

This is the first Java project I have completed on my own time without instruction from a teacher.  I started this project just to see if I could construct my own program out of the skills I have acquired from school.

I created back end and front end code for a card game which tests the user’s memory. The goal of the game is to “flip” playing cards over by clicking on them, and to make matches by remembering what values the cards contain after they flip back over. I created the back end of this program by using inheritance which dynamically allows different values of cards to be created by their suite. The model of the game simply uses arrays to compare cards to see if they match, and then utilizes the Observer Design Pattern to update the GUI. The GUI displays all of the cards face down, and activates a timer after two cards are clicked. After the timer is finished, the cards are compared for equality, and they are either flipped back over or removed from the board.

This game’s logic is finished, and will allow a user to play and finish a game, but it is still a work in progress. Eventually I am going to add sound effects, custom images for the cards, and other features like allowing the user to select how many cards they want on the board.

Update:  On 6-23-2014

I uploaded a new version which contains updated graphics for the front and backs of the playing cards. I also added a new feature which allows the user to select which values they want played in the game. Lastly I added sound effects for when the game starts, ends, and when the cards are matched or flipped over.

I am still planning on adding additional features and functions to the game when time allows.

Below is the link to download my Card Game application. Right-click and “save target as”.

Click here to download
If you would like to see the coding style I implemented for my project, click the link below.
Click here to Download Source Code

Snap Shop download link

This was the first Graphical User Interface I created which allows a user to view an image file of their choice and apply different filters to it. I used Eclipse IDE for Java Developers to write my code, and used Swing components to construct the GUI. The filters were provided by my java instructor, and I dynamically connected them to J-Buttons in the GUI using Action Listeners. This program also allows images to be opened or saved using a J-File Chooser. Additionally, I created an “undo” and “redo” feature, which allows the user to revert back to a previous state of the picture.

Below is the link to download my Snap Shop application. Right-click and “save target as”.

Click here to download

If you would like to see my coding style for this project, click on the link below. Once again only the GUI code is my own work, with the pixel and filter classes provided by my instructor.

Click Here To Download Source Code

Paint Download Link

I created the back end and front end code of a paint program, similar to a paint program you would find on Windows. I used Inheritance and mouse events to create drawing tools that allowed the user to click and drag the mouse to create rectangles, ellipses, and pencil drawings onto a panel. My program also allows the user to change certain functions like stroke width, and color of the object being drawn. I created the GUI with Swing components which allowed me to create containers for the objects to be drawn and viewed.I also used Actions to connect two different buttons to have the same function. Additionally, I created an “undo” and “redo” feature, which allows the user to remove or replace elements of the drawing.

Below is the link to download my PowerPaint application. Right-click and “save target as”.

Click Here to Download

If you would like to see my coding style for this project, click on the link below.

Click Here to Download Source Code

Tetris Download Link

I created the GUI for a working Tetris game. I used back end code provided by my Java instructor, and displayed the Tetris components onto a panel. I scanned through arrays and painted the colors found in them to the appropriate x and y coordinates of a panel. I added a Swing Timer to update the game by utilizing the Observer Design Pattern, and attached key Listeners to the GUI to listen for when the Tetris pieces should be moved. I also added various functions to the game like the ability to pause, end, and start a new game. Lastly, I gave the user the ability to re-size the GUI in three different ways, as well as provided a pop up window which allowed the user to customize the controls of the game.

Below is the link to download my Tetris game. Right-click and “save target as”.

Click Here to Download

If you want to see my coding style, right click and download the zip file below which contains all of my classes. Once again the “view” is my own original code, and the “model” was supplied by my instructor.

Click Here to Download Source Code