恵方巻きコンパスを仕上げていく

較正は置いとこう

結局わからんので。音鳴らしたり画像表示したりしてく。

アプリ名を日本語にしたい

https://android.swift-studying.com/entry/20151102/1446464830

あれ、ならない。

http://xn--u9j207iixgbigp2p.xn--tckwe/archives/3659

こっちはなった。

共有ボタン作る

https://dalomo.net/blog/2018/12/16/278/

うむ。

音楽鳴らす

https://dalomo.net/blog/2018/11/27/188/

いぇい。

フルスクリーン全画面にする

https://dalomo.net/blog/2018/12/01/226/#toc2

よいしょー。

恵方の角度に入った時だけImageViewの画像を表示する

if (roundazimuth < 82 && roundazimuth > 68 && !isstarted) {
    startService(BGMintent);
    imageView2.setVisibility(View.VISIBLE);
    isstarted = true;
} else if ((roundazimuth > 82 || roundazimuth < 68) && isstarted) {
    stopService(BGMintent);
    imageView2.setVisibility(View.INVISIBLE);
    isstarted = false;
}

ImageViewにsetVisibilityなるattributesがあったのでそれを使った。方位角の範囲はこれでいいかなぁ?

カテゴリー: したい タグ: , , , パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です