Android Unit Testing: JVM and Mocking Patterns 8 Nov 2023 Post a Comment M obile application stability is often compromised by the complexity of the Android lifecycle and the tight coupling between UI components and busin… AndroidCI/CDClean ArchitectureCoroutinesenJUnit5KotlinMockKTestabilityUnit Testing
Android Jsoupスクレイピング: 画像収集アプリのアーキテクチャと非同期処理 5 Sep 2023 Post a Comment モ バイルアプリケーション開発において、公式APIが存在しないデータソースへのアクセスが必要となるケースは少なくありません。レガシーシステムの統合や、サードパーティのデータ収集において、HTML解析(スクレイピング)は依然として有効な選択肢の一つです。本稿では、Androidプラットフォーム上で… AndroidArchitectureAsynchronous ProgrammingCoroutinesjaJsoupKotlinWeb Scraping
Kotlin Coroutines/Flowの実践的設計パターンと並行性制御 17 Aug 2023 Post a Comment 現 代のアプリケーション開発において、メインスレッド(UIスレッド)のブロッキングは許容されないリスクです。ネットワークリクエスト、データベースI/O、あるいは高負荷な計算処理は、適切にオフロードされなければなりません。かつてAndroidやJVMバックエンド開発では、Callback地獄やRx… AndroidAsynchronous ProgrammingConcurrencyCoroutinesFlowjaKotlin
AWS IoT MQTTコールバック内切断の設計と実装 9 Jun 2023 Post a Comment A WS IoT Coreを利用したAndroidアプリケーション開発において、特定のMQTTメッセージ受信をトリガーとして接続を切断したいという要件は頻出します。しかし、`subscribeToTopic`のコールバック内で単純に`disconnect()`メソッドを呼び出すと、アプリケーションはクラッシュし、例外コード 32107 (Disconnecting from a callba… AndroidAWS IoTConcurrencyCoroutinesjaKotlinMQTT