Yvonne V. Richardson
  • Home
  • Portfolio
    • Project Management
    • Presentations and Lectures
    • Code Samples >
      • Android Java Resume Application
      • Student-Oriented Code Samples
    • Graphics and Gaming >
      • Making Believable Graphics
      • Little Red Riding Hood Video Game
    • Documentation
  • Web Development
    • Survey of 3-D Game Development
    • Gardeners Planting System
  • Educational Technology
    • Online Education
    • Online Shared Meeting Space
    • Presentation: The Unit Circle
    • Technical ToolBox
    • Mathematics 2 >
      • Math 2 Goals and Objectives
      • Math 2 Course Schedule
      • Math 2 Scoring Rubrics
      • Math 2 Blog
      • Math 2.4 Probability >
        • Math 2.4 Objective A
        • Math 2.4 Objective C
      • Math 2.4 Evaluation
      • Math 2 Thanks You
      • Contact Us
    • Productivity Tools
  • Colleges
  • Links
  • Contact Us
  • New Page

ANDROID JAVA RESUME

This application is, or was, my resume.  This Java tablet application is separated into activities; the user interface displays views, or fragments that contain views. Sections of the original document correspond to fragments, and are listed when the application starts. A tablet displays the menu next to the fragment, but smaller devices switch between the menu and the detail, independent of portrait/ landscape rotation. Two types of files that contain information are a part of the application itself, and CSV files can be loaded into the SD card. CSV column names are in the first record of the file; names like "URL" allow the application to use live links, and start email or browser applications.
The Model-View-Controller program architecture manages application data, program logic and business rules. Phone/ tablet development replaces the Model-View-Controller model with a Model-View-View-Model architecture; the device operating system functions as the controller.

Inputs

Resume Input Files
File Size: 4 kb
File Type: zip
Download File

In most instances, there are specific design reasons for locating input files in certain areas. I explored all the options and provided model methods for later applications.  Consequently, input files for this application are located in four different places. 

  • XML files can contain inputs that might otherwise be hard-coded literals.
  • Files that should be treated as project resources are located in the /raw subdirectory of the /res resources directory. They are associated with resource ids.
  • Text files in the /assets directory are copied verbatim into local storage when the program is installed.  These files are usually files like streaming files or animation assets, and are accessed with the AssetManager.
  • CSV files are located on the SD card.

Resources

Resume Resource Files
File Size: 156 kb
File Type: zip
Download File

Android development relies heavily on string resources.  Items that might have been declared as constants in other languages are instead stored as XML literals. 
This file also includes non-animated graphics.

Outputs

Application outputs are displayed in XML fragments.  Some are created programmatically, and others are generated from IDE sample apps when the type of application is selected.  The fragments that are files separate from Java code are included here.
Resume XML Files
File Size: 5 kb
File Type: zip
Download File

Manifest and Source Code

YVR Android Java Resume Source
File Size: 12 kb
File Type: zip
Download File

Topic Detail Fragment Private Classes
File Size: 328 kb
File Type: pdf
Download File

The manifest describes the contents of the application and how the components will attach to the Android operating system. It also includes permissions to use elements like instrumentation or mapping services; in this instance, the app only needs to access the email application and the Web browser.

The most interesting portion of the source code is the topic detail class, which actually builds and displays views based on the user selection from the first page.  Due to the nature of this Web page, I documented the private classes to expose the workings of the application.

The rest of the source is generated by the IDE when development begins, and did not require much customization during development.

Resume Namespace Documentation

TopicListActivity Class
File Size: 268 kb
File Type: pdf
Download File

The TopicListActivity class is the primary namespace within the application.  It starts the application on the Android device and displays the list of items from which the user can select.
Topic Detail Activity Class
File Size: 263 kb
File Type: pdf
Download File

The TopicDetailActivity class displays detailed information about a specific item that was displayed using the TopicListFragment class.
TopicListFragment Class
File Size: 231 kb
File Type: pdf
Download File

The TopicListFragment Class displays the list of topics. Most of this class is generated by the IDE when it creates a new Master/Detail Flow Android Application Project.
Topic Detail Fragment Class
File Size: 312 kb
File Type: pdf
Download File

The TopicDetailFragment class does all the formatting and display work for each section of the resume. However, most of its classes are private, and this document only describes entry points to the namespace.
YVR AJR
Android Java Resume First Item List Selection
Picture
Selection on a 1-up device in Portrait Mode

Research Sources

Tutorial One: Learn Android SDK Development from Scratch
http://code.tutsplus.com/articles/learn-android-sdk-development-from-scratch--mobile-12153

Tutorial Two: Getting Started
http://developer.android.com/training/index.html
 
Copyright 2012, 2018 Yvonne V. Richardson