This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checking for mt... mt | |
checking if mt is a manifest tool... no | |
checking how to run the C preprocessor... gcc -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E/AndroidRuntime(10028): FATAL EXCEPTION: main | |
E/AndroidRuntime(10028): org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `clear' for nil:NilClass | |
E/AndroidRuntime(10028): at org.jruby.RubyBasicObject.method_missing(org/jruby/RubyBasicObject.java:1660) | |
E/AndroidRuntime(10028): at RUBY.method_missing(file:/data/app/com.jonsoft.globalchat-1.apk!/ruboto/base.rb:29) | |
E/AndroidRuntime(10028): at RUBY.reload_list(file:/data/app/com.jonsoft.globalchat-1.apk!/ruboto/widget.rb:171) | |
E/AndroidRuntime(10028): at RUBY.reload_nicks(file:/data/app/com.jonsoft.globalchat-1.apk!/global_chat_controller.rb:123) | |
W/ActivityManager( 308): Force finishing activity com.jonsoft.globalchat/org.ruboto.RubotoActivity | |
W/ActivityManager( 308): Force finishing activity com.jonsoft.globalchat/.ServerList |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-compile: | |
[javac] Compiling 15 source files to /Users/jsilverman2/mdks/GC2-Droid/bin/classes | |
[javac] /Users/jsilverman2/mdks/GC2-Droid/src/org/ruboto/RubotoActivity.java:2328: cannot find symbol | |
[javac] symbol : class ActionMode | |
[javac] location: package android.view | |
[javac] public void onActionModeFinished(android.view.ActionMode mode) { | |
[javac] ^ | |
[javac] /Users/jsilverman2/mdks/GC2-Droid/src/org/ruboto/RubotoActivity.java:2374: cannot find symbol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :boot do | |
puts "booting" | |
`emulator -avd Android_4.1 -partition-size 200 -no-audio -no-boot-anim` | |
end | |
task :off do | |
puts "shutdown" | |
`adb emu kill` | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'ruboto/widget' | |
require 'ruboto/util/toast' | |
require 'server_list_controller' | |
ruboto_import_widgets :Button, :LinearLayout, :TextView, :ListView, :EditText | |
class ServerList | |
# def self.load_preferences |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'ruboto/widget' | |
require 'ruboto/util/toast' | |
require 'server_list_controller' | |
ruboto_import_widgets :Button, :LinearLayout, :TextView, :ListView, :EditText | |
class ServerList | |
def on_create(bundle) | |
super |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@server_list_hash = Net::HTTP.get('nexusnet.herokuapp.com', '/msl'). | |
split("\n"). | |
collect do |s| | |
par = s.split("-!!!-") | |
{:host => par[1], :name => par[0], :port => par[2]} | |
end | |
@names = @server_list_hash.collect { |i| i[:name] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :send_text do | |
# black magic | |
text = ARGV.last | |
require 'socket' | |
ts = TCPSocket.open('localhost', 5554) | |
unless ts.closed? | |
ts.puts("sms send 1231231234 #{text}") | |
end | |
# supplementary magic | |
task text.to_sym do ; end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruboto gen app --package="com.jonsoft.globalchatpacked" --target="android-16" --with-jruby --name="Gc" --activity="ServerList" packed-gc2 | |
ruboto gen app --package="com.jonsoft.globalchatpacked" --target="android-16" --name="Gc" --activity="ServerList" packed-gc2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# hope you're using HAXM | |
task :boot do | |
puts "booting" | |
`emulator -avd Android_4.1` | |
end | |
task :off do | |
puts "shutdown" | |
`taskkill /IM emulator-x86.exe` |