のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2014-03-01から1ヶ月間の記事一覧

logcatに、”Dictionary info: dictionary = main:en_us ;”が出続ける。その2

158 // TODO: Move native dict into session 159 private final void loadDictionary(final String path, final long startOffset, 160 final long length, final boolean isUpdatable) { 161 mNativeDict = openNative(path, startOffset, length, isUpdat…

logcatに、”Dictionary info: dictionary = main:en_us ;”が出続ける。その1

Android4.4.2 AOSPでSettingsApp>Language Input>Default English(US) Google keyboardに設定すると以下のLOGが出続ける。 英語キーボード以外にデフォルトを設定するととまる(Japanese IMEにセットすると止まる。)

SparseArray

AndroidのSparseArrayは本当に速いのか測定してみた

xml

Cross Reference: /frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/StackOverflowXmlParser.java

skia cmap その2

skia cmap その2

skia cmapその1

skia cmapその1

TTLibError: bad glyph record (leftover bytes: 4)

別のエラーがでるようになった。 >python2 d:\python27\scripts\ttx DroidSansArmenian.ttf Dumping "DroidSansArmenian.ttf" to "DroidSansArmenian#1.ttx"... Dumping 'GlyphOrder' table... Dumping 'head' table... Dumping 'hhea' table... Dumping 'ma…

TypeError: toXML() takes exactly 3 arguments (4 given) その3

64bit版で動かすとglyphのところで強制終了してしまう。もう一度pythonを入れなおすことにした。 32bit版にした。 python-2.7.6.msi numpy-1.8.0-win32-superpack-python2.7.exe

ImportError: Error importing numpy: you should not try to import numpy from its source directory

ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python intepreter from there.How to import numpy in python shell d:\Users\m_fujii\Downlo…

vc 64bit

"vcvarsall.bat"という名前だと分かった。

dummymodule.obj : error LNK2019: 未解決の外部シンボル __imp__Py_InitModule4 が 関数 _init_dummy で参照されました。

Python extensions for Win64 via GCC >python setup.py install dummymodule.obj : error LNK2019: 未解決の外部シンボル __imp__Py_InitModule4 が 関数 _init_dummy で参照されました。 build\lib.win-amd64-2.7\numpy\core\_dummy.pyd : fatal error LNK…

TypeError: toXML() takes exactly 3 arguments (4 given) その3

def getTableModule(tag): """Fetch the packer/unpacker module for a table. Return None when no module is found. """ import tables pyTag = tagToIdentifier(tag) try: __import__("fontTools.ttLib.tables." + pyTag) except ImportError: <===エラー…

ttx -v font.ttf

Dumping "d:\Roboto-Regular.ttf" to "d:\Roboto-Regular#13.ttx"... Dumping 'GlyphOrder' table... (09:59:44) Reading 'post' table from disk (09:59:44) Decompiling 'post' table (09:59:44) Reading 'maxp' table from disk (09:59:44) Decompiling '…

TypeError: toXML() takes exactly 3 arguments (4 given) その2

その2

ttx その2

ttx その2

ttx その1

ttx その1

ttx -v

>python ttx -v usage: ttx [options] inputfile1 [... inputfileN] TTX 2.4 -- From OpenType To XML And Back If an input file is a TrueType or OpenType font file, it will be dumped to an TTX file (an XML-based text format). If an input file is…

TypeError: toXML() takes exactly 3 arguments (4 given)

Windowsでttxを実行したら以下のエラーになった。 ttxはV2.4。

dialogfragment

Using DialogFragment 揃 thecodepath/android_guides Wiki 揃 GitHubOncreateDialog OnCreateView Custom Layout for DialogFragment OnCreateView vs. OnCreateDialog Android DialogFragmentを使うときの注意点。 DialogFragmentの回転 [Android]DialogFr…

DialogFragmentの回転

dialogfragmentで回転すると、死ぬ。 FATAL EXCEPTION: main Process: jp.co.android.eval, PID: 8580 java.lang.RuntimeException: Unable to start activity ComponentInfo {jp.co.android.eval/jp.co.android.eval.MainActivity}: android.app.Fragment$I…

number picker dialog

Android - NumberPickerダイアログのカスタマイズ - Qiita

DELL U2713H

DELL U2713を購入した。 画面が広くなっていい(2560x1440)。置き場所のサイズは、24インチとそれほど変わらなかった。Dell ディスプレイ モニター U2713H 27インチ/WQHD/IPS非光沢/6ms/DVI(DL),HDMI.DPx2(MST)/AdobeRGB 99%/USBハブ/3年間保証出版社/メ…

Skypeへの招待方法

相手がSkypeアカウントを取得していないと誘えないようです。 1:メニュー>連絡先リスト>連絡先の追加>Skypeディレクトリを検索をクリックする。 2:”名前、Skype名、またはメールアドレス”で相手を検索する。 3:相手が検索されたら、連絡先追加のリ…

Chromeからはてな日記へ記事をかけない

ログインをクリックし、アカウントとパスワードを入れた後、はてなダイアリーのトップへ飛ばされてしまう。 右上の記事を書くをクリックすると、ログインされてない状態で自分のはてな日記のトップへ飛ぶ。Safariで開いてみたが、正常に開ける。 Chromeのク…

16進表示

String codeText = Integer.toHexString(code & 0xffff);

ADT22.6で新規プロジェクトを作成したのに、Activityのソースができない。

ADT22.6でActivityのソースができない。 No repository found error Adt doesn't create default hello world but command line does

ロジクールのヘッドセットをH800を購入、結構いい感じ

ロジクールのヘッドセットH800を買った。 Bluetoothと無線(2.4GHz)の2つの方法で接続できます。 充電はUSBケーブルで充電します。ひとつ気になったことは、Windowsのデバイスのテストのとき、右側にノイズがのりました。 通常に使用するときは、ノイズがな…

handlemessage

android - How to handle Handler messages when activity/fragment is paused - Stack Overflow

dialogfragment

Kojionilk Blog - DialogFragment

DialogFragment

DialogFragmentの落とし穴にはまらないための方法