RubotoJRuby on Android

联合创作 · 2023-09-25 05:50

Ruboto 是一个完全用 Ruby 语言来构建 Android 应用程序的框架。

安装方法:$ gem install ruboto-core

示例代码:

require 'ruboto.rb' #scripts will not work without doing this
$activity.handle_create do |bundle|
  Log.v 'MYAPPNAME', 'onCreate got called!'
  handle_pause do
    Log.v 'MYAPPNAME', 'onPause got called!'
  end
end

浏览 15
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报