Senior System Architect, Google
Developer Expert, Authorised Trainer
REAL-TIME IMAGE
SHARING
JERRY JALAVA
JERRY@QVIK.FI | @W_I
CLIENT ASKS FOR POC…
‣ Users should be able to easily sign-in
(which is required)
‣ Users should be able to upload images
from their camera
‣ Other users should see these images
immediately
‣ Users should be able to manage their
own images
‣ Users should be able to like images of
others
@QVIKJERRY@QVIK.FI | @W_I
DEADLINE IS SET FOR
YESTERDAY
@QVIKJERRY@QVIK.FI | @W_I
SO WHAT DO WE NEED TO DO
‣ Some server to handle our uploads and
other api requests
‣ Scalable storage system for storing the
images
‣ A mechanism to notify all users at once
about new images, and fetch them
‣ Build the Authentication and Listing
views to Android client
@QVIKJERRY@QVIK.FI | @W_I
BUT ALL THAT WILL TAKE
AT LEAST DAYS
@QVIKJERRY@QVIK.FI | @W_I
NOT NECESSARILY
WHAT IF I TOLD YOU,
@QVIKJERRY@QVIK.FI | @W_I
@QVIK
https://firebase.google.comJERRY@QVIK.FI | @W_I
LETS JUST USE FOLLOWING
‣ Firebase Auth
‣ Firebase Storage
‣ Firebase Realtime Database
‣ FirebaseUI

(https://github.com/firebase/firebaseui)
@QVIKJERRY@QVIK.FI | @W_I
NOW WE HAVE SOLVED
‣ Some server to handle our uploads and
other api requests
‣ Scalable storage system for storing the
images
‣ A mechanism to notify all users at once
about new images, and fetch them
‣ For UI, we will use ready components as
much as possible
@QVIKJERRY@QVIK.FI | @W_I
BUILDING
LETS START
@QVIKJERRY@QVIK.FI | @W_I
1. LETS ADD FIREBASE TO OUR APP
@QVIK
We head to https://console.firebase.google.com/ and create new project
JERRY@QVIK.FI | @W_I
1. LETS ADD FIREBASE TO OUR APP
@QVIK
Next we create and download Firebase configuration for our app
JERRY@QVIK.FI | @W_I
2. LETS ENABLE AUTHENTICATION
@QVIK
We head to Authentication / Sign-In method config and enable Anonymous auth
JERRY@QVIK.FI | @W_I
3. LETS BUILD THE BASIC UI
@QVIK
(Create some amazing UI by writing layout XML)
JERRY@QVIK.FI | @W_I
4. FETCH THE ADDED IMAGES WITH LIVE CHANGES
@QVIK
Here is just one simple way of listening for changes in our images collection
JERRY@QVIK.FI | @W_I
5. UPLOAD IMAGE TO STORAGE
@QVIK
Here is just one simple way of uploading a file to Firebase storage
JERRY@QVIK.FI | @W_I
AND WE ARE DONEWELL, ALMOST
@QVIKJERRY@QVIK.FI | @W_I
SCAN THE QR CODE TO INSTALL
HTTPS://GITHUB.COM/JERRYJJ/FIREBASE-STORAGE-
DEMO-ANDROID
LIVE DEMO
@QVIKJERRY@QVIK.FI | @W_I
Real-time image sharing
THANK YOU
www.qvik.fi

More Related Content

PDF
Make your animations perform well - Anna Migas - Codemotion Rome 2017
PPT
Building 3D Models with Skycatch & Autodesk Recap API's
PDF
GitLab Product Update, January 2017
PDF
Continuous Delivery in the Cloud with Bitbucket Pipelines
PDF
Using Cookies to Store Your Postman Secrets
PDF
Getting started with Angular CLI
PDF
Serverless with Firebase
PPTX
Implementing CI/CD in a Serverless Environment
Make your animations perform well - Anna Migas - Codemotion Rome 2017
Building 3D Models with Skycatch & Autodesk Recap API's
GitLab Product Update, January 2017
Continuous Delivery in the Cloud with Bitbucket Pipelines
Using Cookies to Store Your Postman Secrets
Getting started with Angular CLI
Serverless with Firebase
Implementing CI/CD in a Serverless Environment

What's hot (19)

PPTX
Azure Integration in Production with Logic Apps and more
PPTX
Logic Apps – Deployments
PPTX
Creating reusable pieces in Logic Apps
PDF
5 developer Tools To Speed Up Your Workflow
PDF
Serverless computing con Azure Functions
PDF
Under the Hood with Headless WordPress and the Google Cloud Platform
PPTX
Public v1 real world example of azure functions serverless conf london 2016
PPTX
Introduction to Azure Functions - Tutorial
PDF
Serverless Empowering people
PDF
Building Faster With Your Team's UI Kit
PDF
Tracking Huge Files with Git LFS
PDF
Novidades Angular 4.x e CLI
PDF
Creating a server side web app
PPTX
Cross Platform Mobile App Development
ZIP
The Big Wave of Indian Startups - Almost Effortless Entrepreneurship Using Ruby
PDF
Creating an Angular 2 Angular CLI app in 15 Minutes Using MaterializeCSS & Fi...
PDF
Bitbucket Pipelines: Serverless CI/CD That Will Save Your Life
PDF
Postman Webinar: "From APIs to Serverless Cloud Applications in Minutes"
PDF
Access to User Activities - Activity Platform APIs
Azure Integration in Production with Logic Apps and more
Logic Apps – Deployments
Creating reusable pieces in Logic Apps
5 developer Tools To Speed Up Your Workflow
Serverless computing con Azure Functions
Under the Hood with Headless WordPress and the Google Cloud Platform
Public v1 real world example of azure functions serverless conf london 2016
Introduction to Azure Functions - Tutorial
Serverless Empowering people
Building Faster With Your Team's UI Kit
Tracking Huge Files with Git LFS
Novidades Angular 4.x e CLI
Creating a server side web app
Cross Platform Mobile App Development
The Big Wave of Indian Startups - Almost Effortless Entrepreneurship Using Ruby
Creating an Angular 2 Angular CLI app in 15 Minutes Using MaterializeCSS & Fi...
Bitbucket Pipelines: Serverless CI/CD That Will Save Your Life
Postman Webinar: "From APIs to Serverless Cloud Applications in Minutes"
Access to User Activities - Activity Platform APIs
Ad

Viewers also liked (6)

PPTX
Continous Delivery to Kubernetes using Helm
PDF
Serverless with Google Cloud Functions
PDF
Secrets in Kubernetes
PPTX
Going Serverless with Kubeless In Google Container Engine (GKE)
PDF
Arctic15 keynote
PDF
Building Resilient Cloud Native Apps in GKE
Continous Delivery to Kubernetes using Helm
Serverless with Google Cloud Functions
Secrets in Kubernetes
Going Serverless with Kubeless In Google Container Engine (GKE)
Arctic15 keynote
Building Resilient Cloud Native Apps in GKE
Ad

Similar to Real-time image sharing (20)

PDF
APIs for modern web apps
PPTX
JS FAST Prototyping with AngularJS & RequireJS
PPTX
LITE 2018 – A Deep Dive Into the API [Iain Brown]
PDF
Agility in minutes with APIs and Microservices
PDF
Visual Automation Framework via Screenshot Comparison
PDF
Event-driven architecture patterns in highly scalable image storage solution-...
PPTX
slides.pptx
PDF
Build an Infra Product with AWS Fargate
PDF
Full Angular 7 Firebase Authentication System
PPTX
Fast prototyping apps using AngularJS, RequireJS and Twitter Bootstrap
PPT
Web Kpi
PPTX
Continuous Testing using Shippable and Docker
PDF
20181023 progressive web_apps_are_here_sfcampua
PDF
Progressive Web Apps are here!
PPTX
Azure Static Web Apps
PDF
PuppetConf 2017: Puppet & Google Cloud: From Nothing to Production in 10 minu...
PDF
Lessons Learned: Continuous Deployment For Docker (presented at Cloud Expo We...
PDF
StackMob & Appcelerator Module Part One
PDF
Web is the New Mobile: Building Progressive Web Apps - Erica Stanley - Codemo...
PDF
New ThousandEyes Product Features and Release Highlights: March 2024
APIs for modern web apps
JS FAST Prototyping with AngularJS & RequireJS
LITE 2018 – A Deep Dive Into the API [Iain Brown]
Agility in minutes with APIs and Microservices
Visual Automation Framework via Screenshot Comparison
Event-driven architecture patterns in highly scalable image storage solution-...
slides.pptx
Build an Infra Product with AWS Fargate
Full Angular 7 Firebase Authentication System
Fast prototyping apps using AngularJS, RequireJS and Twitter Bootstrap
Web Kpi
Continuous Testing using Shippable and Docker
20181023 progressive web_apps_are_here_sfcampua
Progressive Web Apps are here!
Azure Static Web Apps
PuppetConf 2017: Puppet & Google Cloud: From Nothing to Production in 10 minu...
Lessons Learned: Continuous Deployment For Docker (presented at Cloud Expo We...
StackMob & Appcelerator Module Part One
Web is the New Mobile: Building Progressive Web Apps - Erica Stanley - Codemo...
New ThousandEyes Product Features and Release Highlights: March 2024

Recently uploaded (20)

PDF
Yusen Logistics Group Sustainability Report 2024.pdf
PPTX
Literatura en Star Wars (Legends y Canon)
PPTX
Shizophrnia ppt for clinical psychology students of AS
PPTX
3RD-Q 2022_EMPLOYEE RELATION - Copy.pptx
PDF
Microsoft-365-Administrator-s-Guide_.pdf
PPTX
Knowledge Knockout ( General Knowledge Quiz )
PPTX
Rakhi Presentation vbbrfferregergrgerg.pptx
PPTX
FINAL TEST 3C_OCTAVIA RAMADHANI SANTOSO-1.pptx
PPTX
NORMAN_RESEARCH_PRESENTATION.in education
PDF
PM Narendra Modi's speech from Red Fort on 79th Independence Day.pdf
PPTX
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
PDF
6.-propertise of noble gases, uses and isolation in noble gases
PPTX
ANICK 6 BIRTHDAY....................................................
PPTX
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
PPTX
Lesson-7-Gas. -Exchange_074636.pptx
DOC
EVC毕业证学历认证,北密歇根大学毕业证留学硕士毕业证
PDF
MODULE 3 BASIC SECURITY DUTIES AND ROLES.pdf
DOCX
Action plan to easily understanding okey
PPTX
Module_4_Updated_Presentation CORRUPTION AND GRAFT IN THE PHILIPPINES.pptx
PDF
COLEAD A2F approach and Theory of Change
Yusen Logistics Group Sustainability Report 2024.pdf
Literatura en Star Wars (Legends y Canon)
Shizophrnia ppt for clinical psychology students of AS
3RD-Q 2022_EMPLOYEE RELATION - Copy.pptx
Microsoft-365-Administrator-s-Guide_.pdf
Knowledge Knockout ( General Knowledge Quiz )
Rakhi Presentation vbbrfferregergrgerg.pptx
FINAL TEST 3C_OCTAVIA RAMADHANI SANTOSO-1.pptx
NORMAN_RESEARCH_PRESENTATION.in education
PM Narendra Modi's speech from Red Fort on 79th Independence Day.pdf
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
6.-propertise of noble gases, uses and isolation in noble gases
ANICK 6 BIRTHDAY....................................................
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
Lesson-7-Gas. -Exchange_074636.pptx
EVC毕业证学历认证,北密歇根大学毕业证留学硕士毕业证
MODULE 3 BASIC SECURITY DUTIES AND ROLES.pdf
Action plan to easily understanding okey
Module_4_Updated_Presentation CORRUPTION AND GRAFT IN THE PHILIPPINES.pptx
COLEAD A2F approach and Theory of Change

Real-time image sharing