Wednesday, 7 September 2011

iOSDev UK: Programming iOS Sensors

Alasdair Allan, Babilim Light Industries

http://programmingiphonesensors.com/

Magnetometer (it’s not a digital compass!)

  • 4th gen iPod Touch doesn’t have magnetometer
    • so no outside AR apps without markers
  • UIAccelerometer API newly deprecated for CoreMotion in iOS5
  • if you want compass heading but not location, then just start up [locationManager startUpdatingHeading]
    • you won’t get location updates warning
  • however, magnetic north varies across the world
    • there’s a big lookup table in the iPhone that can translate the magnetic heading into true north
    • so you need actual location to work this out
  • watch out for device orientation: magnetometer always reports heading pointing out of top of device
    • need to rotate according to device orientation…
  • local magnetic anomalies cause a fluctuating magnetic field — which is when it tells you to wave your device around
  • Earth’s magnetic pole is a quadrapole, not a bipole — it swaps over every now and then and the north pole goes south

Gyroscope & Accelerometer (CoreMotion)

  • iPhone 4 has more bits in its accelerometer sampler
  • combining gyroscope and accelerometer provides very accurate device attitude
  • if there’s no natural timer in your app, then you may have to use the push API
    • otherwise much easier to use pull API
  • CMMotionManager should be treated as a singleton (but API allows you to create multiples…)
  • monitoring does take a lot of CPU, so remember to stop it when you’re finished
    • device motion at 100 samples/sec uses 65% of iPhone 4 CPU
    • see “Pushing Device Motion” slide
  • you can fetch a frame of reference and then work out attitude relative to that

AR Toolkits

External accessories

Monday, 4 July 2011

MomoLondon: Developer Economics Report 2011

This week’s Mobile Monday was focussed around the Vision Mobile Developer Economics Report 2011. It’s a great report — just like last year. A brilliant idea from BlueVia to open up their research and very well executed by Vision Mobile.

It was a good panel too — with Simon Walker providing the stats on the past and a balance of present and future from the three others.

Summary of the Developer Economics Report 2011

Presented by Eli Camillieri @visionmobile

  • interviewed over 900 developers worldwide
  • also interviewed brands as to what they wanted
  • mobile web accelerating into third position after Android then iOS
    • overtaken JavaME, Symbian and Blackberry since last year
  • Windows Phone 7 not in second place but people want to develop on it
  • Symbian & JavaME now completely out of the equation
  • Talking about addressable market: put the app in front of people who will use it and continue using it
  • iOS still leads for monetisation, but mobile web has the least broken expectations
  • Over 20% of JavaME and Blackberry developers building over 10 versions of each app
  • Brands journey through mobile from iOS, through Android to mobile web (then eventually to all mobile)
    • but most organisations are still on the first step and just about taking the second…

Panel

Chaired by Eli Camillieri of Vision Mobile.

  • Simon Davies, ex-Snaptu @simonmd
    • taking smart-ish apps to developing markets
    • Snaptu sold to Facebook in April
  • Simon Walker, ComScore @comscoreEMEA
    • 48.5 million used a mobile phone to do something
    • 23 million people downloaded an app
  • Chad Cribbins, Sapient Nitro @chadcribbins
  • Tom Hume, Future Platforms @twhume
    • 100K downloads for Orange Glastonbury app
    • work across pretty much any platform that’s out there (and quite a few that aren’t yet)

Native vs web

  • CC: lots of work to start across all platforms
    • if there’s something that you can do that accesses the device itself, then go for native, otherwise go for mobile web
  • TH: there’s an awful lot of wishful thinking in the industry
    • expectations of performance are being driven by native
    • the web doesn’t offer that yet
    • in fact, native will always be better
    • so web technologies will always be slightly behind what the user expects
  • SW: bank usage:
    • only 500K browsed Lloyds site on mobile web last year and raised only slightly this year
    • NatWest mobile web 250K last year, 495K this year; 470K app usage this year catching up fast

Commercials: which are the most successful models?

  • SD: last thing to arrive in a marketplace is revenue
    • setting out to build a business at the immature stage: either have a very clear idea of business model, or else aim for selling the business
  • TH: Orange (Glasto) & BBC apps about marketing and exposure, not about making a return
  • CC: banks going after a more connected service — trying to avoid churn
    • cf. autotrader app about capturing number plates and going straight to sales
  • SW: in Europe 72% of mobile users don’t use an app at all
  • EC: unless some fail, we won’t see innovation

Localisation — are developers looking at a local level?

  • SD: at this stage of the marketplace you really do need to be as global as you can
  • TH: most localisation-driven apps at FP have been OEM ones — wanting to launch worldwide
  • TH: UK is well ahead of rest of Europe in smartphone Europe
    • so deal with UK first since you will get best returns and then attack rest of Europe

Importance of the social curve

  • SW: Facebook April 2011: 3.6 billion minutes on mobile
    • May 2010 8.2 million browser / 2.4 million app
    • May 2011 10 million browser / 9 million app
  • TH: can’t remember the last time we got a briefing that didn’t include sharing with Facebook or Twitter — it’s just a standard part of apps these days

Are app stores declining? How do people find apps?

  • EC: traffic to and from app stores will continue to increase, BUT brands are now driving the apps themselves directly (rather than people just browsing the app stores themselves)
  • SD: app stores are just a place to discover apps — in the beginning the only place
  • SW: most people accessing app stores from device rather than PC
    • data is more expensive in Europe
  • EC: Current app stores could be supermarkets

Economics: earning an income from apps

  • EC: How do you bring an app to market?
    • How come there aren’t that many marketing people in app companies?
    • App stores give you no idea who’s buying your app…
    • Need to marry technical with marketing & commercial
    • North America doing better at that than Europe
    • Techies understanding who they need to partner with
  • TH: difficult to find good people, especially speculatively
  • SD: met his technical partner at a barbecue :-)

Are people leaving the market if it’s such a tough gig?

  • EC: just because you’re not making enough money, doesn’t mean that you’re going to stop
    • e.g I’m sure many musicians are unsatisfied with the amount of money they are making
  • TH: we’ve just been on the Apprentice — in the public perception, this is a really hot space to be
  • SD: Dragon’s Den — should just create an app to give advice to entrepreneurs

How do I find an app?

  • SD: usual channels — community, press, word of mouth
    • that process has just started
  • SW: most people now just expect an app for something
    • adverts focussing on 13-25 year old audience just don’t have mobile presence

What aspects make you prick your ears of app ideas?

  • Liz Myers thinks 3 main needs of the user: microtasking, bored, local (from Tapworthy)

Correlation between marketing spend and success?

  • CC: over a long haul it’s the user experience

Mobile cannibalising a lot of other channels — where is it going?

  • SW: big shake up coming in the next year to 18 months
    • “it’s all going to the cloud”
    • should start taking points from 3-5 years ago from web to our advantage
  • SD: lots of things happening with mobile experience happening in parallel (e.g. lots of people watching a TV programme and doing something on their mobile at the same time)
    • Indonesia — more mobiles than TVs
    • Google, Facebook have the users and will pay for content
    • TV programming for mobile
  • TH: the ad-contrarian debunking idea that people have stopped watching TV
    • mobile will be the primary way of going online

Best and worst bits of the report?

  • TH: surprised at commercial performance of JavaME
    • better than Symbian and Android
    • very low value on pre-loading applications
    • would have expected to have seen many more pre-installed apps
  • SD: Qt — although Nokia sinking, it will have such a huge oil-tanker like effect…
    • Windows Phone 7 “interesting” but not being used
    • Very difficult to hire Android developers at the moment
  • EC: surprised how many developer were working on multiple platforms
    • if Android in such demand would expect to see people focussing on it
  • SW: Microsoft grew by 93% but still only 3%…

Is enthusiasm for Windows Phone 7 just for another platform to port to?

  • EC: actually talking about B2B opportunities
  • CC: heard similar
  • TH: Windows Phone 7 will be hard to do in HTML5
    • Nokia know a thing or two about getting hardware out there

Papaya mobile: JavaME money being made by people who did fragmentation solutions

HTML5 vs apps again…

  • CC: Google have done Lego Star Wars in HTML5 — it’s powerful enough!
  • SW: As a user, I don’t care where it comes from
  • SD: remove the URL bar and you’re on your way
    • excited by Android on MTK devices
    • common denominator will be Android
    • will therefore be HTML5 compatible

Concluding remarks

  • SD: do not drop your iPhone in a lock near St Ives!
  • SW: 90% Apple devices use apps vs much lower Symbian
    • cf market coverage: 3.9% Apple; 15% Symbian
  • TH: discovery is not a new problem
    • in 1st century AD, Seneca complained that “the abundance of books is a distraction”…
  • EC: when my mum, on her own, tells my dad which app to download, then we’ve hit the mass market!

Announcements

  • Next momolo probably in September
  • Over The Air 2011: 30th September & 1st October at Bletchley Park
    • looking for sessions, speakers, sponsors

Monday, 20 June 2011

MomoLondon: Web vs Apps

I couldn’t make tonight’s Mobile Monday on location, so I thought I’d post my delayed notes from last time’s debate on Web vs Apps.

It was a lively session with both sides arguing strongly, though (unfortunately?) sometimes for the other side! The team members started by taking turns in giving short presentations — notably all of team web had slides (including beautiful ones from Bryan as usual) whereas all of team apps had decided just to talk.

Team web ended up with the audience vote (just!), but personally I thought team apps had the better argument. Yes, there are billions more mobile devices out there that can access web sites rather than have apps, but as we’ve seen (and as even Tomi Ahonen has been repeatedly caught out by) slick user experience drives mobile devices more than anything else. Web sites are great for finding stuff — but people don’t keep coming back to the same web site like they do to a favourite, well-designed app. And the skew in stats that we’ve seen since the iPhone came out (iPhones and similar devices punch way above their weight in usage compared to number of devices) applies even more for apps vs web sites. In his 5 minute presentation, Mauricio put up some Flirtomatic stats saying that they made about three times as much revenue from mobile web as from apps, but then revealed that their iPhone app provided 11% of revenue from 0.8% of sessions!

Anyway, enough ranting… Here’s my usual semi-structured notes:

Panel

Chaired by Leila Makki

Team Apps

Team Web

5 min presentations

Each team member made their own presentation, but my notes have all the points mixed together. Viji Pathy has posted a pretty comprehensive report of the session on the Mobile Monday blog that gives a bit more detail on the presentations side.

  • Discoverability
    • App store pre-installed
    • Browse, search, one-click install
    • Web is about information — apps are about utility
  • Building a mobile web app is not just about knowing HTML and CSS with a bit of Javascript
    • Easy to get very bad results on mobile
  • Numbers: 77% of 6.8 billion people have access to a mobile device (5.3 billion)
    • only 100 million iPhones (only 2.015%)
    • for 1/3 of population internet access is only via mobile
    • the other devices are mostly “feature phones”
    • but this is not an argument for web vs native… since many of the feature phones either have limited mobile web, or else support native apps!
  • Linkability — if you don’t have the app installed, sending someone direct content doesn’t work so well
    • this is Tim Berners-Lee’s fear, but apps can integrate with a web-based backend (e.g. instagram) and app stores themselves can be web-enabled
  • Non-technical people actually don’t understand what a website is…
    • Big successful web sites are understandable on a human level: eBay/Amazon are shops; Facebook is the pub
    • Similarly, apps are a more human thing — you get a nice shiny icon
    • The blank browser scares many people
  • AW: When you get the iPad, it’s totally useless until you put apps on it
  • From content perspective: Google prioritises quantity of content, whereas apps can highlight small limited quality
    • For example, instagram has many less features than flickr but has grown to 5 million users very rapidly
  • Flirtomatic — iPhone native has 11% revenue from 0.8% sessions…
    • and Mauricio is on Team Web…?
  • At Tesco, have seen that mobile web used for research but not for re-use and habitual long-term usage
    • app use encouraged by push notifications and widgets
  • 1 in 4 mobile searches in the US are on Google Voice search
  • Mobile web seems to be doing well for mail order & delivery shopping sites — searchable content with larger payments
  • Tesco made money back from iPhone app in less than a week
  • Targeting mobile devices: build it and see who comes, then target appropriately

Summing up — pro apps

  • Tangibility
  • Ownership & engagement
  • Native apps are faster
  • Using hardware
  • Lots of web browsers available, but are they ever going to be your customers?

Summing up — pro web

  • Don’t just target the rich west — reach beyond
  • Discoverability for apps can be one of the biggest problems

Q & A

  • What about using web apps on a long flight?
    • Not really
    • but this is possible now
  • Hard stuff: two-way voice with echo cancellation etc?
    • Not in a web app
  • Fragmentation of web browsers?
    • Design your site appropriately: it depends on who you want to target, but it’s still a larger number than just iPhone apps
    • e.g. target a touch-enabled mobile site and get both iPhone and Android at once
  • Mobile social
    • Good example of having both a mobile web and native strategy
    • e.g. Facebook native users add photos more; web users add quick status updates
  • Mobile ads — is there a problem keeping competition away from apps?
    • Tesco doesn’t have external ads in their apps
    • The end-user wants the curated experience…
  • Testing across multiple devices?
    • AW: It’s a problem for mobile computers — they don’t work some of the time…
    • AW: Apps are a reliable experience
    • The mobile web is no better and sometimes harder
  • Apps are good for some things and webapps are good for others… It’s like asking a carpenter which is the better tool: a hammer or a saw?
  • Monetisation?
    • Not for web games… yet
    • Flirtomatic has in-app purchases of virtual currency, but it’s a whole range of transaction
  • How do costs compare for native vs web?
    • It depends… You can spend more or less on each
    • Tesco: cost seems quite similar — especially since mobile dev has to be optimised for various devices
  • App-store owners take a cut; will it be the same for web?
    • probably — billing partners will always take a cut…
  • Will it be a digital divide between those who have apps and those that don’t?
    • Some people just don’t want apps on their phone — e.g. mother has a binatone phone with big buttons and doesn’t even use a mouse
    • There’s just a time lag to the rest of the world
  • What about lock-ins?
    • By choosing HTML, your development environment is free from manufacturer tie-ins
    • However, by choosing HTML, you play into the hands of Google making things free, operator content filtering etc.
  • Mobile web currently over-promises and under-delivers, but we’re all hedging our bets as mobile web catches up…?
    • Panel: yes!
    • BR: mobile web is catching up very fast, and depending on your business may already be a better bet
  • How do you find where your customers are?
    • Analyse the web browsers of your mailshot emails

Notices