Posts Tagged “Programming”

iPhone Flashlight Programming Tutorial

Product Description
This tutorial is a step-by-step guide to using Xcode, along with Objective-C 2.0, to write your own Flashlight app for iPhone OS 3.0.

Targeted to both newbies and experts alike, you will learn how to use Xcode to create a Window-based app, how to understand Objective-C 2.0 code, how to set properties on the UIApplication object, how to implement the UIApplicationDelegate protocol, how to create a custom UIView, how to handle touch events, and more.

Unlike any other step-by-step tutorial, this one describes in detail every single step and line of code.

CONTENTS

- About This Tutorial
- Setup of iPhone OS Software Development Environment
- Startup Xcode
- Create New Project: Flashlight
- Build and Go
- Quick Tour of XCode
- It All Starts Here: main.m – Part 1
- Rental Vehicle Analogy
- It All Starts Here: main.m – Part 2
- main.m
- UIApplicationMain()
- UIApplication and UIApplicationDelegate
- FlashlightAppDelegate.h
- FlashlightAppDelegate.m
- UIApplication Properties
- UIApplication Methods
- UIApplicationDelegate Methods
- Touch – Overview
- Creating FlashlightView Class
- FlashlightView.h
- FlashlightView.m
- Adding FlashlightView to FlashlightAppDelegate
- FlashlightView Touch Handling
- Review of Key Skills

SEE ALSO

- iPhone Objective-C 2.0 Programming Exercises

Rating:
Sale Price:
Total Costumer Reviews:()

iPhone Flashlight Programming Tutorial

September 17, 2010 Posted Under iphone

iPhone Camera Programming Exercises

Product Description
Here you will find interesting exercises that show you, step-by-step, how to write programs that use the iPhone’s built-in camera.

The book provides you with several unique benefits:

Unique Benefit #1: Written from scratch for the new iPhone OS 3.1 Camera Interface.

While other books cover the previous, less functional camera interface that was in iPhone OS 2.x and 3.0, this book focuses 100% on the new iPhone OS 3.1 Camera Interface.

Unique Benefit #2: Step-by-Step Exercises.

If you are a beginner, you can follow every step, and learn every key skill. If you are an expert, you can skip directly to those steps you need to refresh or enhanced your existing skills.

Unique Benefit #3: As few words as possible, but no fewer.

While some books focus on writing as many words as possible, the goal here is to write only the key words that you need to quickly learn and master iPhone programming skills.

The iPhone OS 3.1 technologies that you will use in these exercises include:

UIImagePickerController

This class handles the details of displaying a camera, a photo library, or a photo album. While this class existed in previous versions of iPhone OS, additional functionality was added in iPhone OS 3.1 to provide a camera overlay view and program control of taking a photo.

UIImagePickerControllerDelegate

This protocol provides two methods for notifying you of the user’s selection (cancel or select photo) when using the UIImagePickerController. As with the class, this protocol has additional functionality in iPhone OS 3.1.

UIImage

This class represents the image taken by the camera.

As you work through these exercises, here are some of the skills that you will learn.

* How to display the default camera.
* How to override the default camera with your own custom view.
* How to scale the camera image.
* How to save the camera image.
* How to take control of the camera shutter button, pressing the button under program control.

Contents

Introduction

Exercise 1. Create New Xcode Project

Exercise 2. Determine Photo Source Type

Exercise 3. Display Camera

Exercise 4. Respond To Camera Buttons

Exercise 5. Add Move and Scale (Editing)

Exercise 6. Save Images To Photo Album

Exercise 7. Add Camera Overlay View – Part 1

Exercise 8. Add Camera Overlay View – Part 2

Exercise 9. Hide Camera Buttons

Exercise 10. Program Control of Shutter

UIImagePickerController Reference

UIImagePickerControllerDelegate Reference

UIImageWriteToSavedPhotosAlbum() Reference

Rating:
Sale Price:
Total Costumer Reviews:(1)

iPhone Camera Programming Exercises

September 7, 2010 Posted Under iphone

iPhone Database Programming Exercises: SQLite

Product Description
This book is about iPhone database programming. It provides a set of hands-on, step-by-step exercises.

The goal is to help you learn and master iPhone database programming quickly and easily.

Native iPhone OS database applications make use of the embedded SQLite database engine framework. Hence, learning iPhone database programming is learning how to use the embedded SQLite database engine.

The hands-on nature of these exercises is unique. True learning happens when you take action by performing hands-on exercises. That is what this book is about.

Here are the key iPhone Database Programming skills that you will learn:

- SQLite Framework (/usr/include/sqlite3.h, libsqlite3.dylib)
- SQLite Datatypes (NULL, INTEGER, REAL, TEXT, BLOB)
- SQLite Functions (sqlite3_open(), sqlite3_exec(), etc.)
- SQL Syntax (CREATE TABLE, INSERT INTO, etc.)
- Navigation-based Application (UITableViewController, UITableView, etc.)

Is this book for you? To find out, perform these two steps.

Step 1. Scan the Table of Contents, reading the title of each exercise. Each exercise focuses on a specific skill, and if the exercises look interesting to you, then this book is for you.

Step 2. Read through the first Exercise, and see if the clear, step-by-step instructions make sense to you. If so, then this book is for you.

If you have access to a Mac OS X system, along with the iPhone OS SDK (Software Developers Kit), then you can read each exercise, and perform each step, using the iPhone OS SDK.

However, even if you do not have a Mac OS X system with the iPhone OS SDK, you can still read and follow along “in your mind”. When you do have access to a Mac, you’ll know exactly what to do.

CONTENTS

About This Book

Exercise 1. Navigation-based App

Exercise 2. /usr/include/sqlite3.h

Exercise 3. sqlite3_libversion()

Exercise 4. libsqlite3.dylib

Exercise 5. sqlite3 Datatype

Exercise 6. sqlite3_open()/sqlite3_close()

Exercise 7. sqlite3_exec() – CREATE TABLE

Exercise 8. sqlite3_free()

Exercise 9. sqlite3_prepare_v2(), sqlite3_finalize() – SELECT

Exercise 10. sqlite3_step()

Exercise 11. StudentViewController (.h, .m, .xib)

Exercise 12. sqlite3_exec() – INSERT

Exercise 13. Student (.h, .m)

Exercise 14. UITableViewCell

Exercise 15. sqlite3_exec() – DELETE

Exercise 16. sqlite3_exec() – UPDATE

Reference: sqlite3 Framework

Reference: sqlite3 Internal Datatypes

Reference: sqlite3 Functions

Reference: sqlite3 Error Codes

Reference: SQL

Rating:
Sale Price:
Total Costumer Reviews:()

iPhone Database Programming Exercises: SQLite

September 5, 2010 Posted Under iphone

How to Make iPhone Apps With No Programming Experience

Product Description
We’ve cracked the code for making profitable iPhone and iPad applications! Now YOU can turn your ideas into reality without ever touching code with How to Make iPhone Apps Without Programming Experience. We’ll walk you through, step-by-step, exactly how to find low-cost, high quality developers to create your apps for you. This is NOT your ordinary iPhone app manual. This is top information from one of the most successful app companies out there that will help you succeed.

Rating:
Sale Price:
Total Costumer Reviews:(3)

How to Make iPhone Apps With No Programming Experience

September 1, 2010 Posted Under iphone

Beginning iPhone SDK Programming with Objective-C

Product Description

Everything you need to know to start creating native applications for the iPhone and iPod Touch

The iPhone SDK and the Xcode tools are the official Apple tools used for creating native iPhone applications. This information-packed book presents a complete introduction to the iPhone SDK and the Xcode tools, as well as the Objective-C language that is necessary to create these native applications. Solid coverage and real-world examples walk you through the process for developing mobile applications for the iPhone that can then be distributed through Apple’s iTunes Application store.

The hands-on approach shows you how to develop your first iPhone application while getting you acquainted with the iPhone SDK and the array of Xcode tools. A thorough tutorial on the features and syntax of the Objective-C language helps you get the most out of the iPhone SDK, and an in-depth look at the features of the iPhone SDK enables you to maximize each of these features in your applications.

  • Provides an introductory look at how the iPhone SDK and Xcode tools work with the Objective-C language to create native iPhone applications
  • Familiarizes you with the latest version of the iPhone SDK and the newest Xcode tools that ship with Snow Leopard
  • Walks you through developing your first iPhone applications
  • Focuses on the features and syntax of the Objective-C language so that you can get the most out of the iPhone SDK

With this hands-on guide, you’ll quickly get started developing applications for the iPhone with both the iPhone SDK and the latest Xcode tools.

Rating:
Sale Price:
Total Costumer Reviews:(4)

Beginning iPhone SDK Programming with Objective-C

August 29, 2010 Posted Under iphone

iPhone SDK Programming, A Beginner’s Guide

Product Description
layout-grid-mode:  Develop your own iPhone applications Ideal for non-Mac programmers, this introductory guide shows developers how to create applications for the world’s most popular smart phone. You will learn how to use a modified version of the Mac development environment, the Objective-C programming language, and the Xcode development tools.  Nearly every chapter of iPhone SDK Programming: A Beginner’s Guide  consists of a self-contained project, with the corresponding Xcode available for download and modification. The book is designed around the concept of accomplishing specific, discrete programming tasks for deployment on the iPhone.

Rating:
Sale Price:
Total Costumer Reviews:(9)

iPhone SDK Programming, A Beginner’s Guide

August 20, 2010 Posted Under iphone

iPhone Objective-C 2.0 Programming Exercises 2nd Edition

Product Description
This 2nd Edition of these popular iPhone Objective-C 2.0 exercises are for you if you are either a newbie or an expert iPhone Objective-C 2.0 software developer, and you need to learn, practice, and improve your iPhone Objective-C 2.0 software development skills.

The approach taken here is unique. Every exercise focuses on a key and important skill. Using a clear, step-by-step writing style, each exercise shows the exact code you need to enter. The exercises were written for use with Xcode, the Objective-C 2.0 development tool included with the iPhone OS SDK.

Unlike books that focus on Mac OS X Objective-C 2.0, the exercises in this book were written from scratch to focus on iPhone Objective-C 2.0 programming.

NOTE: The 1st Edition of these exercises did everything from the command-line. This 2nd Edition now does everything using the Xcode development tool that is included with the iPhone OS SDK.

The only prerequisite for these exercises is an eagerness to learn. While it helps to have a background in object-oriented programming, that is not a requirement. The exercises explain new concepts when they are needed, in a step-by-step, easy-to-understand, manner.

If you are an existing C/C++, C#, Flash, Java, PHP, Python, Ruby or similar developer, then you’ll enjoy how Objective-C 2.0 handles object-oriented programming. Objective-C was influenced by SmallTalk, one of the early object-oriented programming languages. In turn, Objective-C influenced the Java language designers, which in turn influenced the C# language designers.

iPhone OS uses Objective-C 2.0 as it’s programming language, which is a superset of the C programming language. As you work through these exercises, the Objective-C 2.0 concepts will be covered as you come to them. It’s OK if you do not have experience with Objective-C 2.0; just start Exercise 1 and work your way forward.

If you have access to a Mac OS X system, along with the iPhone OS SDK (Software Developers Kit), then you can read each exercise, and perform each step, using the iPhone OS SDK.

However, even if you do not have a Mac OS X system with the iPhone OS SDK, you can still read and follow along “in your mind”. When you do have access to a Mac, you’ll know exactly what to do.

CONTENTS

About These Exercises
About the iPhone OS SDK
Exercise 1. Create an iPhone Window-based App
Exercise 2. main(), printf(), “C String”
Exercise 3. NSLog(), @”NSString”
Exercise 4. @interface, @implementation, @end
Exercise 5. +alloc, -init, -release
Exercise 6. Class Methods (+) and Instance Methods (-)
Exercise 7. Method Parameters
Exercise 8. Instance Variables
Exercise 9. @property, @synthesize
Exercise 10. @protocol (Delegates)
Exercise 11. Memory Management
File Listings
Review

Rating:
Sale Price:
Total Costumer Reviews:()

iPhone Objective-C 2.0 Programming Exercises 2nd Edition

August 12, 2010 Posted Under iphone

Professional iPhone Programming with MonoTouch and .NET/C#

Product Description
What .NET C# developers need to enter the hot field of iPhone apps

iPhone applications offer a hot opportunity for developers. Until the open source MonoTouch project, this field was limited to those familiar with Apples programming languages. Now .NET and C# developers can join the party. Professional iPhone Programming with MonoTouch and .NET/C#is the first book to cover MonoTouch, preparing developers to take advantage of this lucrative opportunity. This book is for .NET developers that are interested in creating native iPhone applications written in .NET/C#. These developers want to use their existing knowledge. While .NET developers are always interested in learning, they also recognize that learning Objective-C and the specifics of the iPhone can be overwhelming. Those developers interested in MonoTouch will recognize that the cost of MonoTouch is easily made up by the ability to quickly target the iPhone using a language that they are already familiar with. This book is designed for .NET developers that want to target the iPhone. It is designed to help you get up to speed with the iPhone, not to really teach you about the .NET Framework or C# language, which we assume you already know. This book is designed with introductory material in Chapters 1 thru 4. You should read Chapters 1 thru 4 sequentially. These chapters introduce the MonoTouch product, the basics of developing with MonoTouch and MonoDevelop, and finally, the basics of presenting data to a user with screen and data controls and how to develop a user interface for the iPhone. Once you are comfortable with these concepts, you can typically move from one chapter to another and not necessarily have to read the chapters sequentially.

Chapter 1 “Introduction to iPhone Development with MonoTouch for C# Developers”This chapter looks at how the largest segment of developers can target the smartphone with the highest mindshare, and that the smartphone is growing faster in marketshare than any other device.

Chapter 2 “Introduction to MonoTouch”gives you a firm foundation in MonoTouch, MonoDevelop, Interface Builder, debugging, and deploying.

Chapter 3 “Planning Your App’s UI: Exploring the Screen Controls”teaches you about creating your application’s UI and specifically how the UI on the iPhone can differ from UIs that you might have created before. You also explore the Input & Value objects from the Interface Builder Objects Library.

Chapter 4 “Data Controls” shows the Interface Builder Objects Library Cocoa Touch classes for Controllers, Data Views, and Windows, Views, & Bars.

Chapter 5 “Working with Data on the iPhone”looks at the SQLite database engine as well as strategies to store data off the device on a central server through SOAP and REST (using XML and JSON) without tying up the user interface.

Chapter 6 “Displaying Data Using Tables”looks at displaying information in a table, using tables for navigation, taking advantage of UITableView’s built-in editing features, and adding a search bar to a table.

Chapter 7 “Mapping”covers CoreLocation and MapKit, using Location Services, and adding maps and geocoding to your application.

Chapter 8 “Application Settings”focuses on application settings, and looks at two aspects of settings for your MonoTouch app: the Info.plist and your settings bundle. It covers what settings you might want to set in your Info.plist and why, and then looks at what code it takes to read and use the settings that you save in the settings bundle. And it also takes you through the building of the settings that you might have in a social media-type application. Going through each step, you will examine the Root.plist inside the Property List Editor and see the settings dialog that will result from it.

Chapter 9 “Programming with Device Hardware” covers accelerometer device orientation, and proximity detection support, networking, and developing with battery life in mind.

Chapter 10 “Programming with Multimedia” discussing integrating images and the image picker, watching and recording videos, playing and recording audio, and using animation

Chapter 11 “Talking to Other Applications”discusses the ways you can use MonoTouch to talk to other applications on the iPhone, both Apple-built applications and those downloaded from the App Store. It also provides helpful ways of accessing the iPhone’s Address Book and the iPod music library.

Chapter 12 “Localizing for an International Audience” first defines internationalization and localization, then shows displaying translated text and images, formatting dates, times, and numbers, then extracting text for translation.

Chapter 13 “Programming the iPad” the capabilities of the iPad are, what new APIs and controls have been introduced that you can use in iPad-specific applications, and how to build applications that can work on both iPad and iPhone devices.

Chapter 14 “Just Enough Objective-C” provides you with a reference and introduction to Objective-C that will help you acquire an ability to comprehend Objective-C which is something that will come in very handy.

Chapter 15 “The App Store: Submitting and Marketing Your App”discusses all things App Store. First, it talks about the process that you need to go through before you are ready to submit – this includes final testing with Ad-Hoc builds and a presubmission checklist. Next it addresses actually submitting to the App Store, and then finally what to do with your app after it’s in the App Store. This chapter also touches on alternative monetization strategies such as ads or in app purchases.

Rating:
Sale Price:
Total Costumer Reviews:()

Professional iPhone Programming with MonoTouch and .NET/C#

August 8, 2010 Posted Under iphone

iPhone Programming: The Big Nerd Ranch Guide

Product Description
Based on Big Nerd Ranch’s popular iPhone Bootcamp class, iPhone Programming: The Big Nerd Ranch Guide leads you through the essential tools and techniques for developing applications for the iPhone, iPad, and iPod Touch. In each chapter, you will learn programming concepts and apply them immediately as you build an application or enhance one from a previous chapter. These applications have been carefully designed and tested to teach the associated concepts and to provide practice working with the standard development tools Xcode, Interface Builder, and Instruments. The guide’s learn-while-doing approach delivers the practical knowledge and experience you need to design and build real-world applications. Here are some of the topics covered:

  • Dynamic interfaces with animation
  • Using the camera and photo library
  • User location and mapping services
  • Accessing accelerometer data
  • Handling multi-touch gestures
  • Navigation and tabbed applications
  • Tables and creating custom rows
  • Multiple ways of storing and loading data: archiving, Core Data, SQLite
  • Communicating with web services
  • ALocalization/Internationalization

“After many ‘false starts’ with other iPhone development books, these clear and concise tutorials made the concepts gel for me. This book is a definite must have for any budding iPhone developer.” –Peter Watling, New Zealand, Developer of BubbleWrap

Rating:
Sale Price:
Total Costumer Reviews:(19)

July 23, 2010 Posted Under iphone
  • Blogroll