2019-01-01から1年間の記事一覧
Google API を OAuth 認証で使うために、Google API Console で、次の設定を行った。 1. 認証情報のページを表示 2. 認証情報を新規作成 3. OAuth クライアント ID の作成 4. アプリケーションの種類の設定 5. JavaScript 生成元とリダイレクト URI の設定 …
Xcode 11 で作成した Mac アプリケーションでは、applicationWillTerminate と applicationShouldTerminate が呼ばれないことに気が付いた。 ファイルをドロップしたりすると、呼ばれる場合がある。 これらが呼ばれないと、アプリケーション終了時にデータを…
参考として、iOS の定期購読のリジェクト事例を紹介する。 従来、承認されていた iOS アプリのアップデイトが次の理由でリジェクトされた。 Guideline 3.1.2 - Business - Payments - Subscriptions We noticed that one or more of your auto-renewable sub…
MobileVLCKit (Version 3.1.0) で音声を消す場合のコード VLCMediaPlayer *_mediaPlayer = [[VLCMediaPlayer alloc] init]; _mediaPlayer.audio.muted = YES; // 音声を消す
多分、Android SDK Build-Tools を r29 にアップデイトしたことが原因で、スクリーンショットを撮る際、次のエラーになるようになった。 Unexpected error while obtaining screenshot from device: EOF次の対策で、この問題が解決した。1. Android Studio …
今年(2019年)の第29回世界コンピュータ将棋選手権の棋譜296局の戦型を分析しました。第29回世界コンピュータ将棋選手権の戦型分析 1.棋譜の入手 棋譜ファイルは、次の CSA のサイトから入手できます。 www2.computer-shogi.org•第29回 (2019年5月3,4,5日…
MobileVLCKit 3.1.2 で RTMP の動画を再生すると、フリーズする。 3.1.0 では、問題がない。参考サイト: code.videolan.org
iOSアプリのアップデイトが次の理由でリジェクトされた。 We discovered that your app contains obfuscated code, selector mangling, or features meant to subvert the App Review process by changing this app's concept after approval to the App Sto…
リリースビルドを作成しようとしたら、次のエラーが起きた。 This should not happen under normal circumstances, please file an issue if it does. ...Gradle Plugin 3.3.2 で、2MB以上の大きさの画像を使うときに起きる Gradle Plugin のバグらしい。 次…
次のエラーが起きた。 ERROR: The versions of the Android Gradle plugin and Gradle are not compatible. Please do one of the following: Update your plugin to version 2.4. This will require changes to build.gradle due to API changes.そのため、…
Xcode が 10.2 にアップデイトされ、それでアプリをリリースしたところ、一部の機種で動作が異常になった。 問題を確認できた機種は、iPhone 4s や iPad 3代目である。恐らく、32bit CPU の機種だろうと思われる。 ソースを変更していない部分で起きた問題…
Android で ScrollView を単純に2重に使った場合、一方しかスクロールしないようだ。 NestedScrollView で、2重にスクロール可能となった。 ScrollView では setScrollbarFadingEnabled が使えたが、NestedScrollView では、NullPointerException が発生し…
昨年12月に公開された AlphaZero の棋譜100局の戦型を分析しました。AlphaZero の棋譜の戦型分析 1.AlphaZero が先手 前回の記事(次)で書いたように、AlphaZero が先手の場合、初手は▲2六歩と▲7八金だけで、49勝1敗です。ykakinoki.hateblo.jp 次の手 …