Navigation SDK برای نمونه کدهای اندروید
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
مخزن نمونههای Navigation SDK برای اندروید در GitHub شامل برنامههای نمونهای است که استفاده از SDK را نشان میدهند. می توانید برنامه ها را وارد کنید و بسازید، کلید API خود را اضافه کنید، نسخه نمایشی را مشاهده کنید و از کد نمونه ارائه شده به عنوان نقطه شروع برای برنامه خود استفاده کنید. مخزن شامل دو برنامه نمونه است:
- Map-sample ، ویترینی از MapView و NavView UI:
android-navigation-samples/map-sample/
- ناوبری-نمونه ، تجربه اساسی ناوبری:
android-navigation-samples /navigation-sample/
برای اطلاعات بیشتر درباره اجرای برنامههای نمونه، نسخه آزمایشی را امتحان کنید .
Navigation SDK برای Android Codelab
برای یادگیری نحوه استفاده از Navigation SDK با ساخت یک برنامه ساده Android، به Navigation SDK for Android Codelab مراجعه کنید. Codelab یک راهنمای گام به گام برای پیاده سازی SDK با استفاده از Kotlin ارائه می دهد.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe Navigation SDK for Android provides sample apps on GitHub that demonstrate the use of the SDK, allowing developers to import, build, and explore the code.\u003c/p\u003e\n"],["\u003cp\u003eThe repository features two key samples: "Map-sample" focusing on MapView and NavView UI, and "Navigation-sample" showcasing the core navigation experience.\u003c/p\u003e\n"],["\u003cp\u003eA dedicated Codelab offers a step-by-step guide to build a simple Android app using the Navigation SDK with Kotlin, aiding developers in practical implementation.\u003c/p\u003e\n"]]],[],null,["# Navigation SDK for Android code samples\n\nThe Navigation SDK for Android [samples repository on\nGitHub](https://github.com/googlemaps-samples/android-navigation-samples)\nincludes sample apps that demonstrate the use of the SDK. You can import and\nbuild the apps, add your API key, view the demo, and use the sample code\nsupplied as a starting point for your app. The repository contains two sample\napps:\n\n- **Map-sample** , a showcase of the MapView and NavView UI: `android-navigation-samples/map-sample/`\n- **Navigation-sample** , The fundamental navigation experience: `android-navigation-samples /navigation-sample/`\n\nFor more information about running the sample apps, see [Try the\ndemo](/maps/documentation/navigation/android-sdk/try-demo).\n\nNavigation SDK for Android Codelab\n----------------------------------\n\nTo learn how to use the Navigation SDK by building a simple Android app, see the\n[Navigation SDK for Android\nCodelab](https://codelabs.developers.google.com/codelabs/maps-platform/navigation-sdk-101-android).\nThe Codelab provides a step-by-step guide for implementing the SDK using Kotlin."]]