Web 2.0 and iphone Application Development Workshop. Lab 5: Multimedia on iphone

Similar documents
Web 2.0 and iphone Application Development Workshop. Lab 2: iphone programming basics

ADDING MUSIC TO YOUR itunes LIBRARY

ipod touch 16GB - Technical Specifications

Objectives. Submission. Register for an Apple account. Notes on Saving Projects. Xcode Shortcuts. CprE 388 Lab 1: Introduction to Xcode

AudioGate version Release Information (Windows)

Using Podcasts in CTools

What Do I Really Need to Know about itunes? COPYRIGHTED MATERIAL

Audio issues in MIR evaluation

ipod shuffle User Guide

^436^Get: 'Easy FLV Video Converter for Mac' by WaveInsight Cracked Version

Export itunes library to mp3 player. Export itunes library to mp3 player.zip

1.0 Y 1.1 Y 2.0 Y 3.0 N FAT 16 (standard) FAT 32 exfat

Music Man Reviewer s Guide

Version 1.0. PNY DUO-LINK 4 User Manual

Drag and drop. All done!

Sprint Media Manager FAQs

About Xlinksoft ipod Video Converter

ios Application Development Course Details

ipod nano Features Guide

Installing the driver software USB Audio Driver Installation Manual (Mac)

Inserting multimedia objects in Dreamweaver

iphone App Basics iphone and ipod touch Development Fall 2009 Lecture 5

My Digital Downloader Instruction Guide *MAC*

What Is R-MIX Tab? IMPORTANT NOTES. What Is V-Remastering Technology? Copyrights. Licenses/Trademarks. Additional Precautions

TunesKit Audiobook Converter for Windows User Help

Review LeKuSoft DVD Ripper best sites for software download ]

Apple ipad Air 32GB WIFi Tablet

Getting Started with Apple ios Development Link-OS SDK Objective-C

How To Transfer Ringtone From Pc To Iphone 5 Without Itunes

ipod photo User s Guide

TrainingCentre Getting Started with the Universal

USER GUIDE FOR PREDICTION ERROR METHOD OF ADAPTIVE FEEDBACK CANCELLER ON ios PLATFORM FOR HEARING AID APPLICATIONS

Apple Ipod Video Manual Touch 4g 8gb Black Mp3 Camera

Video Compression Tools

iphone 5 Specifications

ITP 342 Mobile App Dev. Audio

AwoX StriimLIGHT Wi-Fi LED light with Wi-Fi speaker SL-W10. User Guide

Music Man Read Me.

My First iphone App. 1. Tutorial Overview

Meeting Visuals UCF Toolkit User Guide

Take and Send a Picture. To send the picture, press. Send Send To. Tip: To store or discard the picture, press Options and select Store Only.

Free Download Aimersoft DVD Ripper website templates free download software ]

How To Use Bluetooth Of Ipod Touch Facetime Between 2

In Join Together, Click the "Get Tracks from itunes" button or click "Get Tracks from itunes" in the File menu, or press Command-G.

PhotoFast MemoriesCable U2. Market leading design and technology

Portable media PORTABLE MEDIA CONNECTIONS

Pages. Apple s Software allow you to create great-looking Word Processing Documents. Barb Vivian - Apple SIG January 21, 2019

Export Audio Mixdown

Creating Great App Previews

STEP 1: DOWNLOAD THE PROGRAM

PLAYBACK COMPATIBILITY LIST

Portable media PORTABLE MEDIA PORTABLE MEDIA CONNECTIONS

iphone Programming Patrick H. Madden SUNY Binghamton Computer Science Department

iphone 3GS - Technical Specifications

WorldNow Producer. Encoding Video

About Xlinksoft Video Converter

EDIT202 Digital Media Lab Assignment Guidelines

Sidify Music Converter for Spotify (Windows) User Manual

Instruction Manual. idiskk USB Flash Drive 32GB/64GB/128GB

I have a previously created SVCD and now I wish to put it on DVD. Actually I can add about 6 hours of SVCD movie on one DVD-R.

Unit Title: Video Software

Video Editing With NCH VideoPad

EZCast Pro User s Manual

The Media Department File and Transfer Quick Guide 2015/16. Created by Robert Perry

About Xcode and iphone SDK

Original Article Written at by Ashish Technospot.net

App Development. Quick Guides for Masterminds. J.D Gauchat Cover Illustration by Patrice Garden

IDM 221. Web Design I. IDM 221: Web Authoring I 1

idvd Authoring Program

Sidify Music Converter for Spotify (Windows) User Manual

John Ray. Sams Teach Yourself. iphone. Application Development. Second Edition. S^/MS 800 East 96th Street, Indianapolis, Indiana, USA

My First Cocoa Program

Multi-Room Music Servers

USER GUIDE. ixpand Flash Drive. Western Digital Technologies, Inc. is the seller of record and licensee in the Americas of SanDisk products.

GPS Cinema - Locative Storytelling

Articulate Presenter Pro

My Media Hub Quick Start Guide for Windows or Mac

SOUNDHEALTH PRODUCTS Therapeutic Harmonics

What s New in Studio 6?

Turn off shuffle on ipod touch 5th generation

ESKIAV2 (SQA Unit Code - F9AL 04) Audio and Video Software

Manually Add Ringtones To Iphone 4 Without Itunes 10

Computing in the Modern World

ALON Dictaphone. User's manual (v )

Fundamental of Digital Media Design. Introduction to Audio

GTX-4. GARMENT PRINTER For Macintosh Instruction Manual

Press Release. A hours of video playback with Bluetooth disabled (for NWZ-A820 and NWZ-A720 series). 7 hours of

TECHNICAL SPECS

ipod shuffle User Guide

Audacity Project #1 - Jungle Theme

Overwhelmed by OVERDRIVE? Follow these instructions and you ll be on your way to enjoying digital media in no time!

i-flashdrive for iphone, ipod and ipad

Apple 64GB Wi-Fi ipad Mini 3, Model MGGQ2LL/A

Table of Content. Nero Recode Manual

SI M Audio, Navigation, Monitors, Alarms, SRS

Publisher v3 Documentation

Powered by EZCast Software

RIP-N-PLAY Product Guide

INSTRUCTION MANUAL HQ MP3 Watch Voice Recorder SB-WR8805

ESKIAV3 (SQA Unit Code - F9AM 04) Audio and Video Software

Transcription:

Web 2.0 and iphone Application Development Workshop This lab is prepared by: Department of Electrical and Electronic Engineering, Faculty of Engineering, The University of Hong Kong Lab 5: Multimedia on iphone Objective: This is a training program for the students to create an iphone Application which includes the multimedia elements. After this lab session, students should know how to create an iphone application which includes images, audio/video clips. Also, the method for video conversion is also introduced. Introduction: In an iphone application, user can include many multimedia elements into it. The basic multimedia elements included images and audio/video clips. For the build-in media player of iphone devices, the supported audio formats include AAC (8-320 Kbps), Protected AAC, HE-AAC, MP3 (8-320 Kbps), MP3 VBR, Audible (formats 2, 3, 4, Audible Enhanced Audio, AAX, and AAX+), Apple Lossless, AIFF, and WAV. For the supported video formats, they include H.264 video, m4v video,.mp4 video,.mov video; MPEG-4 video. It is not difficult to find a free audio/video converter from the internet to convert the unsupported formats into the format it supports, as iphone devices are so popular nowadays. Equipment: 1. A Macintosh computer with iphone SDK installed. 2. An iphone device such as iphone or ipod touch. 3. ipod USB cable. Multimedia on iphone 1

Duration: The duration of this training lab session is about 1.5 hours. Procedure: 1. Download the file lab5.zip from the server. Extract it to your Macintosh computer. 2. In the zip file, you can find the folder called accelerometer. Open this and open 2: 9 20/,.4/0574. It is the template for this lab session. A UIImageView Object 1. First, the methods for adding images to the application interface will be introduced. Open Groups & Files > Classes > multimediaviewcontroller.h, we should define the & 2, 0' 0 :9 09 objects inside 39071,.0. Remember to save your work. 2. To add image files to the xcode project, what we need to do is simply drag-and-drop the image files from Finder to Groups & Files from the Xcode. Click add afterwards. Multimedia on iphone 2

3. After that, open Group& Files > Resources > multimediaviewcontroller.xib, add 3 UIImageView objects to View. 2 & 2, 0' 0 objects should have the size of 100x100px while the third one should have the size of 190x210px. You can edit these information from Inspector > Image View Size > View Size > Size & Position, which is on the right hand side of your user panel. 4. Select File s Owner, and then select Inspector > Multimedia View Controller Connections, try to link the & 2, 0' 0 objects in the interface builder to the :9 09 objects defined in 2: 9 20/,' 0 43974 07. Save your work afterwards. Multimedia on iphone 3

5. There are 2 methods to put an image into a & 2, 0' 0 object. The simplest method is to define it directly in the interface builder. Now, open 2: 9 20/,' 0 43974 07 -, select 2 by click the object once. After that, select Inspector > Image View Attributes > Image View > Image. Click the drop down menu, to select 2 53. You can do the same for the & 2, 0' 0 object 2. 6. Another method for declaring the 2, 0 value of a & 2, 0' 0 Object is using programming language in Xcode. In the function ' 0 / 4,/, add the following line of code, which can define the 2, 0 value of the & 2, 0' 0 Object 2 : Multimedia on iphone 4

7. Now, you may try to view your product on your iphone device. Select iphone Device and then click Build and Run. You should see 3 images are displayed on your iphone device. B Audio 1. In order to play an audio file in iphone application, we need to include a framework called :/ 4%44-4 17,20 47. Right Click Groups & Files > Frameworks, select Add > Existing Frameworks, select :/ 4%44-4 17,20 47, click add. Multimedia on iphone 5

2. After that, open 2: 9 20/,' 0 43974 07, add the following line of code to the header file: 3. Open 2: 9 20/,' 0 43974 072, there is a self-defined function called 9,5!, :/ 4:9943, it controls the activity after the user taps,:/ 4-93. Complete the function by copying the missing part to your file: 4. Please note that 8,25 0,; is already added in the xcode project. Save you work. Click Build and Run to see if the audio can be played. C Video 1. In order to play video clips in iphone application, we need to include a framework called 0/,!, 0717,20 47. Right Click Groups & Files > Frameworks, select Add > Existing Frameworks, select 0/,!, 0717,20 47, click add. 2. After that, open 2: 9 20/,' 0 43974 07, add the following line of code to the header file: Multimedia on iphone 6

3. Open 2: 9 20/,' 0 43974 072, there is a self-defined function called 9,5!, ' /04:9943, it controls the activity after the user taps ; /04-93. Complete the function by copying the missing part to your file:! "#! # $ "# % #! & ' ( )! * * +! ( ( 4. Please note that 8,25 025 is already added in the xcode project. Save you work. Click Build and Run to see if the video clip can be played. - End of Lab 5 - Multimedia on iphone 7