ruboto-core 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +19 -0
- data/README.md +192 -0
- data/Rakefile +144 -0
- data/assets/Rakefile +94 -0
- data/assets/assets/scripts/ruboto.rb +313 -0
- data/assets/samples/sample_activity.rb +21 -0
- data/assets/samples/sample_broadcast_receiver.rb +7 -0
- data/assets/samples/sample_service.rb +13 -0
- data/assets/src/InheritingActivity.java +10 -0
- data/assets/src/InheritingBroadcastReceiver.java +10 -0
- data/assets/src/InheritingService.java +10 -0
- data/assets/src/org/ruboto/RubotoActivity.java +1406 -0
- data/assets/src/org/ruboto/RubotoBroadcastReceiver.java +126 -0
- data/assets/src/org/ruboto/RubotoService.java +233 -0
- data/assets/src/org/ruboto/RubotoView.java +30 -0
- data/assets/src/org/ruboto/Script.java +231 -0
- data/bin/ruboto +191 -0
- data/lib/java_class_gen/InheritingClass.java.erb +11 -0
- data/lib/java_class_gen/RubotoClass.java.erb +197 -0
- data/lib/java_class_gen/callback_reflection.rb +109 -0
- data/lib/java_class_gen/interfaces.txt +1 -0
- metadata +120 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"android.app.Activity"=>{"android.app.Activity"=>{"onActivityResult"=>{"args"=>["int", "int", "android.content.Intent"], "abstract"=>false}, "onApplyThemeResource"=>{"args"=>["android.content.res.Resources$Theme", "int", "boolean"], "abstract"=>false}, "onAttachedToWindow"=>{"abstract"=>false}, "onBackPressed"=>{"abstract"=>false}, "onChildTitleChanged"=>{"args"=>["android.app.Activity", "java.lang.CharSequence"], "abstract"=>false}, "onConfigurationChanged"=>{"args"=>["android.content.res.Configuration"], "abstract"=>false}, "onContentChanged"=>{"abstract"=>false}, "onContextItemSelected"=>{"return_type"=>"boolean", "args"=>["android.view.MenuItem"], "abstract"=>false}, "onContextMenuClosed"=>{"args"=>["android.view.Menu"], "abstract"=>false}, "onCreate"=>{"args"=>["android.os.Bundle"], "abstract"=>false}, "onCreateContextMenu"=>{"args"=>["android.view.ContextMenu", "android.view.View", "android.view.ContextMenu$ContextMenuInfo"], "abstract"=>false}, "onCreateDescription"=>{"return_type"=>"java.lang.CharSequence", "abstract"=>false}, "onCreateDialog"=>{"return_type"=>"android.app.Dialog", "args"=>["int", "android.os.Bundle"], "abstract"=>false}, "onCreateOptionsMenu"=>{"return_type"=>"boolean", "args"=>["android.view.Menu"], "abstract"=>false}, "onCreatePanelMenu"=>{"return_type"=>"boolean", "args"=>["int", "android.view.Menu"], "abstract"=>false}, "onCreatePanelView"=>{"return_type"=>"android.view.View", "args"=>["int"], "abstract"=>false}, "onCreateThumbnail"=>{"return_type"=>"boolean", "args"=>["android.graphics.Bitmap", "android.graphics.Canvas"], "abstract"=>false}, "onCreateView"=>{"return_type"=>"android.view.View", "args"=>["java.lang.String", "android.content.Context", "android.util.AttributeSet"], "abstract"=>false}, "onDestroy"=>{"abstract"=>false}, "onDetachedFromWindow"=>{"abstract"=>false}, "onKeyDown"=>{"return_type"=>"boolean", "args"=>["int", "android.view.KeyEvent"], "abstract"=>false}, "onKeyLongPress"=>{"return_type"=>"boolean", "args"=>["int", "android.view.KeyEvent"], "abstract"=>false}, "onKeyMultiple"=>{"return_type"=>"boolean", "args"=>["int", "int", "android.view.KeyEvent"], "abstract"=>false}, "onKeyUp"=>{"return_type"=>"boolean", "args"=>["int", "android.view.KeyEvent"], "abstract"=>false}, "onLowMemory"=>{"abstract"=>false}, "onMenuItemSelected"=>{"return_type"=>"boolean", "args"=>["int", "android.view.MenuItem"], "abstract"=>false}, "onMenuOpened"=>{"return_type"=>"boolean", "args"=>["int", "android.view.Menu"], "abstract"=>false}, "onNewIntent"=>{"args"=>["android.content.Intent"], "abstract"=>false}, "onOptionsItemSelected"=>{"return_type"=>"boolean", "args"=>["android.view.MenuItem"], "abstract"=>false}, "onOptionsMenuClosed"=>{"args"=>["android.view.Menu"], "abstract"=>false}, "onPanelClosed"=>{"args"=>["int", "android.view.Menu"], "abstract"=>false}, "onPause"=>{"abstract"=>false}, "onPostCreate"=>{"args"=>["android.os.Bundle"], "abstract"=>false}, "onPostResume"=>{"abstract"=>false}, "onPrepareDialog"=>{"args"=>["int", "android.app.Dialog", "android.os.Bundle"], "abstract"=>false}, "onPrepareOptionsMenu"=>{"return_type"=>"boolean", "args"=>["android.view.Menu"], "abstract"=>false}, "onPreparePanel"=>{"return_type"=>"boolean", "args"=>["int", "android.view.View", "android.view.Menu"], "abstract"=>false}, "onRestart"=>{"abstract"=>false}, "onRestoreInstanceState"=>{"args"=>["android.os.Bundle"], "abstract"=>false}, "onResume"=>{"abstract"=>false}, "onRetainNonConfigurationChildInstances"=>{"return_type"=>"java.util.HashMap", "abstract"=>false}, "onRetainNonConfigurationInstance"=>{"return_type"=>"java.lang.Object", "abstract"=>false}, "onSaveInstanceState"=>{"args"=>["android.os.Bundle"], "abstract"=>false}, "onSearchRequested"=>{"return_type"=>"boolean", "abstract"=>false}, "onStart"=>{"abstract"=>false}, "onStop"=>{"abstract"=>false}, "onTitleChanged"=>{"args"=>["java.lang.CharSequence", "int"], "abstract"=>false}, "onTouchEvent"=>{"return_type"=>"boolean", "args"=>["android.view.MotionEvent"], "abstract"=>false}, "onTrackballEvent"=>{"return_type"=>"boolean", "args"=>["android.view.MotionEvent"], "abstract"=>false}, "onUserInteraction"=>{"abstract"=>false}, "onUserLeaveHint"=>{"abstract"=>false}, "onWindowAttributesChanged"=>{"args"=>["android.view.WindowManager$LayoutParams"], "abstract"=>false}, "onWindowFocusChanged"=>{"args"=>["boolean"], "abstract"=>false}}, "android.hardware.SensorEventListener"=>{"onAccuracyChanged"=>{"args"=>["android.hardware.Sensor", "int"], "abstract"=>true}, "onSensorChanged"=>{"args"=>["android.hardware.SensorEvent"], "abstract"=>true}}, "java.lang.Runnable"=>{"run"=>{"abstract"=>true}}, "android.view.View$OnCreateContextMenuListener"=>{"onCreateContextMenu"=>{"args"=>["android.view.ContextMenu", "android.view.View", "android.view.ContextMenu$ContextMenuInfo"], "abstract"=>true}}, "android.view.View$OnClickListener"=>{"onClick"=>{"args"=>["android.view.View"], "abstract"=>true}}, "android.view.View$OnFocusChangeListener"=>{"onFocusChange"=>{"args"=>["android.view.View", "boolean"], "abstract"=>true}}, "android.view.View$OnLongClickListener"=>{"onLongClick"=>{"return_type"=>"boolean", "args"=>["android.view.View"], "abstract"=>true}}, "android.view.View$OnTouchListener"=>{"onTouch"=>{"return_type"=>"boolean", "args"=>["android.view.View", "android.view.MotionEvent"], "abstract"=>true}}, "android.view.View$OnKeyListener"=>{"onKey"=>{"return_type"=>"boolean", "args"=>["android.view.View", "int", "android.view.KeyEvent"], "abstract"=>true}}, "android.widget.AdapterView$OnItemSelectedListener"=>{"onItemSelected"=>{"args"=>["android.widget.AdapterView", "android.view.View", "int", "long"], "abstract"=>true}, "onNothingSelected"=>{"args"=>["android.widget.AdapterView"], "abstract"=>true}}, "android.widget.AdapterView$OnItemLongClickListener"=>{"onItemLongClick"=>{"return_type"=>"boolean", "args"=>["android.widget.AdapterView", "android.view.View", "int", "long"], "abstract"=>true}}, "android.widget.AdapterView$OnItemClickListener"=>{"onItemClick"=>{"args"=>["android.widget.AdapterView", "android.view.View", "int", "long"], "abstract"=>true}}, "android.view.ViewGroup$OnHierarchyChangeListener"=>{"onChildViewAdded"=>{"args"=>["android.view.View", "android.view.View"], "abstract"=>true}, "onChildViewRemoved"=>{"args"=>["android.view.View", "android.view.View"], "abstract"=>true}}, "android.widget.TabHost$TabContentFactory"=>{"createTabContent"=>{"return_type"=>"android.view.View", "args"=>["java.lang.String"], "abstract"=>true}}, "android.widget.TabHost$OnTabChangeListener"=>{"onTabChanged"=>{"args"=>["java.lang.String"], "abstract"=>true}}, "android.widget.TextView$OnEditorActionListener"=>{"onEditorAction"=>{"return_type"=>"boolean", "args"=>["android.widget.TextView", "int", "android.view.KeyEvent"], "abstract"=>true}}, "android.widget.DatePicker$OnDateChangedListener"=>{"onDateChanged"=>{"args"=>["android.widget.DatePicker", "int", "int", "int"], "abstract"=>true}}, "android.widget.TimePicker$OnTimeChangedListener"=>{"onTimeChanged"=>{"args"=>["android.widget.TimePicker", "int", "int"], "abstract"=>true}}, "android.app.DatePickerDialog$OnDateSetListener"=>{"onDateSet"=>{"args"=>["android.widget.DatePicker", "int", "int", "int"], "abstract"=>true}}, "android.app.TimePickerDialog$OnTimeSetListener"=>{"onTimeSet"=>{"args"=>["android.widget.TimePicker", "int", "int"], "abstract"=>true}}, "android.content.DialogInterface$OnKeyListener"=>{"onKey"=>{"return_type"=>"boolean", "args"=>["android.content.DialogInterface", "int", "android.view.KeyEvent"], "abstract"=>true}}, "android.content.DialogInterface$OnMultiChoiceClickListener"=>{"onClick"=>{"args"=>["android.content.DialogInterface", "int", "boolean"], "abstract"=>true}}, "android.content.DialogInterface$OnClickListener"=>{"onClick"=>{"args"=>["android.content.DialogInterface", "int"], "abstract"=>true}}, "android.content.DialogInterface$OnShowListener"=>{"onShow"=>{"args"=>["android.content.DialogInterface"], "abstract"=>true}}, "android.content.DialogInterface$OnDismissListener"=>{"onDismiss"=>{"args"=>["android.content.DialogInterface"], "abstract"=>true}}, "android.content.DialogInterface$OnCancelListener"=>{"onCancel"=>{"args"=>["android.content.DialogInterface"], "abstract"=>true}}}, "android.app.Service"=>{"android.app.Service"=>{"dump"=>{"args"=>["java.io.FileDescriptor", "java.io.PrintWriter", "java.lang.String[]"], "abstract"=>false}, "finalize"=>{"abstract"=>false}, "onBind"=>{"return_type"=>"android.os.IBinder", "args"=>["android.content.Intent"], "abstract"=>true}, "onConfigurationChanged"=>{"args"=>["android.content.res.Configuration"], "abstract"=>false}, "onCreate"=>{"abstract"=>false}, "onDestroy"=>{"abstract"=>false}, "onLowMemory"=>{"abstract"=>false}, "onRebind"=>{"args"=>["android.content.Intent"], "abstract"=>false}, "onStart"=>{"args"=>["android.content.Intent", "int"], "abstract"=>false}, "onStartCommand"=>{"return_type"=>"int", "args"=>["android.content.Intent", "int", "int"], "abstract"=>false}, "onUnbind"=>{"return_type"=>"boolean", "args"=>["android.content.Intent"], "abstract"=>false}}}, "android.content.BroadcastReceiver"=>{"android.content.BroadcastReceiver"=>{"checkSynchronousHint"=>{"abstract"=>false}, "onReceive"=>{"args"=>["android.content.Context", "android.content.Intent"], "abstract"=>true}, "peekService"=>{"return_type"=>"android.os.IBinder", "args"=>["android.content.Context", "android.content.Intent"], "abstract"=>false}}}}
|
metadata
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruboto-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Daniel Jackoway
|
14
|
+
- Charles Nutter
|
15
|
+
- Scott Moyer
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
|
20
|
+
date: 2010-07-29 00:00:00 -04:00
|
21
|
+
default_executable: ruboto
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: main
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - "="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 55
|
32
|
+
segments:
|
33
|
+
- 4
|
34
|
+
- 2
|
35
|
+
- 0
|
36
|
+
version: 4.2.0
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: jruby-jars
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: 3
|
48
|
+
segments:
|
49
|
+
- 1
|
50
|
+
- 5
|
51
|
+
- 0
|
52
|
+
version: 1.5.0
|
53
|
+
type: :runtime
|
54
|
+
version_requirements: *id002
|
55
|
+
description: The core components of Ruby on Android
|
56
|
+
email: ruboto@googlegroups.com
|
57
|
+
executables:
|
58
|
+
- ruboto
|
59
|
+
extensions: []
|
60
|
+
|
61
|
+
extra_rdoc_files: []
|
62
|
+
|
63
|
+
files:
|
64
|
+
- COPYING
|
65
|
+
- Rakefile
|
66
|
+
- README.md
|
67
|
+
- assets/assets/scripts/ruboto.rb
|
68
|
+
- assets/Rakefile
|
69
|
+
- assets/samples/sample_activity.rb
|
70
|
+
- assets/samples/sample_broadcast_receiver.rb
|
71
|
+
- assets/samples/sample_service.rb
|
72
|
+
- assets/src/InheritingActivity.java
|
73
|
+
- assets/src/InheritingBroadcastReceiver.java
|
74
|
+
- assets/src/InheritingService.java
|
75
|
+
- assets/src/org/ruboto/RubotoActivity.java
|
76
|
+
- assets/src/org/ruboto/RubotoBroadcastReceiver.java
|
77
|
+
- assets/src/org/ruboto/RubotoService.java
|
78
|
+
- assets/src/org/ruboto/RubotoView.java
|
79
|
+
- assets/src/org/ruboto/Script.java
|
80
|
+
- bin/ruboto
|
81
|
+
- lib/java_class_gen/callback_reflection.rb
|
82
|
+
- lib/java_class_gen/InheritingClass.java.erb
|
83
|
+
- lib/java_class_gen/interfaces.txt
|
84
|
+
- lib/java_class_gen/RubotoClass.java.erb
|
85
|
+
has_rdoc: true
|
86
|
+
homepage: http://ruboto.org/
|
87
|
+
licenses: []
|
88
|
+
|
89
|
+
post_install_message:
|
90
|
+
rdoc_options: []
|
91
|
+
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
hash: 3
|
100
|
+
segments:
|
101
|
+
- 0
|
102
|
+
version: "0"
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 3
|
109
|
+
segments:
|
110
|
+
- 0
|
111
|
+
version: "0"
|
112
|
+
requirements: []
|
113
|
+
|
114
|
+
rubyforge_project: ruboto-core
|
115
|
+
rubygems_version: 1.3.7
|
116
|
+
signing_key:
|
117
|
+
specification_version: 3
|
118
|
+
summary: Platform for writing Android apps in Ruby
|
119
|
+
test_files: []
|
120
|
+
|