mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-24 04:46:05 +08:00
follow android project changes
This commit is contained in:
@@ -5,7 +5,6 @@ require 'motion/project/template/android'
|
||||
Motion::Project::App.setup do |app|
|
||||
# Use `rake config' to see complete project settings.
|
||||
app.name = 'WebViewDemo'
|
||||
app.main_activity = 'WebViewDemo'
|
||||
app.api_version = '18'
|
||||
app.sdk_path = File.expand_path('~/src/android-sdk-macosx')
|
||||
app.ndk_path = File.expand_path('~/src/android-ndk-r9d')
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class WebViewDemo < Android::App::Activity
|
||||
class MainActivity < Android::App::Activity
|
||||
def onCreate(savedInstanceState)
|
||||
super
|
||||
@handler = Android::Os::Handler.new
|
||||
|
||||
Reference in New Issue
Block a user