Android Consumer SDK পান৷
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আপনার অ্যান্ড্রয়েড ভোক্তা অ্যাপ্লিকেশানগুলিতে অন-ডিমান্ড ট্রিপের জন্য ভ্রমণগুলি ভাগ করতে, উপভোক্তা SDK ব্যবহার করুন৷ কনজিউমার SDK ব্যবহার করে একটি ট্রিপ অনুসরণ করার বিষয়ে আরও তথ্যের জন্য, Android-এ একটি ট্রিপ অনুসরণ করুন দেখুন।
আপনার Android গ্রাহক অ্যাপের জন্য উপভোক্তা SDK সেট আপ করতে, এই পদক্ষেপগুলি অনুসরণ করুন:
- ন্যূনতম সিস্টেম প্রয়োজনীয়তা পরীক্ষা করুন
- ভোক্তা SDK পান
- একটি Google ক্লাউড কনসোল প্রকল্প কনফিগার করুন
- প্রমাণীকরণ টোকেন পান
- কনজিউমার SDK শুরু করুন
ন্যূনতম সিস্টেম প্রয়োজনীয়তা পরীক্ষা করুন
আপনি যে কনজিউমার SDK ব্যবহার করছেন তার সংস্করণের জন্য ন্যূনতম প্রয়োজনীয়তার জন্য রিলিজ নোটগুলি দেখুন। রিলিজ নোট দেখুন.
কনজিউমার SDK ব্যবহার করতে : আপনার অ্যাপটিকে অবশ্যই minSdkVersion
23 বা তার বেশি টার্গেট করতে হবে।
কনজিউমার SDK ব্যবহার করে এমন একটি অ্যাপ চালানোর জন্য : অ্যান্ড্রয়েড মোবাইল ডিভাইসগুলিকে অবশ্যই নিম্নলিখিত ন্যূনতম প্রয়োজনীয়তাগুলি পূরণ করতে হবে:
Google Maven সংগ্রহস্থল থেকে উপভোক্তা SDK পান
Google Maven সংগ্রহস্থল থেকে ভোক্তা SDK সংস্করণ 2.1.0 এবং পরবর্তী সংস্করণগুলি পান৷ পূর্বে ব্যবহৃত প্রাইভেট রিপোজিটরি চ্যানেল অবমুক্ত করা হয়েছে।
গ্রেডল
আপনার build.gradle
ফাইলে নিম্নলিখিত যোগ করুন:
repositories {
...
google()
}
মাভেন
আপনার pom.xml
ফাইলে নিম্নলিখিত যোগ করুন:
<project>
...
<repositories>
<repository>
<id>google-maven-repository</id>
<url>https://maven.google.com</url>
</repository>
</repositories>
...
</project>
এরপর কি
একটি Google ক্লাউড কনসোল প্রকল্প কনফিগার করুন
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-15 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-15 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Google Maps Platform Consumer SDK enables journey sharing for on-demand trips in Android consumer apps.\u003c/p\u003e\n"],["\u003cp\u003eAndroid apps using the SDK must target minSdkVersion 23 or higher and have Google Play services installed.\u003c/p\u003e\n"],["\u003cp\u003eThe Consumer SDK can be obtained from the Google Maven repository (versions 2.1.0 and later).\u003c/p\u003e\n"],["\u003cp\u003eBefore implementing, ensure the device meets minimum requirements including Android 6.0 (API level 23) or later.\u003c/p\u003e\n"],["\u003cp\u003eNext steps include configuring a Google Cloud Console project and obtaining authentication tokens.\u003c/p\u003e\n"]]],["To share on-demand journeys in Android apps, utilize the Consumer SDK. First, verify the minimum system requirements, which include Android 6.0 (API level 23) or later, and Google Play services. Next, retrieve the Consumer SDK (version 2.1.0 or later) from the Google Maven repository by modifying the `build.gradle` or `pom.xml` file to include the Google repository. Finally, configure a Google Cloud console project. Authentication and SDK initialization are also required.\n"],null,["Select platform: [Android](/maps/documentation/mobility/journey-sharing/on-demand/android/setup \"View this page for the Android platform docs.\") [iOS](/maps/documentation/mobility/journey-sharing/on-demand/ios/setup \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/mobility/journey-sharing/on-demand/javascript/setup \"View this page for the JavaScript platform docs.\")\n\n\u003cbr /\u003e\n\nTo share journeys for on-demand trips in your Android consumer apps, use the\nConsumer SDK. For more information on following a trip using the Consumer SDK,\nsee [Follow a trip in Android](/maps/documentation/mobility/journey-sharing/on-demand).\n| For examples, see [Android sample apps](https://github.com/googlemaps/android-on-demand-rides-deliveries-samples) or [combined samples](https://github.com/googlemaps/on-demand-rides-deliveries-samples) on GitHub.\n\nTo set up the Consumer SDK for your Android consumer app, follow these steps:\n\n1. [Check the minimum system requirements](#check-min)\n2. [Get the Consumer SDK](#maven)\n3. [Configure a Google Cloud console project](/maps/documentation/mobility/journey-sharing/on-demand/android/configure-project)\n4. [Get authentication tokens](/maps/documentation/mobility/journey-sharing/on-demand/android/auth-sdk)\n5. [Initialize the Consumer SDK](/maps/documentation/mobility/journey-sharing/on-demand/android/init-sdk)\n\nCheck the minimum system requirements\n\nSee the release notes for the minimum requirements for the version of the\nConsumer SDK you are using. See [Release notes](/maps/documentation/mobility/services/resources/relnotes_consumer_sdk_android).\n\n**To use the Consumer SDK** : Your app must target `minSdkVersion`\n23 or higher.\n\n**To run an app that uses the Consumer SDK**: Android mobile devices must meet\nthe following minimum requirements:\n\n- Running Android 6.0 (API level\n 23) or later.\n\n- Have [Google Play services](https://developers.google.com/android/guides/overview) installed.\n\nGet the Consumer SDK from the Google Maven repository\n\nGet the Consumer SDK versions 2.1.0 and later from the Google Maven repository.\nThe previously used private repository channel has been deprecated. \n\nGradle\n\nAdd the following to your `build.gradle` file: \n\n repositories {\n ...\n google()\n }\n\nMaven\n\nAdd the following to your `pom.xml` file: \n\n \u003cproject\u003e\n ...\n \u003crepositories\u003e\n \u003crepository\u003e\n \u003cid\u003egoogle-maven-repository\u003c/id\u003e\n \u003curl\u003ehttps://maven.google.com\u003c/url\u003e\n \u003c/repository\u003e\n \u003c/repositories\u003e\n ...\n \u003c/project\u003e\n\nWhat's next\n\n[Configure a Google Cloud Console project](/maps/documentation/mobility/journey-sharing/on-demand/android/configure-project)"]]