This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ・AsyncTaskで処理を実行 | |
// ・ProgressDialogで進行状況を表示 | |
// ・途中キャンセル可能 | |
// | |
// という実装をしたいのだけどどうにもうまく行ってないコード。 | |
// (普通に使う分には問題ないけどonPause時に例外を吐いて落ちる) | |
package com.example.cancelasyncprogress; | |
import android.os.AsyncTask; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# purge-old-kernels - remove old kernel packages | |
# Copyright (C) 2012 Dustin Kirkland <kirkland@ubuntu.com> | |
# | |
# Authors: Dustin Kirkland <kirkland@ubuntu.com> | |
# Kees Cook <kees@ubuntu.com> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |