Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Delphi Phone

Delphi Phone

Ratings: (0)|Views: 144|Likes:
Published by Antonio P. Moreno

More info:

Published by: Antonio P. Moreno on Jun 16, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/07/2013

pdf

text

original

 
 
Americas Headquarters EMEA Headquarters Asia-Pacific Headquarters
100 California Street, 12th FloorSan Francisco, California 94111 York House18 York RoadMaidenhead, BerkshireSL6 1SF, United KingdomL7. 313 La Trobe StreetMelbourne VIC 3000Australia
Using Delphi Prism XE to Develop foriPhone, iPod Touch and iPad
Brian Long Consultancy & Training Services Ltd
 
February 2011
 
 
Using Delphi Prism XE to Develop for iPhone, iPod Touch and iPad
 © 2011 Brian Long Consulting and Training Services Ltd. All Rights Reserved.Embarcadero Technologies - 1 -
E
 XECUTIVE
S
UMMARY
 
The iPhone
®
is clearly a very successful smart-phone and the ability to developapplications for iPhones opens up a new sector for developers. Initially, iPhone applicationdevelopment was only within the reach of Objective-C programmers directly using Apple’sCocoaTouch framework, but this is no longer the case.Embarcadero’s Delphi Prism
®
, in conjunction with Mono
®
and MonoTouch from Novell
®
,provides all you need to develop and debug native applications for deployment to iPhone.This white paper looks at the process of building iPhone applications with Delphi Prism,exploring various techniques and common application features.
C
ONTENT
Executive Summary ....................................................................................................................................... - 1 -
 
Content ........................................................................................................................................................... - 1 -
 
Introduction .................................................................................................................................................... - 3 -
 
Getting started ................................................................................................................................................ - 5 -
 
Installing iOS SDK ..................................................................................................................................... - 5 -
 
Installing Mono ........................................................................................................................................... - 6 -
 
Installing MonoDevelop ............................................................................................................................. - 6 -
 
Installing Delphi Prism ............................................................................................................................... - 6 -
 
Installing MonoTouch SDK ........................................................................................................................ - 7 -
 
Before moving on ....................................................................................................................................... - 7 -
 
Developing Applications With MonoTouch .................................................................................................... - 8 -
 
Interface Builder and the UI ..................................................................................................................... - 10 -
 
Event Handlers For CocoaTouch Actions ............................................................................................... - 15 -
 
iPhone Simulator ..................................................................................................................................... - 17 -
 
Text Entry Keyboards .............................................................................................................................. - 18 -
 
Using the Documentation ........................................................................................................................ - 18 -
 
 
 
Using Delphi Prism XE to Develop for iPhone, iPod Touch and iPad
 © 2011 Brian Long Consulting and Training Services Ltd. All Rights Reserved.Embarcadero Technologies - 2 -
First Responders ..................................................................................................................................... - 19 -
 
Event Handlers For MonoTouch Events .................................................................................................. - 20 -
 
View Controllers ....................................................................................................................................... - 21 -
 
Using SQLite ............................................................................................................................................ - 22 -
 
Table View Data Source .......................................................................................................................... - 24 -
 
Navigation controllers .............................................................................................................................. - 26 -
 
Web browsing with UIWebView ............................................................................................................... - 29 -
 
Location/heading Support With CoreLocation and MapKit ...................................................................... - 33 -
 
Device Rotation........................................................................................................................................ - 40 -
 
Device Information ................................................................................................................................... - 42 -
 
Proximity Sensor and Notifications .......................................................................................................... - 46 -
 
Battery Status and Timers ....................................................................................................................... - 47 -
 
iPhone Interaction .................................................................................................................................... - 48 -
 
Utility Applications .................................................................................................................................... - 53 -
 
SOAP-based Web Services ..................................................................................................................... - 54 -
 
Images ..................................................................................................................................................... - 62 -
 
Draggable Controls .................................................................................................................................. - 63 -
 
Launch Screens ....................................................................................................................................... - 65 -
 
Supporting the iPad ................................................................................................................................. - 67 -
 
Debugging ................................................................................................................................................ - 70 -
 
Technical Resources .................................................................................................................................... - 70 -
 
Conclusion ................................................................................................................................................... - 71 -
 
About the Author .......................................................................................................................................... - 72 -
 

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->