While developing your app, use the tools available to run Android Auto and Android Automotive OS:
- See Test your app using the Desktop Head Unit for details on how to install and use the Desktop Head Unit to run Android Auto apps.
- See Test your app using the Android Automotive OS emulator for details on how to install and run Android Automotive OS images.
- See Test using Android Automotive OS on Pixel Tablet for details on how to install Android Automotive OS on a Pixel Tablet. Certain images also support use as an Android Auto receiver.
- See Access Android Automotive OS devices through Firebase Test Lab for details on how to test on real car hardware using Firebase Test Lab.
- See Test interoperability with Google Services on how to test the interoperability of Gemini or Google Assistant and Google Maps with custom apps on Android Automotive OS.
আসল যানবাহনে পরীক্ষা করুন
আসল যানবাহনে আপনার অ্যাপ পরীক্ষা করার জন্য, আপনাকে অবশ্যই এটি গুগল প্লে-এর মতো একটি বিশ্বস্ত উৎস থেকে ইনস্টল করতে হবে, তবে 'অজানা উৎসের অনুমতি দিন' অংশে বিস্তারিত একটি ব্যতিক্রম রয়েছে। গুগল প্লে-এর পর্যালোচনা প্রক্রিয়ার মধ্য দিয়ে না গিয়েই আপনি ডিভাইসগুলিতে আপনার অ্যাপ বিতরণ করতে ইন্টারনাল অ্যাপ শেয়ারিং বা একটি ইন্টারনাল টেস্ট ট্র্যাক ব্যবহার করতে পারেন।
অজানা উৎসকে অনুমতি দিন
অ্যান্ড্রয়েড অটোতে একটি ডেভেলপার অপশন আছে, যা আপনাকে বিশ্বস্ত উৎস থেকে ইনস্টল করা হয়নি এমন অ্যাপও চালানোর অনুমতি দেয়। এই সেটিংটি মিডিয়া , মেসেজিং নোটিফিকেশন এবং পার্কড অ্যাপের ক্ষেত্রে প্রযোজ্য, কিন্তু ‘অ্যান্ড্রয়েড ফর কারস অ্যাপ লাইব্রেরি’ ব্যবহার করে তৈরি অ্যাপের ক্ষেত্রে প্রযোজ্য নয়।
অ্যান্ড্রয়েড অটো ডেভেলপার মোড সক্রিয় করুন
In addition to the Android developer options , which you can use on both Android Auto and Android Automotive OS, Android Auto has its own developer mode. To enable it, follow these steps:
অ্যান্ড্রয়েড অটো সেটিংস খুলুন।
- Android 10 (API level 29) or higher: on the device, tap Settings > Apps & notifications > See all apps > Android Auto > Advanced > Additional settings in the app .
- Android 9 (API level 28) or lower: in the Android Auto app, tap the menu, then tap Settings .
Go to the About section near the bottom and tap Version to display the version and permission information.
Tap the Version and permission info section 10 times.
‘ডেভেলপমেন্ট সেটিংসের অনুমতি দেবেন? ’ ডায়ালগ বক্সটি প্রদর্শিত হয়।
OK চাপুন।
আপনি ডেভেলপার মোড চালু করেছেন এবং ওভারফ্লো মেনুতে ডেভেলপার অপশনগুলো অ্যাক্সেস করতে পারবেন। আপনাকে শুধু একবারই ডেভেলপার মোড চালু করতে হবে। ডেভেলপার মোড থেকে বের হতে, অ্যাপ বারের ড্রপ-ডাউন মেনু থেকে অপশনটি ব্যবহার করুন।
মিডিয়া অ্যাপের জন্য অতিরিক্ত পরীক্ষার প্রয়োজনীয়তা
If you're testing a media app , test for the scenarios covered in this section in addition to testing your app on Android Auto, Android Automotive OS, or both.
MediaBrowserService স্টার্টআপ সিনারিও পরীক্ষা করুন
চালক ও যাত্রীদের নিরাপদ রাখতে, গাড়ি চালানোর সময় ব্যবহারকারীরা কীভাবে অ্যাপ ব্যবহার করতে পারবেন, তার উপর অতিরিক্ত বিধিনিষেধ রয়েছে। এই কারণে, অ্যান্ড্রয়েড অটো এবং অ্যান্ড্রয়েড অটোমোটিভ ওএস-এ MediaBrowserService স্টার্টআপ সিনারিও রয়েছে, যা আপনার অ্যাপকে অবশ্যই পরিচালনা করতে হবে।
Test your app to make sure it can handle each of the following scenarios:
- The
MediaBrowserServiceruns before anyActivityopens. - The
MediaBrowserServiceruns when noActivitycan be shown. - The
MediaBrowserServiceruns when the user isn't signed in.
While testing for these scenarios, be sure to try the following methods:
- অ্যাপটি জোর করে বন্ধ করুন এবং তারপর চালু করুন।
- অ্যাপের ডেটা মুছে ফেলুন এবং তারপর এটি চালু করুন।
Also make sure to set an appropriate error message when necessary.
মিডিয়া কন্ট্রোলার টেস্ট অ্যাপটি ব্যবহার করুন
মিডিয়া কন্ট্রোলার টেস্ট অ্যাপটি আপনাকে অ্যান্ড্রয়েডে মিডিয়া প্লেব্যাকের সূক্ষ্ম বিষয়গুলো পরীক্ষা করতে এবং আপনার মিডিয়া সেশন বাস্তবায়ন যাচাই করতে সাহায্য করে। এই টুলটি ব্যবহার শুরু করতে, “মিডিয়া কন্ট্রোলার টেস্ট অ্যাপের ব্যবহার” দেখুন।