Saturday, July 28, 2012

Augmented Reality

What is Augmented Reality?
Augmented Reality is a type of virtual reality that aims to duplicate the world's environment in a computer. An augmented reality system generates a composite view for the user that is the combination of the real scene viewed by the user and a virtual scene generated by the computer that augments the scene with additional information. 
How AR might be used?
Picking furniture
-Finding Places/ Find out out street names
-Interactive Prints
-Update on social network
-Happenings around you


 Traditionally a user would use text entry to search for  information in say Maps or  a search engine. How does AR offer a different alternative?


An Android smartphone is an ideal tool for travelers because all sort of tools can be pack on this portable device–we have maps, navigation apps, local business finder apps. A compass is also one of the essential tools for travelers and explorers. This tool can be used for pointing to the right direction. The 3D Compass + (AR Compass) app is your augmented reality compass app on your mobile phone.The app  works as a compass on your mobile phone. Using the phone’s camera, the app displays the actual image of where you are going with an augmented compass on top of it. You can also change the compass into a Rose Compass, Marine Compass, and Artificial Vertical Compass. The app also utilizes your phone’s GPS and displays the map on the screen, making your phone an excellent navigation tool. The address of your location is also displayed in the app.

  How might the following people make use of AR;


A mechanic: Use it as blueprints for projects. 
 An interior decorator: It can be used to demonstrate what a certain furniture would appear like in a room and what an ideas can look like when the room is completed.
A student: A student can use augmented reality when they on a school excursion, so as they are exploring they can find out extra information. 

Tuesday, July 17, 2012

FlowChart Basics

What is a Flowchart?
A flowchart is a visually represented sequence of data.A flowchart is a diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem. Flowcharts are generally drawn in the early stages of formulating computer solutions. Flowcharts facilitate communication between programmers and business people. These flowcharts play a vital role in the programming of a problem and are quite helpful in understanding the logic of complicated and lengthy problems. Once the flowchart is drawn, it becomes easy to write the program in any high level language. Often we see how flowcharts are helpful in explaining the program to others. Hence, it is correct to say that a flowchart is a must for the better documentation of a complex program.
Describe the basic flowchart symbols for:


With the decision making symbol (diamond) and the process symbol (rectangle), what are the rules for how many lines may enter and leave the symbol?
Only one flow line should enter a decision symbol, but two or three flow lines, one for each possible answer, should leave the decision symbol.






Only one flow line should come out from a process symbol.
 Study the sample flowcharts then create a flowchart for a coin toss where heads means Mary pays for the pizza and Tales means Bill pays.

Notes:
One in and two out
 For the diamond
Variable (the sum)
Diamond is a yes or no question
actions in a box



Monday, July 16, 2012

Algorithms

What is an Algorithm?
An unambiguous set of steps,which when preformed correctly by a processor, will result in a process being carried out in a finite time.
What two properties of the algorithm enable it to correctly describe the solution to the problem of making a cup of coffee?
The sequence and selection properties enable it to correctly describe the solution of making a cup of coffee.
Define Algorithms for the following processes.
Posting a Letter:
1.Pick Up a pen and paper
2.Write the Letter on the paper
3.After Finished,put letter in a envelope
4.Write the Address and Who wrote the letter on the envelope
5.Put a Stamp on the envelope
6.Post it in your local post Office
Making Toast:
1.Pull out the toaster
2.Get a slice of bread
3.Place it in the Toast Maker
4.Turn it on
5.Wait 2-3 mins for the bread to toast
6.Carefully Take the toast out
7.Turn the machine off.
Calling a friend
1.Pick up the phone
2.Dial the Number you need
3.Press the talk button
4.Wait for the person to answer
5.If not repeat steps 1-3
6.When the person answers the phone talk to them

Sunday, July 15, 2012

Working With App Inventor For Android

http://beta.appinventor.mit.edu/
The link above will take you to the App Inventor site. The first app we had to create was called "Pet The Kitty". Basically to start app inventor, you need to install a faster browser, so therefore we had to download chrome. After that we go on the link above and it should come up with this page:
The name we will put in, is "Hello Purr". The browser will open the page called the "designer", the place where you select components for your app and design the user interface, and should look like this:

After that we need the blocks editor, which is the place were you set the behaviour of the app. It is a separate application with its own window, and therefore we need to open 2 windows to design an app. These windows are linked:changes made in the designer will be immediately reflect in the blocks editor. When you click "open the blocks editor" from the designer window, the blocks editor program file should download and run. To run Blocks Editor, you will need to install Java and it should open up to this:
The large empty "canvas" space on the right side is referred as the "work Place", in which you place bloacks to assemble the program. On the left side, it has 3 palettes(Built-in, My Blocks,Advanced). each palette has drawers storing sets of blocks. When you click a drawer, you can see all the blocks stored in that drawer. You can scroll down to see more blocks. The BUILT IN palette contains the standard set of blocks that are available for every app every app you build. (Eg.definition,text,lists etc.) The blocks under the My Blocks palette contains specific blocks that are tied to the set of components that you have chosen for your app. The advanced palette contains blocks for inventing intermediate and advanced apps with more complex logic. The Designer runs from the browser, and the Blocks Editor runs from Java; however, they are linked. Therefore, even when you close your Blocks Editor window, all the information in the Blocks Editor is stored in the Designer. When you click the "Open the Blocks Editor" button, a new .jnlp file is downloaded to your computer, and you need to open the file again. When a new Blocks Editor opens, it will contain all the blocks you programmed before you closed the Blocks Editor.

The first app we have to create is pet the kitty.
To build HelloPurr, you'll need a image file of a cat and an audio file with a 'meow' sound. Download these files to your computer by clicking the following links. Once you click a link, right click on the image or sound bar and select "Save As." Save both files onto your desktop or in another location that is easy to find. If you have downloaded all of the media files from the Module 1 Media Library then you do not need to save the media files again.
Follow the pictures below to create your app(pet the kitty).


The second app we have to create is magic ball.
After HelloPur the next app I am going to make is the magic ball.  This introductory module will guide you through building a “Magic 8-Ball” app with App Inventor. When activated, your 8-ball will deliver one of its classic predictions, such as “It is decidedly so” or “Reply hazy, try again.”

Go to this link to find these instructions:
http://teach.appinventor.mit.edu/curriculum/magic-8-ball

Below in my final product: