前はhtmlの背景色とかをいじれば良かったが 今は WebView webView = new WebView(hoge); webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); しないといけない。 レイアウトだと <WebView android:layerType="software" /> こういう指定 API Level11以降の変更らしい。前のも対応するときは判定が要るかも
まずGtk2, WebKitが要る Gtk2 sudo apt-get install libgtk2.0-dev sudo gem install gtk2 WebKit sudo apt-get install libwebkit-dev git clone https://github.com/magec/rbwebkitgtk cd rbwebkitgtk && ruby extconf.rb && make && sudo make install screenshot.rb # -*- encoding: UTF-8 -*- require 'rubygems' require 'open-uri' require 'gtk2/base.rb' require 'webkit' require 'timeout' class Screen < Gtk::Window def i
いろいろあるらしいが DB.create_table? :threads do primary_key :id String :title DateTime :created_at, :null => false, :default => Sequel::CURRENT_TIMESTAMP end でいける。create_table?と?をつけると、存在しない時だけ作成するようになる mysqlでdb作ってサンプルを実行しても LoadError: cannot load such file -- mysql (Sequel::AdapterNotFound) が出るので、とりあえずmysql2をgemでインスコしようとしたらエラー出た http://qiita.com/s_osa/items/34d1814b5b213ca29af7 の通り sudo apt-get install li
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く