November 23, 2011

SPPUSH for CyanogenMod

application/vnd.wap.emn+wbxmlなContent TypeのWAP PUSHを受け取った際に、jp.co.nttdocomo.carriermail/.SMSServiceを呼ぶだけの簡単なアプリをマーケットに上げてみた。CM7.2以降じゃないと動きません。理由はこのへん

FreeXperiaProject系のROMだとFXP046以降で動作します。

November 16, 2011

Rendering on Emacs stopped working on GNOME3

It happens after "suspending" from Emacs with C-z or evaluating (suspend-frame) or whatever.  though it still accepts inputs from the keyboard. and still works fine on KDE say. so the problem may be in GNOME perhaps.

If you are facing unfortunately, there are the way to be recovered from this situation; try C-x 5 2 to make an frame. you will get back the well-rendered window there and C-x 5 1 on new frame to get rid of the broken window. it saves you and your modified files.

To avoid this situation forever, I have decided to have an advice for suspend-frame in my .emacs as a workaround like this:

(defadvice suspend-frame (around my-suspend-frame () activate)
  (if (y-or-n-p "frame is gonna iconify ")
      ad-do-it))
Enjoy,