+ All Categories
Home > Technology > Dev days. windows phone development

Dev days. windows phone development

Date post: 10-May-2015
Category:
Upload: volha-banadyseva
View: 2,328 times
Download: 3 times
Share this document with a friend
Popular Tags:
34
mobile development from developer’s point of view Ivan Kirkorau, EPAM Systems MS Dev Days 2011
Transcript
Page 1: Dev days. windows phone development

mobile development

from developer’s point of viewIvan Kirkorau, EPAM Systems

MS Dev Days 2011

Page 2: Dev days. windows phone development

me

Page 3: Dev days. windows phone development

reason to go mobile

Page 4: Dev days. windows phone development

path to choose

Page 5: Dev days. windows phone development

they are different

single screenview controllers

delegation

reference counting

MVC

many pagesnavigationUI <-> codedata bindingMVVM (?)

activitiescomponentsintentscallback i-fMVC (?)

Page 6: Dev days. windows phone development

ask right questions

doesn’t matter “what is greater?”

does matter “what suits you best!”

Page 7: Dev days. windows phone development

#01: leverage your skills

Page 8: Dev days. windows phone development

#02: IDE, tools, emulator

Page 9: Dev days. windows phone development

#03: documentation

Page 10: Dev days. windows phone development

#04: lang & libs

Objective-C

Page 11: Dev days. windows phone development

#05: learning curve • Is it hard to learn basics?• How far from basics to professional?• Is it a “pleasant” learning

experience?

• Does it help avoid mistakes?• Is it easy to make your code crash?

#06: making mistakes

Page 12: Dev days. windows phone development

#07: good-looking UI• Is it easy to create good looking

UI?

• How often will devs make crappy apps?

#08: making piece of s…

Page 13: Dev days. windows phone development

#09: standard & custom• Is it easy to implement common

tasks?–navigating between screens–displaying lists– loading data from web service–parsing xml

• Is it easy to customize?

Page 14: Dev days. windows phone development

#10: developer image

Page 15: Dev days. windows phone development

codename “Mango”

what’s new and what’s old

Page 16: Dev days. windows phone development

reading Manga

Page 17: Dev days. windows phone development

my favorite features• LINQ (to objects, to XML, to

HTML)• data binding• lambda expressions

• everything is asynchronous• BACK button and tombstoning

having difficulties

Page 18: Dev days. windows phone development

local database• API: LINQ to SQL• Design: in code, attributes• Store: Isolated Storage

• article on MSDN

Page 19: Dev days. windows phone development

background …• AGENT–PeriodicTask (~25 sec)–ResourceIntensiveTask (~10 min)

• DOWNLOADING–download/upload up to 5 requests–control execution

Page 20: Dev days. windows phone development

tiles & notifications• tiles updates• deep linking • multiple tiles per application• number on tile• local toast notification• … notification services

Page 21: Dev days. windows phone development

network• sockets API• TCP• UDP

Page 22: Dev days. windows phone development

marketplace

easier than before, but required

…fast forward

Page 23: Dev days. windows phone development

submission walkthrough

• app hub account + ready .xap file

• description and comments– dev and testing comments

• upload images (some unexpected

sizes)– should have high quality master

images

• categories and pricingsubmit

Page 24: Dev days. windows phone development

back & back againback = the source of all evili. can you exit the app?ii. “back” cycles?iii. loss of state and crashiv. press back in unexpected

placesv. lost handlers/bindings

Page 25: Dev days. windows phone development

loss of internetif your main action is to download stuff – test the connectivity loss!how to simulate connectivity loss?• connect device to a computer• remove the cable/WiFi–when connected device ALWAYS

uses PC internet connection

Page 26: Dev days. windows phone development

memory limiton devices your app must not use >90Mb at peak.

how to get memory tests?• use DeviceStatuscheck

ApplicationPeakMemoryUsagecheck

ApplicationCurrentMemoryUsage

Page 27: Dev days. windows phone development

exception handling• do not CRASH!• notify the user with a solution:

“try again later”“check your internet connection”“contact support@…”

Page 28: Dev days. windows phone development

black & white• test dark and light themes– some icons may look unexpectedly

white– some colors may not correlate well

Page 29: Dev days. windows phone development

capability testing• use “CapabilityDetection.exe”– c:\Program Files (x86)\Microsoft SDKs\ Windows

Phone\v7.0\Tools\CapDetect\CapabilityDetection.exe

• remove all unnecessary stuff– debug libs– test data–…

Page 30: Dev days. windows phone development

getting feedbackyou should think about users that will try to find your app, download and use• provide keywords for search• provide contact information in

the description or inside the app

Page 31: Dev days. windows phone development

look up statistics• number of downloads (AppHub)– results come 1 week late

• ads – pubcenter/adMob site• preemptive stats– http://www.preemptive.com/know-

more/application-monitoring

Page 32: Dev days. windows phone development

marketplace test kit• select WP7.1 project• [menu] Project->Open

Marketplace…

Page 33: Dev days. windows phone development

conclusion• developer focused tools• powerful UI with Silverlight/XNA• requires

Page 34: Dev days. windows phone development

q&a


Recommended