Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android & IoT at droidconDE 16

Selim
June 16, 2016

Android & IoT at droidconDE 16

Android and the ecosystem of IoT at DroidCon Berlin 2016

Selim

June 16, 2016
Tweet

More Decks by Selim

Other Decks in Technology

Transcript

  1. Android & IoT
    Selim Salman
    @a_selims
    #droidconDE Berlin 2016

    View Slide

  2. Selim:
    - Android, IoT Engineer / Evangelist
    - Worked at Multi-National Corporates, Startups, Research & Academia
    - Cosmopolitan born in Sinai
    - Philosophy & Psychology interested!
    - PingPong player and a traveler!
    - +ASelimSalman
    - @a_selims

    View Slide

  3. Map up your business.
    Make full use of the potential of interactive maps for your company. Make better
    decisions, inspire your customers, and optimize the way you use resources.

    View Slide

  4. Contents
    IoT ecosystem & Android
    - Visualize some real-world examples.
    - Approach some initiatives & projects.
    - Explore some APIs.
    - Provide some useful resources.
    - This is an Inspiring Talk!

    View Slide

  5. "In the next century, planet earth will don an electronic skin.
    It will use the Internet as a scaffold to support and transmit its sensations."
    Neil Gross 1999

    View Slide

  6. Pervasive/Ubiquitous Computing
    Ubiquitous nature!
    Seamless integration between:
    - Physical world (Analog... continuous nature)
    - & Digital world (Discrete… binary); What about Quantum?!
    Context-aware Intuitive UX.
    Philosophical aspect: use Tech for good and without abusing it.
    It is all
    about
    Context!

    View Slide

  7. Define: IoT
    Objects with capability of (intelligent) communication.
    *Image from google UbiDev Summit

    View Slide

  8. Challenges
    Interoperability
    Security & Privacy
    UX: natural metaphor
    Stability, Availability and Maintainability

    View Slide

  9. Android Perspective
    Phone, Tablet, Watch, Auto, TV, Cast, Android-enabled devices…
    Manufacturers / Contributors:
    Pioneer
    Volkswagen
    Seat
    Opel
    Mercedes-Benz
    Mitsubishi
    ...
    Samsung
    LG
    Asus
    Moto
    Philips
    Sharp
    ...

    View Slide

  10. Get Inspired!
    Tools, Technologies, platforms
    Diversity of:
    - Inputs,
    - Outputs and
    - variety of processing capabilities.
    E.g. Project Jacquard & Soli

    View Slide

  11. Get Inspired!
    26 devices per user in 2020!
    - What are the possibilities?
    - How you can contribute?
    - Would your app incorporate this ecosystem to provide immersive UX?!
    As Android revolutionizes the world of Smartphones… It will revolutionizes the IoT.

    View Slide

  12. Real-life examples
    http://postscapes.com/internet-of-things-examples/

    View Slide

  13. Body
    Monitor the baby Medicine on time Track activity

    View Slide

  14. Home
    Efficient heating Pervasive lighting Keep plants alive

    View Slide

  15. City
    Efficient parking Efficient Energy Utilization Pollution Monitoring

    View Slide

  16. Industry & Environment
    Wildlife protection
    Preventive maintenance
    Maintain quality

    View Slide

  17. Potential evolvement!
    Transportation + Smart City.
    Health Care + Smart Home.
    Smart Buildings + Mobility.
    ...

    View Slide

  18. Open source projects
    https://sourceforge.net/projects/ucml/files/

    View Slide

  19. Open source projects
    Mirror
    https://github.com/maxbbraun/mirror

    View Slide

  20. Examples & Initiatives
    FallRisk:
    Gesture-interaction

    View Slide

  21. Examples & Initiatives
    Nest: A thoughtful home
    Google Home

    View Slide

  22. Project Ara
    The modular phone…
    Open for contributions…
    Fall 2016 Developer Edition…
    https://atap.google.com/ara/#developers

    View Slide

  23. Software is eating up the world!
    *Image from mattermark.com

    View Slide

  24. Data
    MetaData
    State Data
    Time-Series Data
    Command Data
    Real-Time Database: Firebase
    {
    “deviceid”: “1233”
    “type”: “temprature”
    “timestamp”: “1223344343443”
    }

    View Slide

  25. B&W
    Brillo: an operating system based on Android for running on low-end devices
    (Embedded System: Raspberry Pi, BeagleBone) .
    Weave: Application layer protocol for interacting with devices.
    Still early-access. Apply for invitation!
    https://android.googlesource.com/platform/system/weaved

    View Slide

  26. (Tele)Communication Protocols
    HTTP REST
    MQTT
    XMPP
    (Weave?!)
    ...
    BLE
    WiFi
    LTE
    ...

    View Slide

  27. Augmented/Virtual Reality
    Immersive Experience!
    Project Tango: Play, do, explore more! Lenovo PHAB 2 Pro
    Cardboard / Oculus / FeelReal: Google Spotlight Stories
    Google VR lib: compileSdkVersion 23 minSdkVersion 19
    https://developers.google.com/vr/android/
    https://github.com/googlevr/gvr-android-sdk/blob/master/samples/treasurehunt
    ...

    View Slide

  28. Location
    Identify a location with a marker!
    GPS: Lat & Lon!
    EddyStone Beacons: Physical Web

    View Slide

  29. Google APIs: Where you are?
    Places API
    Geofencing
    Fused Location Provider

    View Slide

  30. PlacePicker
    public void onPickButtonClick(View v) {
    // Construct an intent for the place picker
    try {
    PlacePicker.IntentBuilder intentBuilder =
    new PlacePicker.IntentBuilder();
    Intent intent = intentBuilder.build(this);
    // Start the intent by requesting a result,
    // identified by a request code.
    startActivityForResult(intent, REQUEST_PLACE_PICKER);
    } catch (GooglePlayServicesRepairableException e) {
    // ...
    } catch (GooglePlayServicesNotAvailableException e) {
    // ...
    }
    }

    View Slide

  31. PlacePicker
    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == REQUEST_PLACE_PICKER && resultCode == Activity.RESULT_OK) {
    // The user has selected a place. Extract the name and address.
    final Place place = PlacePicker.getPlace(data, this);
    final CharSequence name = place.getName();
    final CharSequence address = place.getAddress();
    String attributions = PlacePicker.getAttributions(data);
    if (attributions == null) {
    attributions = "";
    }
    mViewName.setText(name);
    mViewAddress.setText(address);
    mViewAttributions.setText(Html.fromHtml(attributions));
    } else {
    super.onActivityResult(requestCode, resultCode, data);
    }
    }

    View Slide

  32. Google APIs: What you are doing?
    Google Fit Platform
    Activity Recognition API
    Sensors API

    View Slide

  33. Google APIs: What is nearby?
    Nearby Messages
    Nearby Connections
    Nearby Notifications

    View Slide

  34. Google APIs
    Awareness API
    Simple, battery-efficient
    Combining and working with 7 signals
    including time, location, places, beacons,
    headphones, activity and weather.
    Still SIGN UP FOR EARLY ACCESS!

    View Slide

  35. Lively Features
    Speech recognition
    Text Recognition (OCR)
    Accessibility

    View Slide

  36. Ecosystem: Not Google
    AWS IoT
    https://github.com/awslabs/aws-sdk-android-samples
    IBM Watson
    https://github.com/ibm-watson-iot/iot-starter-for-android
    ...

    View Slide

  37. Useful Links
    http://de.slideshare.net/aselims/ucml
    http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=5558227
    https://developers.google.com/brillo/
    https://developers.google.com/weave/
    https://ubiquity.withgoogle.com
    https://www.udacity.com/course/android-wear-development--ud875A
    https://developers.google.com/awareness/overview
    https://developers.google.com/nearby/
    https://developers.google.com/android/reference/com/google/android/gms/location
    https://medium.com/@maxbraun/my-bathroom-mirror-is-smarter-than-yours-94b21c6671ba#.9gehrv5dn
    https://codelabs.developers.google.com/codelabs/location-places-android/
    http://postscapes.com/internet-of-things-examples/

    View Slide

  38. Thanks!
    @aselims
    +ASelimSalman
    slideshare.net/aselims
    github.com/aselims
    [email protected]

    View Slide