W3C home > Mailing lists > Public > public-coremob-camera@w3.org > December 2012

RE: Summary of Ian understanding of MWC demo (2012-12-06)

From: <john.kneeland@nokia.com>
Date: Fri, 7 Dec 2012 15:28:21 +0000
To: <ij@w3.org>, <public-coremob-camera@w3.org>
Message-ID: <3B3ABB8783CEF14AABDF0E26A3DE908A01C8023F@008-AM1MPN2-081.mgdnok.nokia.com>
Great work, Ian. My thoughts regarding the "bonus" bits:

Re: Bonus 2
I would almost be hesitant to have the option of accessing the camera app on anything other than our local network, because the cell networks and wifi are likely to be overloaded and so visitors trying to use it may get a suboptimal experience that accidentally reinforces their bad preconceptions about HTML5.


-----Original Message-----
From: ext Ian Jacobs [mailto:ij@w3.org] 
Sent: Friday, December 07, 2012 12:10 PM
To: public-coremob-camera@w3.org
Subject: Summary of Ian understanding of MWC demo (2012-12-06)

Hi all,

Please find below my updated understanding of the W3C MWC 2013 demo app. 

See "who is doing what" at the end. The camera app and the gallery app are taken are of. I will need additional help building the glue between them. I will ask internally, but welcome volunteers on this list.

Ian

==========
Camera App

 * Takes and store photos locally
 * Views locally (single photo, photo st)
 * Applies filter(s) to a photo
 * Shares a photo

==========
Sharing Modules (user selects from among these)

 * To Facebook
 * To Dropbox
 * To W3C PhoTobie (or, if you prefer: W3C PhotoMomi!)

Question: Is the user going to be able to choose a facebook or dropbox account, or will there be one predefined for sharing?

==========
Gallery App

 * Built using Joshfire tool. 
 * Displays photos, allows navigation, on phone/tablet/laptop/tv
   (e.g., TV navigation using remote control).
 * The app reads a photo feed running on the local server.

Notes: 

  - Joshfire showed me the gallery app today; it's great. They do not
    yet support feeds from Dropbox but are interested in implementing
    that feature.
  - Joshfire will look at augmenting the app to respond to notification
    that a new photo has been shared. We think it will be done with
    server-sent events.

==========
W3C PhoTobie (service)

 * Accepts POST requests from the camera app (optionally with authentication)
   and stores photo.
 * Generates a feed of photo data used by the gallery app. Joshfire will
   send me information about the feed syntax. 
 * Notifies the gallery app (server-sent events?) that the feed has
   been updated.

   Question: What's the best way to get the Joshfire app to highlight the 
   newly shared photo? 

Note: 

 - Maybe there is more than one service to do these three things. I just
   assumed one for now.

==========
Bonus 1: Gallery display of photos from a predetermined Dropbox account.

 * The gallery app can display N photo feeds. We will have one for
   the local host, but we could also display a second feed from
   an external service. Each feed is displayed on its own tab (in the
   demo I saw.)
 * There is not yet support in the gallery app for Dropbox, but
   Francois indicated they would like to add it.
 * Hence my question about the camera app above: if the camera app
   is set up so that we can save to a Dropbox account that we know
   about in advance, we can set up the gallery app to display those
   photos as well (assuming we have internet access from the laptop).

==========
Bonus 2: Booth visitors can also run the camera app on their own smart phones.

 * We will be running a local network from a laptop in the booth.
 * The camera app, gallery app, and PhoTobie will run on the same
   server in the local network of the booth (no CORS issues).
 * The screens will be connected to the network with cables.
 * The phone we will use to demo the camera app
   will connect to the network through wifi or bluetooth.
 * Visitors who want to try out the camera app would have to join our
   local network.
 * HOWEVER, if we have Internet access from the laptop and the visitor
   has Internet access from the phone we can:

   - Run a clone of the camera app on w3.org.
   - Let user share photos to w3.org.
   - Those photos are made available on the local server as well (either
     because we only ever use one directory, or we rsync the photos, 
     or whatever).
   - We notify the local gallery app that a new photo has been saved
     and the photo shows up on our demo wall.

 * People will run the app from a QR code (or some simple URI like
   w3.org/2013/camera).
 * We can also use the dropbox option (if we are displaying
   a dropbox feed in the booth).

==========
Thinking about URIs

  localhost/apps/camera
  localhost/apps/gallery
  localhost/services/photobie
  localhost/feeds/demophotos
  

==========
Who is doing what:

 * Tobie and Tomomi: Camera app, including access to PhoTobie

 * Francois and Steren (in January):
   - add dropbox feature (Bonus 1)
   - enable creation of app that auto-redisplays when photo feed is updated.
   - build the gallery app so we can start to test it

 * W3C: 
   - PhoTobie (accept shared photos, generate feed for gallery app, notify gallery app.)
   - Set up w3.org and clone of gallery app to allow people to
     share pictures to w3.org; sync with localhost repository (Bonus 2)

--
Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447
Received on Friday, 7 December 2012 15:28:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 December 2012 15:28:54 GMT