1 / 20

R4A

R4A. Ruby 4 Android. O mnie:. Maciej Mensfeld. maciej@mensfeld.pl dev.mensfeld.pl github.com / mensfeld. Maciej Mensfeld. R4A. Ruby 4 Android. It is possible ;-). It’s not always a great idea. There’s more than one way to do it. Good for small apps. Maciej Mensfeld. R4A.

trudy
Download Presentation

R4A

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. R4A Ruby 4 Android O mnie: Maciej Mensfeld maciej@mensfeld.pl dev.mensfeld.pl github.com/mensfeld Maciej Mensfeld

  2. R4A Ruby 4 Android Itispossible ;-) It’s not always a great idea There’smorethan one way to do it Good for smallapps Maciej Mensfeld

  3. R4A Ruby 4 Android SL4A Maciej Mensfeld

  4. R4A Ruboto Ruboto is a framework and tool chain to develop native Android apps, using the Ruby language we all know and love. Ruboto Thecommand-lineinterface Ruboto-Core Thecommonframeworkcode Maciej Mensfeld

  5. R4A Rubotoinstallation Maciej Mensfeld

  6. R4A Rubotoinstallation Maciej Mensfeld

  7. R4A Spy cam Start a webserver that serves a fresh picture taken by the on board camera on each request. This tutorial accesses the camera of the device, so it doesn't make much sense to develop on an emulator :-( ruboto gen app --package org.ruboto.spycam cdspycam rake update_scripts:restart https://github.com/ruboto/ruboto/wiki/Tutorial%3A-Making-a-spycam Maciej Mensfeld

  8. R4A Spy cam Maciej Mensfeld

  9. R4A Spy cam rake -T Maciej Mensfeld

  10. R4A Spy cam AndroidManifest.xml – afteruses-sdk <uses-permission android:name="android.permission.CAMERA"/> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-feature android:name="android.hardware.camera"/> <uses-feature android:name="android.hardware.camera.autofocus"/> Maciej Mensfeld

  11. R4A Spy cam spycam_activity.rb CamelCase :-( Maciej Mensfeld

  12. R4A Spy cam (spycam_activity.rb) Maciej Mensfeld

  13. R4A Spy cam (spycam_activity.rb) Maciej Mensfeld

  14. R4A Spy cam (spycam_server.rb) Maciej Mensfeld

  15. R4A Spy cam (spycam_server.rb) Maciej Mensfeld

  16. R4A Spy cam (spycam_view.rb) Maciej Mensfeld

  17. R4A Spy cam (spycam_view.rb) Maciej Mensfeld

  18. R4A Spy cam (spycam_helper.rb) Maciej Mensfeld

  19. R4A Upload na execute! rake update_scripts:restart Maciej Mensfeld

  20. R4A Live long and prosper! Presented by: Maciej Mensfeld maciej@mensfeld.pl dev.mensfeld.pl github.com/mensfeld Maciej Mensfeld

More Related