Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book...

23
MANNING Richard Ferraro Murat Aktihanoglu www.it-ebooks.info

Transcript of Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book...

Page 1: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

M A N N I N G

Richard FerraroMurat Aktihanoglu

www.it-ebooks.info

Page 2: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

Location-Aware Applications

www.it-ebooks.info

Page 3: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

www.it-ebooks.info

Page 4: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

Location-AwareApplications

www.it-ebooks.info

Page 6: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

brief contents

www.it-ebooks.info

Page 7: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

www.it-ebooks.info

Page 8: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

contentspreface xiiiacknowledgments xvabout this book xviiabout the cover illustration xx

1 Key components of an LBS 5

GPS in the transportation industry 8 ■ GPS compared to RFID 9 ■ Emergency response services 10 ■ Service locator applications 10 ■ Social networking applications 10

Cost of access 12 ■ Handset manufacturers and operators 13 ■ Privacy legislation and public perception 14

The contextual Holy Grail 16

www.it-ebooks.info

Page 9: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

2 Cell tower triangulation 23 ■ Satellite navigation GPS 24 ■ Standard GPS 25 ■ Assisted GPS 26Bluetooth or standalone GPS 28

Cell ID databases 30

Wi-Fi hotspot detection 33

Hybrid positioning 34 ■ P-Cell technology 35IMU technology 36 ■ Push versus pull mechanisms 36

3 MapQuest 46 ■ Google Maps 47 ■ Bing Maps 48Yahoo! Maps 49 ■ CloudMade 51 ■ Mapstraction 52A word on licensing 54

NAVTEQ 56 ■ Tele Atlas 57 ■ OpenStreetMap 59

Fire Eagle 61 ■ Loki 61 ■ Geode 63 ■ Native browser support 64

4 GeoRSS 69 ■ GeoJSON 71 ■ KML 73

Privacy 76 ■ Quality 77 ■ Copyright issues 77 ■ Implementation and performance 77

Consumer mashups 78 ■ Data mashups 79 ■ Business mashups 80

www.it-ebooks.info

Page 10: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

Using KML 82 ■ Using JavaScript 83

5 GPS assisted navigation on smartphones—Telmap 93GPS assisted navigation on Nokia handsets—Ovi Maps 93 ■ Creating a navigational widget platform—uLocate 95 ■ Google’s (free) Maps Navigation 97

Creating a story through geotagged photos—Whrrl 100 ■ Taking location mainstream—Loopt 101 ■ Going global with LBS—GyPSii 102 ■ Making LBS easy—Sniff 103 ■ Real and virtual worlds through LBS—Friendticker 104

Creating adventures through location-aware apps—GPS Mission 110 ■ Location-aware treasure hunting—geocaching 110 ■ Location-based social networking games 112

Augmented reality 115 ■ Layar—a pioneer in AR browsing 116

6

Nokia Ovi Store 129

Restrictions on iOS development tools 133 ■ A simple iPhone app 133 ■ The Apple App Store 139

www.it-ebooks.info

Page 11: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

A simple Android app 142 ■ Android Market 144

HP App Catalog 146

BlackBerry App World 148

Windows Marketplace for Mobile 149

PhoneGap 153 ■ Kyte Mobile App Frameworks 153Big5 154 ■ Titanium Mobile 154 ■ QuickConnect 154Rhodes Framework 154

7 Smartphones 158 ■ Feature phones 158

Caching location files 159 ■ Server databases 160

iPhone and iPad example 160 ■ Android example 161Java ME example 162 ■ Palm webOS example 163

8 REST 168 ■ XML data exchange format 169JSON data exchange format 170

PostgreSQL and PostGIS 171 ■ MySQL spatial support 173 ■ Microsoft SQL Server spatial support 173 ■ Oracle Spatial 175IBM DB2 Spatial Extender 175

www.it-ebooks.info

Page 12: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

Caching 176

MapServer 179 ■ ESRI ArcGIS Server 180Maptitude 180 ■ GeoMedia 181 MapInfo Professional 182 ■ Microsoft MapPoint 182

9 Gateway charging 189 ■ In-app charging 193

Real estate charging 201 ■ Location data charging 210

Licensing 211 ■ White labeling 212

10 Defining privacy 215

Privacy threats 218 ■ Push versus pull location 221

Avoiding the data privacy booby traps 224 ■ Best practice guidelines: Cellular Telephones Industries Association 226

Setting user profiles 229 ■ Opt-in screens 229 ■ Fuzzy location 231 ■ Terms of service 231 ■ Geofencing 231

www.it-ebooks.info

Page 13: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

11 Distribution platform decision tree model 234

Overview of application stores 237 ■ How to publish your app on a store 242

App reviews 249 ■ App rankings 249App analytics 252 ■ App discoverability 253

Distributing through content partners 253 .Distributing through word-of-mouth marketing 255

12 Choosing the right business strategy 259 ■ Formulating your business strategy—the business plan 261 ■ Strategies for growth—external partnerships 263

Matching funding to stages of business growth 264Bootstrap funding 266 ■ Friends, family, and fools funding 267 ■ Business angel funding 267Venture capitalist funding 267

Trademark registration and brand protection 272Patenting your development 275

appendix A Java code examples referred to in chapter 2 280appendix B Business plan outline 282appendix C Term sheet for proposed investment 284index 291

www.it-ebooks.info

Page 14: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

prefacethe

www.it-ebooks.info

Page 15: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

www.it-ebooks.info

Page 16: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

acknowledgments

www.it-ebooks.info

Page 17: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

www.it-ebooks.info

Page 18: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

about this book

www.it-ebooks.info

Page 19: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

� Wired

www.it-ebooks.info

Page 21: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

about the cover illustrationLocation-Aware Applications

www.it-ebooks.info

Page 22: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

Part 1

LBS, the big picture

www.it-ebooks.info

Page 23: Richard Ferraro Murat Aktihanoglu · VII contents preface xiii acknowledgments xv about this book xvii about the cover illustration xx 0!24 ,"3 4(%")'0)#452% 1 ,OCATION BASEDSERVICES

www.it-ebooks.info