AndroidアプリからHTML5/CSS3/JavaScript。 その他技術的な事について書いてます。 今日は超軽め 前回のリリースで、widget を貼りつける際に必要な設定を IMAP で取得するという機能を入れました。 この時に困ったのが「service の context では progressDialog を 立ち上げられない」という問題。 widget の設定画面は Activity を使って作成する。 でも、getApplicationContext で取得できる context は 通常の Activity で取得できるものと違うらしく、service の context では progressDialog は出せませんよー的なエラーが発生してしまう。 そこで、画面に Ajax load 的なぐるぐるを出したいなぁと思ったわけです。 でも、Android はアニメgif