lessons learned while building mobile dead. a location based game for your phone

15
Lessons learned while building Mobile Dead

Upload: olivia-doyle

Post on 13-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lessons learned while building Mobile Dead. A location based game for your phone

Lessons learned while building Mobile Dead

Page 2: Lessons learned while building Mobile Dead. A location based game for your phone

A location based game for your phone.

Page 3: Lessons learned while building Mobile Dead. A location based game for your phone
Page 4: Lessons learned while building Mobile Dead. A location based game for your phone

Concerns For Modern Mobile Apps

• Battery Life

• Bandwidth

• Processing speed

• Flexibility

Page 5: Lessons learned while building Mobile Dead. A location based game for your phone

Quit Talking Too Much

Page 6: Lessons learned while building Mobile Dead. A location based game for your phone

Message Format Protocol

<!-- XML --> <names>

<name>Anna Maria</name> <name>Fitzwilliam</name> <name>Maurice</name> </names>

/* JSON */

{"names": ["Anna Maria", "Fitzwilliam", "Maurice"]}

Message Chunking…

Message Size…

Page 7: Lessons learned while building Mobile Dead. A location based game for your phone

Let Nerdlinger Take Care of

It

Page 8: Lessons learned while building Mobile Dead. A location based game for your phone

Who should do the work?

Consider the benefit of a image being dynamically generated server side

Page 9: Lessons learned while building Mobile Dead. A location based game for your phone

StayFlexible

Page 10: Lessons learned while building Mobile Dead. A location based game for your phone

Do your stretches

1. Throttle client/sever interaction based on phone context

2. Automatically protect privacy or conserve battery (sleep)

3. Let the server manage the constant values

1.What map to use

2.How often the server is hit.

Page 11: Lessons learned while building Mobile Dead. A location based game for your phone

Breaking The Rules

Page 12: Lessons learned while building Mobile Dead. A location based game for your phone

Make exceptions

• Not everything has to exist within an OO model

• Exposing private variables

• Reuse objects throughout the lifetime of the app

• Global data.

Page 13: Lessons learned while building Mobile Dead. A location based game for your phone

BeGraceful

Page 14: Lessons learned while building Mobile Dead. A location based game for your phone

Typical Scenarios In Mobile

1. Loss of data connection

2. Loss of location information

3. App unexpectedly killed

4. Phone is busy doing something else

Page 15: Lessons learned while building Mobile Dead. A location based game for your phone

mobiledead.com

perkmobile.com