Java особенно хороша смалиновым десертом!Андрей Дмитриевandrei-dmitriev@yandex.ruАлександр Белокрылов (@gigabel)Alexander....
Умный город& Контроль трафикаSource: http://www.flickr.com/photos/epsos/5591761716/
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.4АвтоматизацияпроизводстваSource: Rockwell Automation
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.5Вендинг машиныSource: http://www.flickr.com/photos/61...
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.6ТелеметрияSource: http://www.flickr.com/photos/997979...
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.7Удаленный контрольпациентов
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.8Умный дом
=Java и малиновый десерт Raspberry Pi
http://elinux.org/File:Raspi-Model-AB-Mono-2-699x1024.png
http://www.raspberrypi-spy.co.uk/wp-content/uploads/2012/09/Raspberry-Pi-GPIO-Layout-Revision-2.png
А это еще зачем?http://i.imgur.com/k0Puu.jpg
Chalkboard Electronics Touchscreen 10" or 7" Form Factor Connects via HDMI/USB Tested with JavaFX 8 10% Exclusive Disc...
http://www.element14.com/community/servlet/JiveServlet/showImage/146291/picamera.bmp
SPIds1722HDMIJava ME Embedded 3.3Java SE 8 + JavaFX
Java ME Embedded
Java ME Embedded и Raspberry Pi IMP-NG– MIDP 2.0 без UI и Game API– Размер Run-time менее 4 Мб API для доступа к GPIO, U...
Device Access API permissionsПодпиши или разреши
Разреши, но только для себя$JavaME_HOME/appdb/_policy.txtВ секции:domain untrusted, unsecureddomain minimum, unsecuredДоба...
DAAPIGPIOPinConfig pin4Config = new GPIOPinConfig(0, // Port number4, // Pin numberGPIOPinConfig.DIR_OUTPUT_ONLY,GPIOPinCo...
Демо
Java SE и JavaFX наRaspberry Pi
https://bitbucket.org/stephanj/tweetwall
Где взять JavaFX для RaspberryDownload Java 8 for Linux ARM, Developers Previewhttps://jdk8.java.net/fxarmpreview/index.html
Как писать на JavaFX Используйте любимую IDE
Создай GUI за 15 минут JavaFX Scene Builder
Демо
СпасибоВопросы
Java&raspberry
Upcoming SlideShare
Loading in …5
×

Java&raspberry

561 views

Published on

This presentation about usage Java with Raspberry Pi

Published in: Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
561
On SlideShare
0
From Embeds
0
Number of Embeds
252
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Feel free to reuse this presentation for your local user groups. Some helpful comments are in the notes section, but feel free to embellish.For more details on JavaFX/Raspberry Pi hacking, check out this post:http://javafx.steveonjava.com/javafx-on-raspberry-pi-3-easy-steps/
  • A visualization of the node and routing information of a part of the Internet, in 2003. By the Opte Project. If this was a part of the Internet in 2003, imagine what it would look like today.
  • Automatic number plate recognitionRed-light violation detectionTraffic jam detectionVehicle location systemGeo-fences
  • High-speed data collection and analysisLocal storage and historical analysisFiltering, correlation and pattern matching of real-world data
  • Demand-based refrigeration to conserve energyDynamically changing prices based on weather and demandInventory management
  • Location trackingContainer contents monitoringIntrusion detectionTemperature and pressure monitoring
  • Data evaluation for potential health problemsAutomatic alerts to caregivers and healthcare providersHistorical data analysis
  • Real-time pricing with adaptive intelligence for carbon footprint reductionAutomatic water usage metering enables conservationIntrusion detection
  • The Raspberry Pi is a consumer-focused, low-cost board. It has a slightly slower ARM processor (ARMv6 700Mhz), but a better GPU than the BeagleBoard. Connectivity is via HDMI/Component, USBx2, Ethernet, and Audio out.
  • And do cool stuff with the Pi like this pic of the digital signage for Devoxx, which was running on HDMI monitors at 1920x1080 off of a Raspberry Pi.
  • And getting JavaFX is as simple as downloading Java 7 (it has been bundled since Java 7u4). Also, it is supported across different desktop platforms (shown in the picture).
  • And you can use your favorite IDE… IntelliJ, Eclipse, NetBeans, Oracle JDeveloper, etc. Many IDEs have special support, but all you need to do is create a generic Java project and add in the jfxrt.jar file from the jre/lib directory.
  • You can build JavaFX applications visually using Scene Builder. This is a good time to show aNetBeans/Scene Builder live demo where you can build a custom application for the audience you are working with, such as this app done for the Linux Users' Group of Davis in 15 minutes or so:https://github.com/steveonjava/LUGOD-Pi-Test
  • Java&raspberry

    1. 1. Java особенно хороша смалиновым десертом!Андрей Дмитриевandrei-dmitriev@yandex.ruАлександр Белокрылов (@gigabel)Alexander.belokrylov@oracle.com
    2. 2. Умный город& Контроль трафикаSource: http://www.flickr.com/photos/epsos/5591761716/
    3. 3. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.4АвтоматизацияпроизводстваSource: Rockwell Automation
    4. 4. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.5Вендинг машиныSource: http://www.flickr.com/photos/61360523@N04/7183848790/
    5. 5. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.6ТелеметрияSource: http://www.flickr.com/photos/9979792@N04/2984873350/
    6. 6. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.7Удаленный контрольпациентов
    7. 7. Copyright © 2012, Oracle and/or its affiliates. All rights reserved.8Умный дом
    8. 8. =Java и малиновый десерт Raspberry Pi
    9. 9. http://elinux.org/File:Raspi-Model-AB-Mono-2-699x1024.png
    10. 10. http://www.raspberrypi-spy.co.uk/wp-content/uploads/2012/09/Raspberry-Pi-GPIO-Layout-Revision-2.png
    11. 11. А это еще зачем?http://i.imgur.com/k0Puu.jpg
    12. 12. Chalkboard Electronics Touchscreen 10" or 7" Form Factor Connects via HDMI/USB Tested with JavaFX 8 10% Exclusive Discount:G1F0U796Z083
    13. 13. http://www.element14.com/community/servlet/JiveServlet/showImage/146291/picamera.bmp
    14. 14. SPIds1722HDMIJava ME Embedded 3.3Java SE 8 + JavaFX
    15. 15. Java ME Embedded
    16. 16. Java ME Embedded и Raspberry Pi IMP-NG– MIDP 2.0 без UI и Game API– Размер Run-time менее 4 Мб API для доступа к GPIO, UART, SPI, I2C– Device access API (DAAPI)– Нужен roothttp://docs.oracle.com/javame/config/cldc/rel/3.3/rasp/gs/html/getstart_raspi/toc.htmhttp://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html
    17. 17. Device Access API permissionsПодпиши или разреши
    18. 18. Разреши, но только для себя$JavaME_HOME/appdb/_policy.txtВ секции:domain untrusted, unsecureddomain minimum, unsecuredДобавить:allow: device_access
    19. 19. DAAPIGPIOPinConfig pin4Config = new GPIOPinConfig(0, // Port number4, // Pin numberGPIOPinConfig.DIR_OUTPUT_ONLY,GPIOPinConfig.DEFAULT,GPIOPinConfig.TRIGGER_NONE,false); // Initial state
    20. 20. Демо
    21. 21. Java SE и JavaFX наRaspberry Pi
    22. 22. https://bitbucket.org/stephanj/tweetwall
    23. 23. Где взять JavaFX для RaspberryDownload Java 8 for Linux ARM, Developers Previewhttps://jdk8.java.net/fxarmpreview/index.html
    24. 24. Как писать на JavaFX Используйте любимую IDE
    25. 25. Создай GUI за 15 минут JavaFX Scene Builder
    26. 26. Демо
    27. 27. СпасибоВопросы

    ×