のねのBlog

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

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

getactivity

android - DialogFragment Orientation Change Crash with getActivity() - Stack Overflow

dialogfragment

夜でもアッサム: DialogFragmentの落とし穴にはまらないための方法

dialogfragment

ケーワン・エンタープライズのエンジニアメモ(`・ω・´)ゞビシッ!!: Fragmentを使ってみる(画面回転時のライフサイクルについて)

dialog

【Android】DialogFragmentを使ってみる - Furudateのブログ

handleMessage

76 private CrashRecoveryHandler(Controller controller) { 77 mController = controller; 78 mContext = mController.getActivity().getApplicationContext(); 79 mForegroundHandler = new Handler(); 80 mBackgroundHandler = new Handler(BackgroundHan…

handleMessage

39 private static Handler mHandler = new Handler() { 40 @Override 41 public void handleMessage(Message msg) { 42 switch (msg.what) { 43 case MSG_LONGPRESS_TIMEOUT: 44 if (!mLaunched) { 45 Context context = (Context)msg.obj; 46 Intent i = n…

Type [Accessibility] Missing contentDescription attribute

Image Viewタグの中にcontentDescriptionという属性を加えてあげれば良いみたいです。 android:contentDescription=”@string/desc”

SkPictureRecord

この辺とおるのかな? external/skia/src/core/SkPictureRecord.cpp 564 void SkPictureRecord::drawPosText(const void* text, size_t byteLength, 565 const SkPoint pos[], const SkPaint& paint) { 566 size_t points = paint.countText(text, byteLengt…

JB43R11 saveViewState その4

その4

JB43R11 saveViewState その3

その3

JB43R11 saveViewState その2

その2

JB43R11 Save for offline readings

MENU>Save for offline readingをクリックすると以下の処理を通る。

http://tools.oesf.biz/android-4.4.2_r1.0/xref/external/chromium_org/third_party/WebKit/Source/wtf/unicode/icu/UnicodeIcu.h#CharCategory

Cross Reference: /external/chromium_org/third_party/WebKit/Source/wtf/unicode/icu/UnicodeIcu.h

Android Compatibility

Android Compatibility Downloads

メモ

if ((width != 0) && (height != 0)) { if ((this.mFixWidthFlag) && (width < (mW*2))) { canvas.drawText(text, 0, end, (float)sx, (float)sy, mPaint); } else { int alpha = 0x40; mPaint.setColor(Color.argb(alpha, 0, 0xff, 0)); canvas.drawCircle(…

AndroidCharacter

int eaw = AndroidCharacter.getEastAsianWidth(code); switch(eaw) { case AndroidCharacter.EAST_ASIAN_WIDTH_NEUTRAL: case AndroidCharacter.EAST_ASIAN_WIDTH_FULL_WIDTH: case AndroidCharacter.EAST_ASIAN_WIDTH_HALF_WIDTH: case AndroidCharacter.E…

TemplateUrlService

74 private TemplateUrlService() { 75 // Note that this technically leaks the native object, however, TemlateUrlService 76 // is a singleton that lives forever and there's no clean shutdown of Chrome on Android これは技術的にはネイティブオ…