Courses/CS 491ab/Winter 2008/Linghai Ma

From CSWiki

Jump to: navigation, search

This is Linghai Ma. ANT

Contents

[edit] Week 1 - January 4, 2008

Introduce myself. Think what to do next step.

[edit] Week 2 - January 11, 2008

A.I am interested in Todolist project. So I go to "Remember the milk" and signup an account. I love to give "Remember the milk" a new name RM.

B.After login RM. I try to use my RM. There are a lots of new things to try.

C.Meanwhil I am searching other Todolist examples. Google-calendar, Yahoo-widgets.

D.Next step, I will try to find how to build a todolist and what is best todolist.

If anyone interested in todolist too. We can talk about it. My email: linghai2009@yahoo.com

[edit] Week 3 - January 18, 2008

This week:

I am learning how to use UML design tool ArgoUML.

http://argouml.tigris.org/

Two ways to start ArgoUML: Launch via Java Web Start and Download files and run.

Supported diagrams:1 Class 2 State 3 Use case 4 Activity 5 Collaboration 6 Deployment 7 Sequence

Do some examples: for example: Create a use case diagrams.


Next week:

First,I will try to use ArgoUML to start my project. Second, contine to search more new helpful knowledges to my project.

[edit] Week 4 - January 25, 2008

This week, I am learning how to use Display Tag Library.

Display Tag Library overview:

Using DisplayTag can let tables look good.

Download:

go to websit: http://displaytag.sourceforge.net download Display Tag Library to my computer.

Install:

Drop the displaytag-version.jar file into application WEB-INF/lib directory.

Exercise::

[edit] Week 5 - February 1, 2008

This week, I choose my project Android - An Open Handset Alliance Project

http://code.google.com/android/index.html

Overview:;

Android is a software stack for mobile devices that includes an operating system, middleware and key applications. This early look at the Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.

Get Start:

1, Download SDK

2, Installed SDK and set tools Path,

3, Installed the Eclipse Plugin (ADT)

Write Hello CS491 program::

Next week: I will continue do some Android applications on Eclipse

and think about What is cool and what can I do...

[edit] Week 6 - February 8, 2008

This week, I finished three exercises about Android application-A Notepad Application.

First exercise: Construct a simple notes list that lets the user add new notes but not edit them. Demonstrates the basics of ListActivities and creating and handling menu options. Uses a SQLite database to store the notes.

http://code.google.com/android/intro/tutorial-ex1.html

Second exercise: Add a second activity to the application. Demonstrates constructing a new Activity, adding it to the Android manifest, passing data between the activities, and using more advanced screen layout. Also shows how to invoke another activity asynchronously using startSubActivity().

http://code.google.com/android/intro/tutorial-ex2.html

Third exercise: Add handling of life-cycle events to the application, to let it maintain application state across the life cycle.

http://code.google.com/android/intro/tutorial-ex3.html

Demonstrates how to use the Eclipse debugger and how you can use it to view life-cycle events as they are generated. This section is optional but highly recommended.

Extra exercise:

http://code.google.com/android/intro/tutorial-extra-credit.html

Exercises results:

Develop exercise 3:

Add Edit Note item on menu.

Meanwhile, I am thinking what can I do a little new thing.

.Social networking

.Media consumption, management, editing, or sharing, e.g., photos

.Productivity and collaboration such as email, IM, calendar, etc.

.Gaming

.News and information

.Rethinking of traditional user interfaces

.Use of mash-up functionality

.Use of location-based services

.Humanitarian benefits

.Applications in service of global economic development

Next week:I will contine learn Android and think about new application.

[edit] Week 7 - February 15, 2008

This week: I am trying to set a function to let user to display a picture on phone.

But still does not work.

Image:javefile1.jpg Image:javefile2.jpg Image:javefile3.jpg Image:javefile4.jpg

Image:ApplicationError.jpg

[edit] Week 8 - February 22, 2008

This week: I find how to show a picture on Android.

Main idea:

1,put a image file under drawable directory.

2,create a jave file extends View class to show this image.

Program running result:

Image:onepicture.jpg

[edit] Week 9 - February 29, 2008

Last week:

I have finished to display a picture on Android.

This Week:

I am trying to display more than one pictures at the same time. And How to change a picutre display size.

Design idea:

1, create three jave file to display three picture separately.

2, create three xml file under layout to display one, two and three pictures.

3, meanwhile to change a picutres display size use xml files.

Program Running Result:

Image:Threepicture.jpg

Next week:

I will try to find how to relocate a picture and finish my final report.

[edit] Week 10 - March 7, 2008

Last week:

I have finished to display three pictures with different sizes at the same page.

This Week: I am trying to remove pictures location, does not work. But I success to remove Text Message location.

Image:Linghaistart.jpg Image:Linghaicenter.jpg

I do my final report.

[edit] Final Project Report

[edit] Brief project description

This is my response for Android Developer Challenge. http://code.google.com/android/adc.html

And it focuses on Android Developer Challenge suggested area: "Media consumption, management, editing, or sharing, e.g., photos ". Users can display pictures on their Android and can share these pictures with other permit users.

[edit] Anticipated users

The users will be Android users who want to display their pictures on Android. Or other Android users who want to share other users' pictures through Android.

[edit] Main conceptual (i.e., user-level) objects

The primary characters in the application will be Android picture list, view and share functions.

[edit] Primary conceptual (i.e., user-level) operations

This application will create a display option on Android menu. Users can use this menu to display their pictures on Android or share with their friends.

[edit] Why I am interested in this project

1, I use Google everyday.

2, I use Cell phone everyday.

3, More and more people use their cell phone to listen music, text chat, play game or check email.Next step, maybe they will display pictures or watch video.

4, Google provides 10 Millions rewards for this challenge.

[edit] Status

First,I have downloaded and installed SDK on my computer. SDK is developing tool for Android. It based on Eclipse java IDE.

http://code.google.com/android/download.html

Second, I have finished some exercises. There are three main exercises. By these three exercises, I learn how to use SDK and master basic developing function step by step. Meanwhile I learn some Android API.

http://code.google.com/android/intro/tutorial.html

Third, I developed how to display a picture on Android. Main idea is use a java file to hold display picture function and use layout file to call this java file.

Week 7 and Week 8.

Image:Onepicture1.jpg

Fourth, after display a picture, I develop to display three pictures at the same time and these three pictures have different sizes. Main idea is use layout files to control the picture's size.

Week 9.

Image:Threepicture1.jpg

Now, I try to remove a picture location on Android. First I have removed text message locations.

Image:Linghaistart1.jpg

Image:Linghaicenter1.jpg