アプリの品質を「良い」「良い」「高い」などのレベルアップ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このドキュメントでは、健康&フィットネス アプリが、開始時の状態から最高水準に至るまでの最適な状態について説明します。時間の経過に伴うアプリのスケーリングや、実装する機能を検討する際に役立つよう設計されています。健康&フィットネスのアプリはそれぞれ異なりますが、最高水準のアプリを実現するには以下の推奨事項を検討してください。
基本的な健康&フィットネス アプリ
基本的な健康&フィットネス アプリには、優れたユーザー エクスペリエンスを提供するために重要な要素があります。これらの重要な要素には、次のようなものがあります。
- ユーザーが求めるエクスペリエンスを実現するために必要な権限のみをリクエストする
- カスタマイズ可能でわかりやすいトラッキング指標が用意されている
- アプリ内コンテンツのブラウジングと検出を提供する
- アプリ内エクササイズ管理の提供
- エクササイズ セッションまたはその他の健康関連の長時間実行タスクをトラッキングする場合。フォアグラウンド サービスを使用して、マニフェスト ファイルで FOREGOUND_SERVICE_HEALTH 権限を宣言している。
- 使いやすいユーザー補助機能を統合
より便利な健康管理アプリ
ユーザーが身体的・精神的に健康管理への取り組みを進めるなかで、より優れた健康&フィットネス アプリのリーチが拡大し始めます。また、既存のソーシャル メディア認証情報とメールアドレスを使用して、簡単にプロフィールを登録できるアプリもあります。
また、より包括的な改善をアプリに組み込むことも、アプリの成長を加速させる優れた方法です。以下の機能はアプリをさらに強化する一つの方法です。
- Wear OS などの 2 つ目のサーフェスの統合(データ収集に Wear OS のヘルスサービスを使用)。Bluetooth Low Energy(BLE)を使用して、周辺機器との間でデータを送受信する
- 周辺機器を接続する場合は、バッテリー使用量を節約します。データを定期的に同期する場合は、CONNECTED_DEVICE フォアグラウンド サービス タイプを使用します。
- Jetpack Glance を使用して、モバイル上でアプリのウィジェットを作成し、ユーザーが進行状況をひと目で追跡できるようにする。見つけやすくするために、ダイナミック カラーの使用、さまざまなフォーム ファクタでの最適化、アプリ内ウィジェット固定 API の利用を検討してください。
- Wear OS をサポートする場合は、タイルまたはウォッチフェイスの追加機能を提供して、スマートウォッチで同様のひと目でわかるエクスペリエンスを実現します。
- クリエイティブな方法でユーザーをスムーズに進めることができる(通知やアクションの提案など)。ユーザーがアプリをよく理解するまで通知プロンプトの表示を待つ、ペア設定したスマートフォンとスマートウォッチで通知ブリッジを使用するなど、通知に関するベスト プラクティスに従ってください。
- 動画コンテンツに字幕を追加する、Wear OS などのセカンダリ サーフェスでのユーザー補助を最適化するなど、あらゆる人のユーザー補助機能を改善する。
- フィットネス アプリの動画コンテンツをキャスト デバイスで再生する
- Google Play 請求サービスを使用してユーザーが定期購入できるようにする
最高水準の健康&フィットネス アプリ
最高水準の健康&フィットネス アプリは、前述の推奨事項に基づいて構築され、シームレスなマルチデバイス エクスペリエンスをユーザーに提供します。以下はその例です。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Improve your app's quality: from good, to better, to best\n\nThis document charts the optimal progression of a health and fitness app from a\nlikely starting place to best-in-class. It's designed to help you think about\nscaling your app over time, and what features to implement. While every health\nand fitness app is different, consider these recommendations to achieve a\nbest-in-class app.\n\nBasic health and fitness app\n----------------------------\n\nThere are key elements that a basic health and fitness app requires in order to\nprovide a great foundational experience for users. Some of those key elements\ninclude doing the following:\n\n- Requesting only the necessary permissions to fulfill the experience that the user wants\n- Offering tracking metrics that are customizable and easy to understand\n- Offering in-app content browsing and discovery\n- Offering in-app exercise controls\n- If tracking an exercise session or other health-related long-running task, using a foreground service and declaring the [FOREGOUND_SERVICE_HEALTH](/about/versions/14/changes/fgs-types-required#health) permission in the manifest file.\n- Integrating easy-to-use, [accessibility features](/guide/topics/ui/accessibility)\n\nBetter health and fitness app\n-----------------------------\n\nA better health and fitness app will start to grow its reach, once a user has\nphysically and mentally made progress along their health journey. A better app\nalso allows a user to easily register for a profile with the use of existing\nsocial media credentials and their email.\n\nImplementing more holistic improvements into your app is also an excellent way\nto accelerate its growth. Consider these features as a way to further enhance\nyour app:\n\n- Integrating second surfaces, such as Wear OS (using [Health Services on Wear\n OS](/training/wearables/health-services) for data collection). Use Bluetooth Low Energy (BLE) to send and receive data to and from peripheral devices\n- If connecting peripheral devices, preserve battery usage. If you are periodically syncing data, use the [CONNECTED_DEVICE](/about/versions/14/changes/fgs-types-required#connected-device) foreground service type.\n- Using [Jetpack Glance](/jetpack/compose/glance) to create app [widgets](/develop/ui/views/appwidgets/overview) on mobile to enable users to track progress in a glanceable way. Consider using dynamic color, optimizing across form factors, and taking advantage of in-app widget pinning APIs for better discoverability.\n- If supporting Wear OS, supplying a [tile](/training/wearables/tiles) or [complication](/training/wearables/tiles/complications) to enable similar glanceable experiences on the watch.\n- Offering creative ways to keep a user on track (such as notifications and nudges). Be sure to follow best practices for notifications, including [waiting to show the notification prompt](/develop/ui/views/notifications/notification-permission#best-practices) until the user has had time to familiarize themselves with the app, and using [notification bridging](/training/wearables/notifications/bridger) for paired phones and watches.\n- Improving [accessibility](/guide/topics/ui/accessibility) for all, such as adding [subtitles](/guide/topics/media/exoplayer/media-items#sideloading-subtitle) for video content and optimizing for accessibility on any secondary surfaces, such as [Wear OS](/training/wearables/accessibility).\n- Supporting playback to [Cast](https://developers.google.com/cast/docs/developers) devices for your fitness app's video content\n- Using [Google Play Billing](/google/play/billing) to let users purchase subscriptions\n\nBest-in-class health and fitness app\n------------------------------------\n\nA best-in-class health and fitness app builds on the previous recommendations to\ncreate a seamless multi-device experience for users, which may include:\n\n- Enabling easy sharing of workouts and accomplishments with [Sharesheet](/training/sharing/send)\n- Optimizing for foldables by supporting the [`HALF_OPENED`](/develop/ui/compose/layouts/adaptive/foldables/learn-about-foldables#foldable_postures) [state](/develop/ui/compose/layouts/adaptive/foldables/learn-about-foldables#foldable_postures)\n- Testing and refining voice assistant integrations on mobile, such as with [Google Assistant](/media/implement/assistant)\n- Supporting [Better Together](https://www.android.com/better-together) use cases, such as [Nearby\n Connections](https://developers.google.com/nearby/connections/overview)\n- Investing in seamless identity across surfaces such as [passkeys](/training/sign-in/passkeys), [One\n Tap](https://developers.google.com/identity/one-tap/android/overview), and [account linking](https://developers.google.com/identity/account-linking)\n- Offering [frictionless subscriptions](https://www.youtube.com/watch?v=ARuf97ncE4w)"]]