Scala, Android & BLE - Scala Meetup Dublin - Hands on code walkthrough
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Scala, Android & BLE - Scala Meetup Dublin - Hands on code walkthrough

on

  • 358 views

The slides from the meetup.

The slides from the meetup.

Statistics

Views

Total Views
358
Views on SlideShare
348
Embed Views
10

Actions

Likes
0
Downloads
1
Comments
0

2 Embeds 10

https://twitter.com 8
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Scala, Android & BLE - Scala Meetup Dublin - Hands on code walkthrough Presentation Transcript

  • 1. Scala, Android & BLE Scala Meetup Dublin Jul 2014 roland@tritsch.org
  • 2. Because ...
  • 3. Today ... ● How to build something? ● Framework(s)! ● BLE :)
  • 4. Build environments ... ● Gradle ○ gradle-android-scala-plugin (saturday06) ● SBT ○ android-plugin (jberkel) ○ android-sdk-plugin(pfn) !!!
  • 5. How to start First Scala App Hello World Tutorial One
  • 6. https://github.com/rolandtritsch scala-android-meetup
  • 7. Frameworks ... ● Macroid ○ UI “only” ○ UI even nicer than Scaloid ● Scaloid ○ UI and “other” Scala-idiomatics ○ “Better/more” documentation
  • 8. HelloWorld with Macroid & Scaloid Tutorial Two
  • 9. https://github.com/rolandtritsch scaloid-hello-world
  • 10. BLE ... ● Bluetooth Low Energy ● RFID vs. BLE (vs. iBeacon :)) ● Requires at least Android 4.3 ○ And even then … ● Alternatives … ○ LocalSocial, Gimbal, RadiusNetworks, Estimote, ...
  • 11. A simple BLE scanner Tutorial Three
  • 12. https://github.com/rolandtritsch scaloid-beacon-scanner
  • 13. References ● https://github.com/pfn/android-sdk-plugin ● https://github.com/pocorall/scaloid ● https://github.com/macroid ● https://github.com/ensime ● https://github.com/rolandtritsch ○ scala-android-weatherstation
  • 14. Q&A
  • 15. Quiz ● Log.wtf(s”This should not happen”) ● “Hello, world!”, “hello world”, “hello, world!” ● Max length of Android Logging Tag ○ log.tag.<TAG> needs to be <= 32, because you want to be able to use … ■ adb shell setprop log.tag.<TAG> <LOGLEVEL>