অ্যান্ড্রয়েড 5.1 সামঞ্জস্যের সংজ্ঞা

সুচিপত্র

1। পরিচিতি

2. ডিভাইসের ধরন

2.1 ডিভাইস কনফিগারেশন

3. সফটওয়্যার

3.1। পরিচালিত API সামঞ্জস্য

3.2। সফট এপিআই সামঞ্জস্য

3.2.1। অনুমতি

3.2.2। প্যারামিটার তৈরি করুন

3.2.3। অভিপ্রায় সামঞ্জস্য

3.2.3.1। মূল আবেদন উদ্দেশ্য

3.2.3.2। অভিপ্রায় ওভাররাইড করে

3.2.3.3। অভিপ্রায় নামস্থান

3.2.3.4। সম্প্রচার অভিপ্রায়

3.2.3.5। ডিফল্ট অ্যাপ সেটিংস

3.3। নেটিভ API সামঞ্জস্য

3.3.1। অ্যাপ্লিকেশন বাইনারি ইন্টারফেস

3.3.2। 32-বিট এআরএম নেটিভ কোড সামঞ্জস্য

3.4। ওয়েব সামঞ্জস্যতা

3.4.1। WebView সামঞ্জস্যতা

3.4.2। ব্রাউজার সামঞ্জস্য

3.5। API আচরণগত সামঞ্জস্য

3.6। API নামস্থান

3.7। রানটাইম সামঞ্জস্য

3.8। ইউজার ইন্টারফেস সামঞ্জস্য

3.8.1। লঞ্চার (হোম স্ক্রীন)

3.8.2। উইজেট

3.8.3। বিজ্ঞপ্তি

3.8.4। অনুসন্ধান করুন

3.8.5। টোস্ট

3.8.6। থিম

3.8.7। লাইভ ওয়ালপেপার

3.8.8। কার্যকলাপ স্যুইচিং

3.8.9। ইনপুট ম্যানেজমেন্ট

3.8.10। লক স্ক্রীন মিডিয়া কন্ট্রোল

3.8.11। স্বপ্ন

3.8.12। অবস্থান

3.8.13। ইউনিকোড এবং ফন্ট


3.9। ডিভাইস প্রশাসন

3.10। অ্যাক্সেসযোগ্যতা

3.11। টেক্সট-টু-স্পিচ

3.12। টিভি ইনপুট ফ্রেমওয়ার্ক

4. অ্যাপ্লিকেশন প্যাকেজিং সামঞ্জস্য

5. মাল্টিমিডিয়া সামঞ্জস্য

5.1। মিডিয়া কোডেক

5.1.1। অডিও কোডেক

5.1.2। ইমেজ কোডেক

5.1.3। ভিডিও কোডেক

5.2। ভিডিও এনকোডিং

5.3। ভিডিও ডিকোডিং

5.4। অডিও রেকর্ডিং

5.4.1। কাঁচা অডিও ক্যাপচার

5.4.2। ভয়েস রিকগনিশনের জন্য ক্যাপচার করুন

5.4.3। প্লেব্যাকের পুনরায় রাউটিংয়ের জন্য ক্যাপচার করুন

5.5। অডিও প্লেব্যাক

5.5.1। কাঁচা অডিও প্লেব্যাক

5.5.2। অডিও প্রভাব

5.5.3। অডিও আউটপুট ভলিউম

5.6। অডিও লেটেন্সি

৫.৭। নেটওয়ার্ক প্রোটোকল

৫.৮। নিরাপদ মিডিয়া

6. বিকাশকারীর সরঞ্জাম এবং বিকল্পগুলির সামঞ্জস্য

6.1। ডেভেলপার টুলস

6.2। বিকাশকারী বিকল্প

7. হার্ডওয়্যার সামঞ্জস্য

7.1। ডিসপ্লে এবং গ্রাফিক্স

7.1.1। স্ক্রিন কনফিগারেশন

7.1.1.1। পর্দার আকার

7.1.1.2। স্ক্রীন অ্যাসপেক্ট রেশিও

7.1.1.3। পর্দার ঘনত্ব

7.1.2। ডিসপ্লে মেট্রিক্স

7.1.3। স্ক্রিন ওরিয়েন্টেশন

7.1.4। 2D এবং 3D গ্রাফিক্স ত্বরণ

7.1.5। লিগ্যাসি অ্যাপ্লিকেশন সামঞ্জস্য মোড

7.1.6। স্ক্রিন প্রযুক্তি

7.1.7। সেকেন্ডারি ডিসপ্লে

7.2। ইনপুট ডিভাইস

7.2.1। কীবোর্ড

7.2.2। নন-টাচ নেভিগেশন

7.2.3। নেভিগেশন কী

7.2.4। টাচস্ক্রিন ইনপুট

7.2.5। জাল স্পর্শ ইনপুট

7.2.6। গেম কন্ট্রোলার সাপোর্ট

7.2.6.1। বোতাম ম্যাপিং

7.2.7। দূরবর্তী নিয়ন্ত্রণ

7.3। সেন্সর

7.3.1। অ্যাক্সিলোমিটার

7.3.2। ম্যাগনেটোমিটার

7.3.3। জিপিএস

7.3.4। জাইরোস্কোপ

7.3.5। ব্যারোমিটার

7.3.6। থার্মোমিটার

7.3.7। ফটোমিটার

7.3.8। নৈকট্য সেন্সর

7.4। ডেটা সংযোগ

7.4.1। টেলিফোনি

7.4.2। IEEE 802.11 (ওয়াই-ফাই)

7.4.2.1। ওয়াই - ফাই ডিরেক্ট

7.4.2.2। Wi-Fi টানেলযুক্ত ডাইরেক্ট লিঙ্ক সেটআপ

7.4.3। ব্লুটুথ

7.4.4। নিয়ার-ফিল্ড কমিউনিকেশনস

7.4.5। ন্যূনতম নেটওয়ার্ক ক্ষমতা

7.4.6। সিঙ্ক সেটিংস

7.5। ক্যামেরা

7.5.1। রিয়ার-ফেসিং ক্যামেরা

7.5.2। ফ্রন্ট-ফেসিং ক্যামেরা

7.5.3। বাহ্যিক ক্যামেরা

7.5.4। ক্যামেরা API আচরণ

7.5.5। ক্যামেরা ওরিয়েন্টেশন

7.6। মেমরি এবং স্টোরেজ

7.6.1। ন্যূনতম মেমরি এবং স্টোরেজ

7.6.2। অ্যাপ্লিকেশন শেয়ার্ড স্টোরেজ

7.7। ইউএসবি

7.8। শ্রুতি

7.8.1। মাইক্রোফোন

7.8.2। অডিও আউটপুট

7.8.2.1। এনালগ অডিও পোর্ট

8. কর্মক্ষমতা সামঞ্জস্য

8.1। ব্যবহারকারীর অভিজ্ঞতার ধারাবাহিকতা

8.2। মেমরি কর্মক্ষমতা

9. নিরাপত্তা মডেল সামঞ্জস্য

9.1। অনুমতি

9.2। ইউআইডি এবং প্রক্রিয়া বিচ্ছিন্নতা

9.3। ফাইল সিস্টেম অনুমতি

9.4। বিকল্প মৃত্যুদন্ড পরিবেশন

9.5। মাল্টি-ইউজার সাপোর্ট

9.6। প্রিমিয়াম এসএমএস সতর্কতা

৯.৭। কার্নেল নিরাপত্তা বৈশিষ্ট্য

৯.৮। গোপনীয়তা

9.9। ফুল-ডিস্ক এনক্রিপশন

9.10। যাচাইকৃত বুট

10. সফ্টওয়্যার সামঞ্জস্য পরীক্ষা

10.1। সামঞ্জস্য পরীক্ষা স্যুট

10.2। CTS যাচাইকারী

11. আপডেটযোগ্য সফটওয়্যার

12. ডকুমেন্ট চেঞ্জলগ

13. আমাদের সাথে যোগাযোগ করুন

14. সম্পদ

1। পরিচিতি

এই দস্তাবেজটি Android 5.1 এর সাথে সামঞ্জস্যপূর্ণ ডিভাইসগুলির জন্য প্রয়োজনীয় প্রয়োজনীয়তাগুলিকে গণনা করে৷

"অবশ্যই", "অবশ্যই নয়", "প্রয়োজনীয়", "করতে হবে", "উচিত নয়", "উচিত নয়", "প্রস্তাবিত", "মেয়", এবং "ঐচ্ছিক"-এর ব্যবহার IETF অনুযায়ী RFC2119 [ সম্পদ, 1 ] এ সংজ্ঞায়িত মান।

এই নথিতে যেমন ব্যবহার করা হয়েছে, একজন "ডিভাইস ইমপ্লিমেন্টার" বা "বাস্তবায়নকারী" হল একজন ব্যক্তি বা সংস্থা যা Android 5.1 চালিত একটি হার্ডওয়্যার/সফ্টওয়্যার সমাধান তৈরি করে। একটি "ডিভাইস বাস্তবায়ন" বা "বাস্তবায়ন হল হার্ডওয়্যার/সফ্টওয়্যার সমাধান তাই উন্নত।

অ্যান্ড্রয়েড 5.1 এর সাথে সামঞ্জস্যপূর্ণ বলে বিবেচিত হতে, ডিভাইস বাস্তবায়নকে অবশ্যই এই সামঞ্জস্যতার সংজ্ঞায় উপস্থাপিত প্রয়োজনীয়তাগুলি পূরণ করতে হবে, রেফারেন্সের মাধ্যমে অন্তর্ভুক্ত করা যেকোনো নথি সহ।

যেখানে এই সংজ্ঞা বা বিভাগ 10- এ বর্ণিত সফ্টওয়্যার পরীক্ষাগুলি নীরব, অস্পষ্ট বা অসম্পূর্ণ, সেখানে বিদ্যমান বাস্তবায়নের সাথে সামঞ্জস্যতা নিশ্চিত করা ডিভাইস বাস্তবায়নকারীর দায়িত্ব৷

এই কারণে, অ্যান্ড্রয়েড ওপেন সোর্স প্রকল্প [ সম্পদ, 2 ] হল অ্যান্ড্রয়েডের রেফারেন্স এবং পছন্দসই বাস্তবায়ন। Android ওপেন সোর্স প্রজেক্ট থেকে উপলব্ধ "আপস্ট্রিম" সোর্স কোডের উপর সম্ভাব্য সর্বাধিক পরিমাণে তাদের বাস্তবায়নের ভিত্তি করার জন্য ডিভাইস বাস্তবায়নকারীদের দৃঢ়ভাবে উত্সাহিত করা হয়। যদিও কিছু উপাদান অনুমানমূলকভাবে বিকল্প বাস্তবায়নের সাথে প্রতিস্থাপিত হতে পারে এই অনুশীলনটি দৃঢ়ভাবে নিরুৎসাহিত করা হয়, কারণ সফ্টওয়্যার পরীক্ষায় উত্তীর্ণ হওয়া যথেষ্ট কঠিন হয়ে উঠবে। সামঞ্জস্য পরীক্ষা স্যুট সহ এবং এর বাইরেও আদর্শ Android বাস্তবায়নের সাথে সম্পূর্ণ আচরণগত সামঞ্জস্য নিশ্চিত করা বাস্তবায়নকারীর দায়িত্ব। পরিশেষে, মনে রাখবেন যে কিছু উপাদান প্রতিস্থাপন এবং পরিবর্তনগুলি এই নথি দ্বারা স্পষ্টভাবে নিষিদ্ধ।

অধ্যায় 14- এ তালিকাভুক্ত অনেক সংস্থানই প্রত্যক্ষ বা পরোক্ষভাবে Android SDK থেকে প্রাপ্ত, এবং সেই SDK-এর ডকুমেন্টেশনের তথ্যের সাথে কার্যকরীভাবে অভিন্ন হবে৷ যে কোনও ক্ষেত্রে যেখানে এই সামঞ্জস্যতার সংজ্ঞা বা সামঞ্জস্য পরীক্ষা স্যুট SDK ডকুমেন্টেশনের সাথে একমত নয়, SDK ডকুমেন্টেশনকে প্রামাণিক হিসাবে বিবেচনা করা হয়। ধারা 14- এ অন্তর্ভুক্ত রেফারেন্সে প্রদত্ত যেকোন প্রযুক্তিগত বিশদ এই সামঞ্জস্যতার সংজ্ঞার অংশ হিসাবে অন্তর্ভুক্ত করার দ্বারা বিবেচনা করা হয়।

2. ডিভাইসের ধরন

যদিও অ্যান্ড্রয়েড ওপেন সোর্স প্রজেক্টটি বিভিন্ন ধরনের ডিভাইস এবং ফর্ম ফ্যাক্টর বাস্তবায়নে ব্যবহার করা হয়েছে, আর্কিটেকচারের অনেক দিক এবং সামঞ্জস্যের প্রয়োজনীয়তা হ্যান্ডহেল্ড ডিভাইসগুলির জন্য অপ্টিমাইজ করা হয়েছে। অ্যান্ড্রয়েড 5.0 থেকে শুরু করে, অ্যান্ড্রয়েড ওপেন সোর্স প্রজেক্টের লক্ষ্য এই বিভাগে বর্ণিত বিভিন্ন ধরনের ডিভাইসের বিস্তৃত প্রকারকে আলিঙ্গন করা।

অ্যান্ড্রয়েড হ্যান্ডহেল্ড ডিভাইস একটি অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নকে বোঝায় যা সাধারণত এটিকে হাতে ধরে রাখার দ্বারা ব্যবহৃত হয়, যেমন mp3 প্লেয়ার, ফোন এবং ট্যাবলেট। অ্যান্ড্রয়েড হ্যান্ডহেল্ড ডিভাইস বাস্তবায়ন:

  • ডিভাইসে একটি টাচস্ক্রিন এমবেড করা আবশ্যক।
  • একটি শক্তির উৎস থাকতে হবে যা গতিশীলতা প্রদান করে, যেমন একটি ব্যাটারি।

অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বলতে একটি অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নকে বোঝায় যা ডিজিটাল মিডিয়া, সিনেমা, গেমস, অ্যাপস এবং/অথবা লাইভ টিভি ব্যবহার করার জন্য একটি বিনোদন ইন্টারফেস যা প্রায় দশ ফুট দূরে বসে থাকা ব্যবহারকারীদের জন্য (একটি "ফিরে ঝুঁকে" বা "10-ফুট ইউজার ইন্টারফেস) ”)। অ্যান্ড্রয়েড টেলিভিশন ডিভাইস:

  • একটি এমবেডেড স্ক্রিন থাকতে হবে বা একটি ভিডিও আউটপুট পোর্ট অন্তর্ভুক্ত করতে হবে, যেমন VGA, HDMI, বা প্রদর্শনের জন্য একটি বেতার পোর্ট।
  • android.software.leanback এবং android.hardware.type.television [ সম্পদ, 3 ] বৈশিষ্ট্যগুলি ঘোষণা করতে হবে৷

অ্যান্ড্রয়েড ওয়াচ ডিভাইসটি একটি অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নকে বোঝায় যা শরীরে, সম্ভবত কব্জিতে পরা হবে এবং:

  • 1.1 থেকে 2.5 ইঞ্চি পরিসরে ভৌত তির্যক দৈর্ঘ্য সহ একটি পর্দা থাকা আবশ্যক৷
  • android.hardware.type.watch বৈশিষ্ট্যটি অবশ্যই ঘোষণা করতে হবে।
  • uiMode = UI_MODE_TYPE_WATCH [ সম্পদ, 4 ] সমর্থন করতে হবে।

অ্যান্ড্রয়েড অটোমোটিভ ইমপ্লিমেন্টেশন বলতে বোঝায় অপারেটিং সিস্টেম হিসেবে অ্যান্ড্রয়েড চালিত গাড়ির হেড ইউনিটকে আংশিক বা সমস্ত সিস্টেম এবং/অথবা ইনফোটেইনমেন্ট কার্যকারিতার জন্য। অ্যান্ড্রয়েড অটোমোটিভ বাস্তবায়ন অবশ্যই uiMode = UI_MODE_TYPE_CAR [ সম্পদ, 111 ] সমর্থন করে।

সমস্ত অ্যান্ড্রয়েড ডিভাইস বাস্তবায়ন যা উপরের যেকোনও ধরনের ডিভাইসের সাথে খাপ খায় না সেগুলিকে এখনও Android 5.1 সামঞ্জস্যপূর্ণ হওয়ার জন্য এই নথিতে থাকা সমস্ত প্রয়োজনীয়তা অবশ্যই পূরণ করতে হবে, যদি না প্রয়োজনটি উপরে থেকে শুধুমাত্র একটি নির্দিষ্ট Android ডিভাইসের জন্য প্রযোজ্য বলে স্পষ্টভাবে বর্ণনা করা হয়।

2.1 ডিভাইস কনফিগারেশন

এটি ডিভাইসের ধরন অনুসারে হার্ডওয়্যার কনফিগারেশনের প্রধান পার্থক্যগুলির একটি সারাংশ। (খালি কক্ষ একটি "MAY" নির্দেশ করে)। সমস্ত কনফিগারেশন এই টেবিলে কভার করা হয় না; আরো বিস্তারিত জানার জন্য প্রাসঙ্গিক হার্ডওয়্যার বিভাগ দেখুন.

শ্রেণী বৈশিষ্ট্য অধ্যায় হাতেখড়ি টেলিভিশন ঘড়ি স্বয়ংচালিত অন্যান্য
ইনপুট ডি-প্যাড 7.2.2। নন-টাচ নেভিগেশন অবশ্যই
টাচস্ক্রিন 7.2.4। টাচস্ক্রিন ইনপুট অবশ্যই অবশ্যই উচিত
মাইক্রোফোন 7.8.1। মাইক্রোফোন অবশ্যই উচিত অবশ্যই অবশ্যই উচিত
সেন্সর অ্যাক্সিলোমিটার 7.3.1 অ্যাক্সিলোমিটার উচিত উচিত উচিত
জিপিএস 7.3.3। জিপিএস উচিত উচিত
সংযোগ ওয়াইফাই 7.4.2। IEEE 802.11 উচিত অবশ্যই উচিত উচিত
ওয়াই - ফাই ডিরেক্ট 7.4.2.1। ওয়াই - ফাই ডিরেক্ট উচিত উচিত উচিত
ব্লুটুথ 7.4.3। ব্লুটুথ উচিত অবশ্যই অবশ্যই অবশ্যই উচিত
ব্লুটুথ কম শক্তি 7.4.3। ব্লুটুথ উচিত অবশ্যই উচিত উচিত উচিত
ইউএসবি পেরিফেরাল/হোস্ট মোড 7.7। ইউএসবি উচিত উচিত উচিত
আউটপুট স্পিকার এবং/অথবা অডিও আউটপুট পোর্ট 7.8.2। অডিও আউটপুট অবশ্যই অবশ্যই অবশ্যই অবশ্যই

3. সফটওয়্যার

3.1। পরিচালিত API সামঞ্জস্য

পরিচালিত ডালভিক বাইটকোড এক্সিকিউশন এনভায়রনমেন্ট হল অ্যান্ড্রয়েড অ্যাপ্লিকেশনের জন্য প্রাথমিক বাহন। অ্যান্ড্রয়েড অ্যাপ্লিকেশন প্রোগ্রামিং ইন্টারফেস (API) হল অ্যান্ড্রয়েড প্ল্যাটফর্ম ইন্টারফেসের একটি সেট যা পরিচালিত রানটাইম পরিবেশে চলমান অ্যাপ্লিকেশনগুলির জন্য উন্মুক্ত। ডিভাইস বাস্তবায়ন অবশ্যই Android SDK [ রিসোর্সেস, 5 ] বা আপস্ট্রিম অ্যান্ড্রয়েড সোর্স কোডে “@SystemApi” মার্কার দিয়ে সজ্জিত যেকোন API দ্বারা উন্মোচিত যেকোন নথিভুক্ত API-এর সমস্ত নথিভুক্ত আচরণ সহ সম্পূর্ণ বাস্তবায়ন প্রদান করতে হবে।

এই সামঞ্জস্যতা সংজ্ঞা দ্বারা বিশেষভাবে অনুমোদিত স্থান ব্যতীত ডিভাইস বাস্তবায়নে কোনো পরিচালিত API বাদ দেওয়া, API ইন্টারফেস বা স্বাক্ষর পরিবর্তন করা, নথিভুক্ত আচরণ থেকে বিচ্যুত হওয়া, বা নো-অপস অন্তর্ভুক্ত করা উচিত নয়।

এই সামঞ্জস্যতার সংজ্ঞাটি এমন কিছু হার্ডওয়্যারের অনুমতি দেয় যার জন্য Android এ API গুলিকে ডিভাইস বাস্তবায়ন দ্বারা বাদ দেওয়া হয়। এই ধরনের ক্ষেত্রে, APIগুলি অবশ্যই উপস্থিত থাকতে হবে এবং যুক্তিসঙ্গতভাবে আচরণ করতে হবে। এই দৃশ্যের জন্য নির্দিষ্ট প্রয়োজনীয়তার জন্য বিভাগ 7 দেখুন।

3.2। সফট এপিআই সামঞ্জস্য

বিভাগ 3.1 থেকে পরিচালিত API গুলি ছাড়াও, Android-এ একটি উল্লেখযোগ্য রানটাইম-শুধুমাত্র "সফ্ট" API অন্তর্ভুক্ত রয়েছে, যেমন উদ্দেশ্য, অনুমতি এবং Android অ্যাপ্লিকেশনগুলির অনুরূপ দিকগুলির আকারে যা অ্যাপ্লিকেশন কম্পাইলের সময় প্রয়োগ করা যায় না৷

3.2.1। অনুমতি

ডিভাইস বাস্তবায়নকারীদের অবশ্যই অনুমতি রেফারেন্স পৃষ্ঠা দ্বারা নথিভুক্ত সমস্ত অনুমতি ধ্রুবক সমর্থন এবং প্রয়োগ করতে হবে [ সম্পদ, 6] । মনে রাখবেন যে বিভাগ 9 এ অ্যান্ড্রয়েড নিরাপত্তা মডেল সম্পর্কিত অতিরিক্ত প্রয়োজনীয়তা তালিকাভুক্ত করা হয়েছে।

3.2.2। প্যারামিটার তৈরি করুন

অ্যান্ড্রয়েড এপিআই-এ android.os.Build ক্লাস [ রিসোর্সেস, 7 ]-এ বেশ কয়েকটি ধ্রুবক অন্তর্ভুক্ত রয়েছে যা বর্তমান ডিভাইস বর্ণনা করার উদ্দেশ্যে। ডিভাইস বাস্তবায়ন জুড়ে সামঞ্জস্যপূর্ণ, অর্থপূর্ণ মান প্রদান করার জন্য, নীচের সারণীতে এই মানগুলির ফর্ম্যাটগুলির উপর অতিরিক্ত বিধিনিষেধ অন্তর্ভুক্ত করা হয়েছে যা ডিভাইস বাস্তবায়নকে অবশ্যই মেনে চলতে হবে।

প্যারামিটার বিস্তারিত
সংস্করণ। রিলিজ মানব-পাঠযোগ্য বিন্যাসে বর্তমানে কার্যকর করা Android সিস্টেমের সংস্করণ। এই ক্ষেত্রে অবশ্যই [ সম্পদ, 8] -এ সংজ্ঞায়িত স্ট্রিং মানগুলির একটি থাকতে হবে।
VERSION.SDK বর্তমানে কার্যকর করা Android সিস্টেমের সংস্করণ, তৃতীয় পক্ষের অ্যাপ্লিকেশন কোডে অ্যাক্সেসযোগ্য একটি বিন্যাসে। Android 5.1-এর জন্য, এই ক্ষেত্রের পূর্ণসংখ্যা মান 22 থাকা আবশ্যক৷
VERSION.SDK_INT বর্তমানে কার্যকর করা Android সিস্টেমের সংস্করণ, তৃতীয় পক্ষের অ্যাপ্লিকেশন কোডে অ্যাক্সেসযোগ্য একটি বিন্যাসে। Android 5.1-এর জন্য, এই ক্ষেত্রের পূর্ণসংখ্যা মান 22 থাকা আবশ্যক৷
সংস্করণ।বৃদ্ধিমূলক মানব-পঠনযোগ্য বিন্যাসে বর্তমানে কার্যকর করা Android সিস্টেমের নির্দিষ্ট বিল্ডকে মনোনীত করে ডিভাইস বাস্তবায়নকারী দ্বারা নির্বাচিত একটি মান। এই মানটি শেষ ব্যবহারকারীদের জন্য উপলব্ধ করা বিভিন্ন বিল্ডের জন্য পুনরায় ব্যবহার করা উচিত নয়। এই ক্ষেত্রের একটি সাধারণ ব্যবহার হল বিল্ড তৈরি করতে কোন বিল্ড নম্বর বা উৎস-নিয়ন্ত্রণ পরিবর্তন শনাক্তকারী ব্যবহার করা হয়েছে তা নির্দেশ করা। এই ক্ষেত্রের নির্দিষ্ট বিন্যাসে কোন প্রয়োজনীয়তা নেই, এটি শূন্য বা খালি স্ট্রিং ("") হওয়া উচিত নয়।
বোর্ড মানব-পাঠযোগ্য বিন্যাসে ডিভাইস দ্বারা ব্যবহৃত নির্দিষ্ট অভ্যন্তরীণ হার্ডওয়্যার সনাক্ত করে ডিভাইস বাস্তবায়নকারী দ্বারা নির্বাচিত একটি মান। এই ক্ষেত্রের একটি সম্ভাব্য ব্যবহার হল ডিভাইসটিকে পাওয়ারিং বোর্ডের নির্দিষ্ট সংশোধন নির্দেশ করা। এই ক্ষেত্রের মান অবশ্যই 7-বিট ASCII হিসাবে এনকোডযোগ্য হতে হবে এবং রেগুলার এক্সপ্রেশন “^[a-zA-Z0-9_-]+$”-এর সাথে মেলে।
ব্র্যান্ড ডিভাইসের সাথে যুক্ত ব্র্যান্ড নামকে প্রতিফলিত করে একটি মান যা শেষ ব্যবহারকারীদের কাছে পরিচিত। মানব-পাঠযোগ্য বিন্যাসে হওয়া আবশ্যক এবং ডিভাইসটির প্রস্তুতকারক বা কোম্পানির ব্র্যান্ডের প্রতিনিধিত্ব করা উচিত যার অধীনে ডিভাইসটি বাজারজাত করা হয়। এই ক্ষেত্রের মান অবশ্যই 7-বিট ASCII হিসাবে এনকোডযোগ্য হতে হবে এবং রেগুলার এক্সপ্রেশন “^[a-zA-Z0-9_-]+$”-এর সাথে মেলে।
SUPPORTED_ABIS নেটিভ কোডের নির্দেশ সেটের নাম (CPU প্রকার + ABI কনভেনশন)। বিভাগ 3.3 দেখুন। নেটিভ API সামঞ্জস্য
SUPPORTED_32_BIT_ABIS নেটিভ কোডের নির্দেশ সেটের নাম (CPU প্রকার + ABI কনভেনশন)। বিভাগ 3.3 দেখুন। নেটিভ API সামঞ্জস্য
SUPPORTED_64_BIT_ABIS নেটিভ কোডের দ্বিতীয় নির্দেশ সেটের নাম (CPU প্রকার + ABI কনভেনশন)। বিভাগ 3.3 দেখুন। নেটিভ API সামঞ্জস্য
CPU_ABI নেটিভ কোডের নির্দেশ সেটের নাম (CPU প্রকার + ABI কনভেনশন)। বিভাগ 3.3 দেখুন। নেটিভ API সামঞ্জস্য
CPU_ABI2 নেটিভ কোডের দ্বিতীয় নির্দেশ সেটের নাম (CPU প্রকার + ABI কনভেনশন)। বিভাগ 3.3 দেখুন। নেটিভ API সামঞ্জস্য
যন্ত্র ডিভাইস বাস্তবায়নকারীর দ্বারা নির্বাচিত একটি মান যার মধ্যে ডেভেলপমেন্ট নাম বা কোড নাম থাকে যা ডিভাইসের হার্ডওয়্যার বৈশিষ্ট্য এবং শিল্প নকশার কনফিগারেশন সনাক্ত করে। এই ক্ষেত্রের মান অবশ্যই 7-বিট ASCII হিসাবে এনকোডযোগ্য হতে হবে এবং রেগুলার এক্সপ্রেশন “^[a-zA-Z0-9_-]+$”-এর সাথে মেলে।
আঙুলের ছাপ একটি স্ট্রিং যা এই বিল্ডটিকে অনন্যভাবে সনাক্ত করে। এটা যুক্তিসঙ্গতভাবে মানুষের পঠনযোগ্য হওয়া উচিত. এটি অবশ্যই এই টেমপ্লেটটি অনুসরণ করবে:

$(BRAND)/$(PRODUCT)/$(DEVICE):$(VERSION.RELEASE)/$(ID)/$(VERSION.INCREMENTAL):$(TYPE)/$(TAGS)

যেমন: acme/myproduct/mydevice:5.1/LMYXX/3359:userdebug/test-keys

ফিঙ্গারপ্রিন্টে হোয়াইটস্পেস অক্ষর অন্তর্ভুক্ত করা উচিত নয়। উপরের টেমপ্লেটে অন্তর্ভুক্ত অন্যান্য ক্ষেত্রে যদি সাদা স্থানের অক্ষর থাকে, তবে সেগুলিকে অবশ্যই বিল্ড ফিঙ্গারপ্রিন্টে অন্য অক্ষর দিয়ে প্রতিস্থাপিত করতে হবে, যেমন আন্ডারস্কোর ("_") অক্ষর৷ এই ক্ষেত্রের মান অবশ্যই 7-বিট ASCII হিসাবে এনকোডযোগ্য হতে হবে।

হার্ডওয়্যার হার্ডওয়্যারের নাম (কার্নেল কমান্ড লাইন বা /proc থেকে)। এটা যুক্তিসঙ্গতভাবে মানুষের পঠনযোগ্য হওয়া উচিত. এই ক্ষেত্রের মান অবশ্যই 7-বিট ASCII হিসাবে এনকোডযোগ্য হতে হবে এবং রেগুলার এক্সপ্রেশন “^[a-zA-Z0-9_-]+$”-এর সাথে মেলে।
হোস্ট একটি স্ট্রিং যা মানব-পাঠযোগ্য বিন্যাসে নির্মিত হোস্টটিকে অনন্যভাবে সনাক্ত করে। এই ক্ষেত্রের নির্দিষ্ট বিন্যাসে কোন প্রয়োজনীয়তা নেই, এটি শূন্য বা খালি স্ট্রিং ("") হওয়া উচিত নয়।
আইডি মানব-পাঠযোগ্য বিন্যাসে একটি নির্দিষ্ট রিলিজ উল্লেখ করার জন্য ডিভাইস বাস্তবায়নকারী দ্বারা নির্বাচিত একটি শনাক্তকারী। এই ক্ষেত্রটি android.os.Build.VERSION.INCREMENTAL এর মতোই হতে পারে, তবে সফ্টওয়্যার বিল্ডগুলির মধ্যে পার্থক্য করতে শেষ ব্যবহারকারীদের জন্য যথেষ্ট অর্থবহ একটি মান হওয়া উচিত৷ এই ক্ষেত্রের মান অবশ্যই 7-বিট ASCII হিসাবে এনকোডযোগ্য হতে হবে এবং রেগুলার এক্সপ্রেশন “^[a-zA-Z0-9._-]+$”-এর সাথে মেলে।
প্রস্তুতকারক পণ্যটির আসল সরঞ্জাম প্রস্তুতকারকের (OEM) ট্রেড নাম। এই ক্ষেত্রের নির্দিষ্ট বিন্যাসে কোন প্রয়োজনীয়তা নেই, এটি শূন্য বা খালি স্ট্রিং ("") হওয়া উচিত নয়।
মডেল ডিভাইস বাস্তবায়নকারীর দ্বারা নির্বাচিত একটি মান যাতে ডিভাইসের নাম থাকে যা শেষ ব্যবহারকারীর কাছে পরিচিত। এটি একই নামে হওয়া উচিত যার অধীনে ডিভাইসটি বাজারজাত করা হয় এবং শেষ ব্যবহারকারীদের কাছে বিক্রি করা হয়। এই ক্ষেত্রের নির্দিষ্ট বিন্যাসে কোন প্রয়োজনীয়তা নেই, এটি শূন্য বা খালি স্ট্রিং ("") হওয়া উচিত নয়।
পণ্য ডিভাইস বাস্তবায়নকারীর দ্বারা নির্বাচিত একটি মান যাতে নির্দিষ্ট পণ্যের (SKU) বিকাশের নাম বা কোড নাম থাকে যা একই ব্র্যান্ডের মধ্যে অনন্য হতে হবে। মানুষের পঠনযোগ্য হতে হবে, কিন্তু শেষ ব্যবহারকারীদের দেখার জন্য অগত্যা নয়। এই ক্ষেত্রের মান অবশ্যই 7-বিট ASCII হিসাবে এনকোডযোগ্য হতে হবে এবং রেগুলার এক্সপ্রেশন “^[a-zA-Z0-9_-]+$”-এর সাথে মেলে।
সিরিয়াল একটি হার্ডওয়্যার সিরিয়াল নম্বর, যা অবশ্যই পাওয়া যাবে। এই ক্ষেত্রের মান অবশ্যই 7-বিট ASCII হিসাবে এনকোডযোগ্য হতে হবে এবং রেগুলার এক্সপ্রেশন "^([a-zA-Z0-9]{6,20})$" এর সাথে মেলে।
ট্যাগ ডিভাইস বাস্তবায়নকারী দ্বারা নির্বাচিত ট্যাগগুলির একটি কমা দ্বারা পৃথক করা তালিকা যা বিল্ডটিকে আরও আলাদা করে। এই ক্ষেত্রটিতে তিনটি সাধারণ অ্যান্ড্রয়েড প্ল্যাটফর্ম সাইনিং কনফিগারেশনের সাথে সম্পর্কিত মানগুলির মধ্যে একটি থাকা আবশ্যক: রিলিজ-কী, ডেভ-কী, টেস্ট-কি৷
টাইম বিল্ড কখন হয়েছিল তার টাইমস্ট্যাম্পের প্রতিনিধিত্বকারী একটি মান।
TYPE বিল্ডের রানটাইম কনফিগারেশন নির্দিষ্ট করে ডিভাইস বাস্তবায়নকারীর দ্বারা নির্বাচিত একটি মান। এই ফিল্ডে অবশ্যই তিনটি সাধারণ অ্যান্ড্রয়েড রানটাইম কনফিগারেশনের সাথে সম্পর্কিত মানগুলির মধ্যে একটি থাকতে হবে: ব্যবহারকারী, ব্যবহারকারী ডিবাগ বা ইঞ্জি।
ব্যবহারকারী ব্যবহারকারীর (বা স্বয়ংক্রিয় ব্যবহারকারী) একটি নাম বা ব্যবহারকারী আইডি যা বিল্ড তৈরি করেছে। এই ক্ষেত্রের নির্দিষ্ট বিন্যাসে কোন প্রয়োজনীয়তা নেই, এটি শূন্য বা খালি স্ট্রিং ("") হওয়া উচিত নয়।

3.2.3। অভিপ্রায় সামঞ্জস্য

ডিভাইস বাস্তবায়ন অবশ্যই Android এর লুজ-কাপলিং ইন্টেন্ট সিস্টেমকে সম্মান করবে, যেমনটি নীচের বিভাগে বর্ণিত হয়েছে। "সম্মানিত" দ্বারা বোঝানো হয়েছে যে ডিভাইস বাস্তবায়নকারীকে অবশ্যই একটি Android কার্যকলাপ বা পরিষেবা প্রদান করতে হবে যা একটি মিলিত অভিপ্রায় ফিল্টার নির্দিষ্ট করে যা প্রতিটি নির্দিষ্ট অভিপ্রায় প্যাটার্নের জন্য সঠিক আচরণের সাথে আবদ্ধ এবং প্রয়োগ করে৷

3.2.3.1। মূল আবেদন উদ্দেশ্য

অ্যান্ড্রয়েড ইন্টেন্টগুলি অ্যাপ্লিকেশন উপাদানগুলিকে অন্যান্য অ্যান্ড্রয়েড উপাদানগুলির থেকে কার্যকারিতার অনুরোধ করার অনুমতি দেয়৷ অ্যান্ড্রয়েড আপস্ট্রিম প্রকল্পে মূল অ্যান্ড্রয়েড অ্যাপ্লিকেশন হিসাবে বিবেচিত অ্যাপ্লিকেশনগুলির একটি তালিকা অন্তর্ভুক্ত রয়েছে, যা সাধারণ ক্রিয়া সম্পাদনের জন্য বেশ কয়েকটি অভিপ্রায় প্যাটার্ন প্রয়োগ করে। মূল অ্যান্ড্রয়েড অ্যাপ্লিকেশন হল:

  • ডেস্ক ঘড়ি
  • ব্রাউজার
  • ক্যালেন্ডার
  • পরিচিতি
  • গ্যালারি
  • গ্লোবাল সার্চ
  • লঞ্চার
  • সঙ্গীত
  • সেটিংস

ডিভাইস বাস্তবায়নে মূল অ্যান্ড্রয়েড অ্যাপ্লিকেশানগুলিকে উপযুক্ত হিসাবে অন্তর্ভুক্ত করা উচিত তবে এই মূল অ্যান্ড্রয়েড অ্যাপ্লিকেশনগুলির সমস্ত "পাবলিক" অ্যাক্টিভিটি বা পরিষেবা উপাদানগুলির দ্বারা সংজ্ঞায়িত একই অভিপ্রায়ের প্যাটার্নগুলি প্রয়োগ করে এমন একটি উপাদান অবশ্যই অন্তর্ভুক্ত করা উচিত৷ মনে রাখবেন যে অ্যাট্রিবিউট android:exported অনুপস্থিত বা মান সত্য থাকলে কার্যকলাপ বা পরিষেবা উপাদানগুলিকে "সর্বজনীন" হিসাবে বিবেচনা করা হয়৷

3.2.3.2। অভিপ্রায় ওভাররাইড করে

যেহেতু অ্যান্ড্রয়েড একটি এক্সটেনসিবল প্ল্যাটফর্ম, তাই ডিভাইস বাস্তবায়ন অবশ্যই 3.2.3.1 বিভাগে উল্লেখ করা প্রতিটি ইন্টেন্ট প্যাটার্নকে তৃতীয় পক্ষের অ্যাপ্লিকেশনগুলিকে ওভাররাইড করার অনুমতি দিতে হবে। আপস্ট্রিম অ্যান্ড্রয়েড ওপেন সোর্স বাস্তবায়ন ডিফল্টরূপে এটির অনুমতি দেয়; ডিভাইস বাস্তবায়নকারীরা অবশ্যই সিস্টেম অ্যাপ্লিকেশনগুলির এই উদ্দেশ্য প্যাটার্নগুলির ব্যবহারে বিশেষ সুবিধাগুলি সংযুক্ত করবেন না, বা তৃতীয় পক্ষের অ্যাপ্লিকেশনগুলিকে এই প্যাটার্নগুলির সাথে আবদ্ধ হওয়া এবং নিয়ন্ত্রণ করা থেকে বাধা দেবেন না। এই নিষেধাজ্ঞার মধ্যে বিশেষভাবে অন্তর্ভুক্ত রয়েছে কিন্তু "নির্বাচক" ব্যবহারকারী ইন্টারফেস নিষ্ক্রিয় করার মধ্যেই সীমাবদ্ধ নয় যা ব্যবহারকারীকে একাধিক অ্যাপ্লিকেশনের মধ্যে নির্বাচন করতে দেয় যেগুলি একই অভিপ্রায় প্যাটার্ন পরিচালনা করে।

যাইহোক, ডিভাইস বাস্তবায়ন নির্দিষ্ট URI প্যাটার্নের জন্য ডিফল্ট কার্যকলাপ প্রদান করতে পারে (যেমন। http://play.google.com) যদি ডিফল্ট কার্যকলাপ ডেটা URI-এর জন্য আরও নির্দিষ্ট ফিল্টার প্রদান করে। উদাহরণ স্বরূপ, ডেটা URI “http://www.android.com” নির্দিষ্ট করে একটি ইন্টেন্ট ফিল্টার “http://”-এর জন্য ব্রাউজার ফিল্টার থেকে বেশি নির্দিষ্ট। ইন্টেন্টের জন্য ডিফল্ট ক্রিয়াকলাপ সংশোধন করার জন্য ডিভাইস বাস্তবায়ন ব্যবহারকারীদের জন্য একটি ব্যবহারকারী ইন্টারফেস প্রদান করতে হবে।

3.2.3.3। অভিপ্রায় নামস্থান

ডিভাইস বাস্তবায়নে এমন কোনো অ্যান্ড্রয়েড উপাদান অন্তর্ভুক্ত করা উচিত নয় যা কোনো নতুন অভিপ্রায় বা সম্প্রচারের অভিপ্রায়ের প্যাটার্নগুলিকে অ্যানড্রয়েড।* বা com.android.* নামস্থানে একটি ACTION, CATEGORY বা অন্যান্য কী স্ট্রিং ব্যবহার করে সম্মান করে। ডিভাইস ইমপ্লিমেন্টারদের এমন কোনো অ্যান্ড্রয়েড উপাদান অন্তর্ভুক্ত করা উচিত নয় যা অন্য সংস্থার অন্তর্গত প্যাকেজ স্পেসে অ্যাকশন, ক্যাটাগরি বা অন্যান্য কী স্ট্রিং ব্যবহার করে কোনো নতুন অভিপ্রায় বা সম্প্রচারের অভিপ্রায় প্যাটার্নকে সম্মান করে। ডিভাইস বাস্তবায়নকারীরা অবশ্যই 3.2.3.1 বিভাগে তালিকাভুক্ত মূল অ্যাপগুলির দ্বারা ব্যবহৃত কোনো অভিপ্রায় প্যাটার্ন পরিবর্তন বা প্রসারিত করবেন না। ডিভাইস বাস্তবায়নের মধ্যে স্পষ্টভাবে এবং স্পষ্টভাবে তাদের নিজস্ব প্রতিষ্ঠানের সাথে যুক্ত নামস্থান ব্যবহার করে অভিপ্রায় প্যাটার্ন অন্তর্ভুক্ত থাকতে পারে। এই নিষেধাজ্ঞাটি বিভাগ 3.6- এ জাভা ভাষার ক্লাসের জন্য নির্দিষ্ট করা অনুরূপ।

3.2.3.4। সম্প্রচার অভিপ্রায়

থার্ড-পার্টি অ্যাপ্লিকেশনগুলি হার্ডওয়্যার বা সফ্টওয়্যার পরিবেশের পরিবর্তন সম্পর্কে তাদের অবহিত করার জন্য নির্দিষ্ট উদ্দেশ্য সম্প্রচার করার জন্য প্ল্যাটফর্মের উপর নির্ভর করে। অ্যান্ড্রয়েড-সামঞ্জস্যপূর্ণ ডিভাইসগুলিকে অবশ্যই উপযুক্ত সিস্টেম ইভেন্টগুলির প্রতিক্রিয়া হিসাবে সর্বজনীন সম্প্রচারের অভিপ্রায়গুলি সম্প্রচার করতে হবে৷ সম্প্রচারের অভিপ্রায় SDK ডকুমেন্টেশনে বর্ণনা করা হয়েছে।

3.2.3.5। ডিফল্ট অ্যাপ সেটিংস

অ্যান্ড্রয়েডের মধ্যে এমন সেটিংস রয়েছে যা ব্যবহারকারীদের তাদের ডিফল্ট অ্যাপ্লিকেশন নির্বাচন করার একটি সহজ উপায় প্রদান করে, উদাহরণস্বরূপ হোম স্ক্রীন বা এসএমএস। যেখানে এটি বোধগম্য হয়, ডিভাইস বাস্তবায়নে অবশ্যই একটি অনুরূপ সেটিংস মেনু প্রদান করতে হবে এবং নীচের মত SDK ডকুমেন্টেশনে বর্ণিত অভিপ্রায় ফিল্টার প্যাটার্ন এবং API পদ্ধতিগুলির সাথে সামঞ্জস্যপূর্ণ হতে হবে৷

ডিভাইস বাস্তবায়ন:

  • হোম স্ক্রীনের জন্য একটি ডিফল্ট অ্যাপ সেটিংস মেনু দেখানোর android.settings.HOME_SETTINGS অভিপ্রায়কে অবশ্যই সম্মান করতে হবে, যদি ডিভাইস বাস্তবায়ন android.software.home_screen রিপোর্ট করে [ সম্পদ, 10]
  • একটি সেটিংস মেনু প্রদান করতে হবে যা android.provider.Telephony.ACTION_CHANGE_DEFAULT কে কল করবে ডিফল্ট এসএমএস অ্যাপ্লিকেশন পরিবর্তন করার জন্য একটি ডায়ালগ দেখানোর উদ্দেশ্যে, যদি ডিভাইস বাস্তবায়ন android.hardware.telephony রিপোর্ট করে [ সম্পদ, 9 ]
  • ডিভাইস বাস্তবায়ন android.hardware.nfc.hce রিপোর্ট করলে ট্যাপ এবং পে-এর জন্য একটি ডিফল্ট অ্যাপ সেটিংস মেনু দেখানোর android.settings.NFC_PAYMENT_SETTINGS অভিপ্রায়কে অবশ্যই সম্মান করতে হবে [ সম্পদ, 10]

3.3। নেটিভ API সামঞ্জস্য

3.3.1। অ্যাপ্লিকেশন বাইনারি ইন্টারফেস

পরিচালিত ডালভিক বাইটকোড একটি ELF হিসাবে অ্যাপ্লিকেশন .apk ফাইলে প্রদত্ত নেটিভ কোডে কল করতে পারে। তাই উপযুক্ত ডিভাইস হার্ডওয়্যার আর্কিটেকচারের জন্য সংকলিত ফাইল। যেহেতু নেটিভ কোড অন্তর্নিহিত প্রসেসর প্রযুক্তির উপর অত্যন্ত নির্ভরশীল, তাই Android NDK-তে বেশ কয়েকটি অ্যাপ্লিকেশন বাইনারি ইন্টারফেস (ABIs) সংজ্ঞায়িত করে। ডিভাইস বাস্তবায়ন অবশ্যই এক বা একাধিক সংজ্ঞায়িত ABI-এর সাথে সামঞ্জস্যপূর্ণ হতে হবে এবং Android NDK-এর সাথে সামঞ্জস্য প্রয়োগ করতে হবে, নিচের মত।

যদি একটি ডিভাইস বাস্তবায়নে একটি Android ABI-এর জন্য সমর্থন অন্তর্ভুক্ত থাকে, তাহলে এটি:

  • স্ট্যান্ডার্ড জাভা নেটিভ ইন্টারফেস (JNI) শব্দার্থবিদ্যা ব্যবহার করে নেটিভ কোডে কল করার জন্য পরিচালিত পরিবেশে চলমান কোডের সমর্থন অন্তর্ভুক্ত করতে হবে
  • নীচের তালিকায় প্রতিটি প্রয়োজনীয় লাইব্রেরির সাথে উত্স-সামঞ্জস্যপূর্ণ (যেমন শিরোনাম সামঞ্জস্যপূর্ণ) এবং বাইনারি-সামঞ্জস্যপূর্ণ (ABI-এর জন্য) হতে হবে
  • কোনো 64-বিট ABI সমর্থিত হলে সমতুল্য 32-বিট ABI সমর্থন করতে হবে
  • android.os.Build.SUPPORTED_ABIS, android.os.Build.SUPPORTED_32_BIT_ABIS, এবং android.os.Build.SUPPORTED_64_BIT_ABIT-এর আলাদা আলাদা আলাদা একটি তালিকার মাধ্যমে ডিভাইস দ্বারা সমর্থিত নেটিভ অ্যাপ্লিকেশন বাইনারি ইন্টারফেস (ABI) সঠিকভাবে রিপোর্ট করতে হবে ABI গুলি সর্বাধিক থেকে সর্বনিম্ন পছন্দের অর্ডার দেওয়া হয়েছে৷
  • অবশ্যই রিপোর্ট করতে হবে, উপরের প্যারামিটারগুলির মাধ্যমে, শুধুমাত্র সেই ABI গুলি যা Android NDK-এর সর্বশেষ সংস্করণে নথিভুক্ত করা হয়েছে, “NDK প্রোগ্রামার গাইড | ABI ম্যানেজমেন্ট" ডক্স/ ডিরেক্টরিতে
  • আপস্ট্রিম অ্যান্ড্রয়েড ওপেন সোর্স প্রকল্পে উপলব্ধ সোর্স কোড এবং হেডার ফাইলগুলি ব্যবহার করে তৈরি করা উচিত৷

নিম্নলিখিত নেটিভ কোড API গুলি অবশ্যই নেটিভ কোড অন্তর্ভুক্ত করে এমন অ্যাপগুলির জন্য উপলব্ধ হতে হবে:

  • libc (সি লাইব্রেরি)
  • libm (গণিত গ্রন্থাগার)
  • C++ এর জন্য ন্যূনতম সমর্থন
  • JNI ইন্টারফেস
  • liblog (Android লগিং)
  • libz (Zlib কম্প্রেশন)
  • libdl (গতিশীল লিঙ্কার)
  • libGLESv1_CM.so (OpenGL ES 1.x)
  • libGLESv2.so (OpenGL ES 2.0)
  • libGLESv3.so (OpenGL ES 3.x)
  • libEGL.so (নেটিভ OpenGL পৃষ্ঠ ব্যবস্থাপনা)
  • libjnigraphics.so
  • libOpenSLES.so (OpenSL ES 1.0.1 অডিও সমর্থন)
  • libOpenMAXAL.so (OpenMAX AL 1.0.1 সমর্থন)
  • libandroid.so (নেটিভ অ্যান্ড্রয়েড কার্যকলাপ সমর্থন)
  • libmediandk.so (নেটিভ মিডিয়া API সমর্থন)
  • OpenGL-এর জন্য সমর্থন, নীচে বর্ণিত হিসাবে

মনে রাখবেন যে Android NDK-এর ভবিষ্যত প্রকাশগুলি অতিরিক্ত ABI-এর জন্য সমর্থন প্রবর্তন করতে পারে। যদি একটি ডিভাইস বাস্তবায়ন একটি বিদ্যমান পূর্বনির্ধারিত ABI-এর সাথে সামঞ্জস্যপূর্ণ না হয়, তবে এটি অবশ্যই কোনো ABI-এর জন্য সমর্থনের প্রতিবেদন করা উচিত নয়।

মনে রাখবেন যে ডিভাইস বাস্তবায়নে অবশ্যই libGLESv3.so অন্তর্ভুক্ত থাকতে হবে এবং এটি libGLESv2.so-তে symlink (সিম্বলিক লিঙ্ক) আবশ্যক। পরিবর্তে, সমস্ত OpenGL ES 3.1 এবং Android Extension Pack [ Resources, 11 ] ফাংশন চিহ্নগুলি অবশ্যই রপ্তানি করতে হবে যা NDK রিলিজ android-21-এ সংজ্ঞায়িত করা হয়েছে৷ যদিও সমস্ত চিহ্ন অবশ্যই উপস্থিত থাকতে হবে, শুধুমাত্র OpenGL ES সংস্করণ এবং এক্সটেনশনগুলির জন্য সংশ্লিষ্ট ফাংশনগুলি প্রকৃতপক্ষে ডিভাইস দ্বারা সমর্থিত হতে হবে৷

নেটিভ কোড সামঞ্জস্য চ্যালেঞ্জিং. এই কারণে, আপস্ট্রিম অ্যান্ড্রয়েড ওপেন সোর্স প্রজেক্ট থেকে উপরে তালিকাভুক্ত লাইব্রেরিগুলির বাস্তবায়ন ব্যবহার করার জন্য ডিভাইস বাস্তবায়নকারীরা খুব জোরালোভাবে উত্সাহিত হয়৷

3.3.2। 32-বিট এআরএম নেটিভ কোড সামঞ্জস্য

ARMv8 আর্কিটেকচার বিদ্যমান নেটিভ কোডে ব্যবহৃত কিছু ক্রিয়াকলাপ সহ বেশ কয়েকটি CPU ক্রিয়াকলাপকে বাতিল করে। 64-বিট এআরএম ডিভাইসে, নিম্নোক্ত অপসারিত ক্রিয়াকলাপগুলি অবশ্যই 32-বিট নেটিভ এআরএম কোডে উপলব্ধ থাকতে হবে, হয় নেটিভ CPU সমর্থন বা সফ্টওয়্যার এমুলেশনের মাধ্যমে:

  • SWP এবং SWPB নির্দেশাবলী
  • নির্দেশ পাঠান
  • CP15ISB, CP15DSB, এবং CP15DMB বাধা অপারেশন

32-বিট ARM নেটিভ কোড থেকে CPU বৈশিষ্ট্যগুলি আবিষ্কার করতে Android NDK-এর লিগ্যাসি সংস্করণগুলি /proc/cpuinfo ব্যবহার করেছে। এই NDK ব্যবহার করে নির্মিত অ্যাপ্লিকেশনগুলির সাথে সামঞ্জস্যের জন্য, ডিভাইসগুলিকে /proc/cpuinfo-তে নিম্নলিখিত লাইনগুলি অন্তর্ভুক্ত করতে হবে যখন এটি 32-বিট এআরএম অ্যাপ্লিকেশনগুলি দ্বারা পড়া হয়:

  • "বৈশিষ্ট্য: ", ডিভাইস দ্বারা সমর্থিত যেকোনো ঐচ্ছিক ARMv7 CPU বৈশিষ্ট্যগুলির একটি তালিকা অনুসরণ করে
  • "CPU আর্কিটেকচার: ", ডিভাইসের সর্বোচ্চ সমর্থিত ARM আর্কিটেকচার বর্ণনা করে একটি পূর্ণসংখ্যা অনুসরণ করে (যেমন, ARMv8 ডিভাইসের জন্য "8")

এই প্রয়োজনীয়তাগুলি শুধুমাত্র তখনই প্রযোজ্য যখন /proc/cpuinfo 32-বিট ARM অ্যাপ্লিকেশনগুলি দ্বারা পড়া হয়। 64-বিট এআরএম বা নন-এআরএম অ্যাপ্লিকেশন দ্বারা পড়ার সময় ডিভাইসগুলিকে /proc/cpuinfo পরিবর্তন করা উচিত নয়।

3.4। ওয়েব সামঞ্জস্য

3.4.1। ওয়েবভিউ সামঞ্জস্য

অ্যান্ড্রয়েড ওয়াচ ডিভাইসগুলি হতে পারে, তবে অন্যান্য সমস্ত ডিভাইস বাস্তবায়নে অবশ্যই android.webkit.Webview API-এর সম্পূর্ণ বাস্তবায়ন প্রদান করতে হবে।

প্ল্যাটফর্ম বৈশিষ্ট্য android.software.webview যে কোনো ডিভাইসে রিপোর্ট করা আবশ্যক যেটি android.webkit.WebView API-এর সম্পূর্ণ বাস্তবায়ন প্রদান করে এবং API-এর সম্পূর্ণ বাস্তবায়ন ছাড়া ডিভাইসে রিপোর্ট করা উচিত নয়। Android ওপেন সোর্স বাস্তবায়ন android.webkit.WebView [ সম্পদ, 12 ] বাস্তবায়নের জন্য Chromium প্রকল্পের কোড ব্যবহার করে। যেহেতু একটি ওয়েব রেন্ডারিং সিস্টেমের জন্য একটি বিস্তৃত পরীক্ষা স্যুট তৈরি করা সম্ভব নয়, তাই ডিভাইস বাস্তবায়নকারীদের অবশ্যই WebView বাস্তবায়নে Chromium-এর নির্দিষ্ট আপস্ট্রিম বিল্ড ব্যবহার করতে হবে। বিশেষভাবে:

  • ডিভাইস android.webkit.WebView বাস্তবায়ন অবশ্যই Android 5.1 এর জন্য আপস্ট্রিম অ্যান্ড্রয়েড ওপেন সোর্স প্রজেক্ট থেকে Chromium বিল্ডের উপর ভিত্তি করে হওয়া উচিত। এই বিল্ডটিতে WebView [ সম্পদ, 13 ] এর জন্য কার্যকারিতা এবং নিরাপত্তা সংশোধনের একটি নির্দিষ্ট সেট অন্তর্ভুক্ত রয়েছে।
  • WebView দ্বারা রিপোর্ট করা ব্যবহারকারী এজেন্ট স্ট্রিং এই বিন্যাসে হওয়া আবশ্যক:

    Mozilla/5.0 (Linux; Android $(VERSION); $(MODEL) Buil/$(BUILD)$(WEBVIEW)) AppleWebKit/537.36 (KHTML, Gecko এর মত) সংস্করণ/4.0 $(CHROMIUM_VER) মোবাইল সাফারি/537.36

    • $(VERSION) স্ট্রিংয়ের মান অবশ্যই android.os.Build.VERSION.RELEASE-এর মানের সমান হতে হবে।
    • $(WEBVIEW) স্ট্রিংটি বাদ দেওয়া যেতে পারে, কিন্তু অন্তর্ভুক্ত হলে অবশ্যই "; wv" হতে হবে উল্লেখ্য এটি একটি ওয়েবভিউ
    • $(MODEL) স্ট্রিংটির মান অবশ্যই android.os.Build.MODEL-এর মানের সমান হতে হবে।
    • $(BUILD) স্ট্রিংয়ের মান অবশ্যই android.os.Build.ID-এর মানের সমান হতে হবে।
    • $(CHROMIUM_VER) স্ট্রিংটির মান অবশ্যই আপস্ট্রিম অ্যান্ড্রয়েড ওপেন সোর্স প্রকল্পে ক্রোমিয়ামের সংস্করণ হতে হবে।
    • ডিভাইস বাস্তবায়ন ব্যবহারকারী এজেন্ট স্ট্রিং-এ মোবাইল বাদ দিতে পারে।

WebView উপাদানটিতে যতটা সম্ভব HTML5 বৈশিষ্ট্যের জন্য সমর্থন অন্তর্ভুক্ত করা উচিত এবং যদি এটি বৈশিষ্ট্যটিকে সমর্থন করে তাহলে HTML5 স্পেসিফিকেশনের সাথে সঙ্গতিপূর্ণ হওয়া উচিত [ সম্পদ, 14 ]৷

3.4.2। ব্রাউজার সামঞ্জস্য

অ্যান্ড্রয়েড টেলিভিশন, ওয়াচ, এবং অ্যান্ড্রয়েড অটোমোটিভ প্রয়োগগুলি একটি ব্রাউজার অ্যাপ্লিকেশন বাদ দিতে পারে, তবে অধ্যায় 3.2.3.1 এ বর্ণিত সর্বজনীন অভিপ্রায় প্যাটার্নগুলিকে সমর্থন করতে হবে৷ সাধারণ ব্যবহারকারীর ওয়েব ব্রাউজিংয়ের জন্য অন্যান্য সমস্ত ধরণের ডিভাইস বাস্তবায়নে অবশ্যই একটি স্বতন্ত্র ব্রাউজার অ্যাপ্লিকেশন অন্তর্ভুক্ত করতে হবে।

স্বতন্ত্র ব্রাউজারটি WebKit ছাড়া অন্য কোন ব্রাউজার প্রযুক্তির উপর ভিত্তি করে হতে পারে। যাইহোক, এমনকি যদি একটি বিকল্প ব্রাউজার অ্যাপ্লিকেশন ব্যবহার করা হয়, তৃতীয় পক্ষের অ্যাপ্লিকেশনগুলিতে প্রদত্ত android.webkit.WebView উপাদানটি অবশ্যই WebKit-এর উপর ভিত্তি করে হতে হবে, যেমনটি 3.4.1 বিভাগে বর্ণিত হয়েছে।

বাস্তবায়ন স্বতন্ত্র ব্রাউজার অ্যাপ্লিকেশনে একটি কাস্টম ব্যবহারকারী এজেন্ট স্ট্রিং পাঠাতে পারে।

স্বতন্ত্র ব্রাউজার অ্যাপ্লিকেশন (আপস্ট্রিম ওয়েবকিট ব্রাউজার অ্যাপ্লিকেশন বা তৃতীয় পক্ষের প্রতিস্থাপনের উপর ভিত্তি করে) যতটা সম্ভব HTML5 [ সম্পদ, 14 ] এর জন্য সমর্থন অন্তর্ভুক্ত করা উচিত। ন্যূনতমভাবে, এইচটিএমএল 5 এর সাথে যুক্ত এই APIগুলির প্রতিটিকে ডিভাইস বাস্তবায়নকে সমর্থন করতে হবে:

উপরন্তু, ডিভাইস বাস্তবায়ন অবশ্যই HTML5/W3C ওয়েবস্টোরেজ API [ সম্পদ, 18 ] সমর্থন করবে এবং HTML5/W3C IndexedDB API [ সম্পদ, 19 ] সমর্থন করবে। নোট করুন যে ওয়েব ডেভেলপমেন্ট স্ট্যান্ডার্ড সংস্থাগুলি ওয়েবস্টোরেজের উপর IndexedDB-এর পক্ষে রূপান্তরিত হচ্ছে, IndexedDB Android এর ভবিষ্যতের সংস্করণে একটি প্রয়োজনীয় উপাদান হয়ে উঠবে বলে আশা করা হচ্ছে।

3.5। API আচরণগত সামঞ্জস্য

প্রতিটি API প্রকারের আচরণ (পরিচালিত, নরম, নেটিভ এবং ওয়েব) অবশ্যই আপস্ট্রিম অ্যান্ড্রয়েড ওপেন সোর্স প্রকল্পের পছন্দের বাস্তবায়নের সাথে সামঞ্জস্যপূর্ণ হতে হবে [ সম্পদ, 2 ]। সামঞ্জস্যের কিছু নির্দিষ্ট ক্ষেত্র হল:

  • ডিভাইসগুলি অবশ্যই একটি আদর্শ অভিপ্রায়ের আচরণ বা শব্দার্থ পরিবর্তন করবে না৷
  • ডিভাইসগুলি অবশ্যই একটি নির্দিষ্ট ধরণের সিস্টেম উপাদানের জীবনচক্র বা জীবনচক্রের শব্দার্থ পরিবর্তন করবে না (যেমন পরিষেবা, কার্যকলাপ, সামগ্রী সরবরাহকারী, ইত্যাদি)৷
  • ডিভাইসগুলি অবশ্যই একটি আদর্শ অনুমতির শব্দার্থ পরিবর্তন করবে না৷

উপরের তালিকাটি ব্যাপক নয়। কম্প্যাটিবিলিটি টেস্ট স্যুট (সিটিএস) আচরণগত সামঞ্জস্যের জন্য প্ল্যাটফর্মের উল্লেখযোগ্য অংশ পরীক্ষা করে, কিন্তু সবগুলো নয়। Android ওপেন সোর্স প্রকল্পের সাথে আচরণগত সামঞ্জস্য নিশ্চিত করা বাস্তবায়নকারীর দায়িত্ব। এই কারণে, ডিভাইস বাস্তবায়নকারীদের সিস্টেমের উল্লেখযোগ্য অংশগুলিকে পুনরায় প্রয়োগ করার পরিবর্তে যেখানে সম্ভব Android ওপেন সোর্স প্রকল্পের মাধ্যমে উপলব্ধ সোর্স কোড ব্যবহার করা উচিত।

3.6। API নামস্থান

অ্যান্ড্রয়েড জাভা প্রোগ্রামিং ভাষা দ্বারা সংজ্ঞায়িত প্যাকেজ এবং ক্লাস নেমস্পেস কনভেনশন অনুসরণ করে। তৃতীয় পক্ষের অ্যাপ্লিকেশনগুলির সাথে সামঞ্জস্য নিশ্চিত করতে, ডিভাইস বাস্তবায়নকারীরা এই প্যাকেজ নেমস্পেসগুলিতে কোনও নিষিদ্ধ পরিবর্তন (নীচে দেখুন) করবেন না:

  • java.*
  • javax.*
  • সূর্য।*
  • অ্যান্ড্রয়েড।*
  • com.android.*

নিষিদ্ধ পরিবর্তন অন্তর্ভুক্ত :

  • ডিভাইস বাস্তবায়নের জন্য অ্যান্ড্রয়েড প্ল্যাটফর্মে সর্বজনীনভাবে প্রকাশ করা APIগুলিকে কোনও পদ্ধতি বা শ্রেণি স্বাক্ষর পরিবর্তন করে, বা ক্লাস বা শ্রেণি ক্ষেত্রগুলি সরিয়ে দিয়ে সংশোধন করা উচিত নয়।
  • ডিভাইস বাস্তবায়নকারীরা এপিআই-এর অন্তর্নিহিত বাস্তবায়ন সংশোধন করতে পারে, কিন্তু এই ধরনের পরিবর্তনগুলি প্রকাশ্যে প্রকাশ করা কোনও API-এর বিবৃত আচরণ এবং জাভা-ভাষা স্বাক্ষরকে প্রভাবিত করবে না।
  • ডিভাইস ইমপ্লিমেন্টারদের অবশ্যই উপরের API-এ কোনো প্রকাশ্য উপাদান (যেমন ক্লাস বা ইন্টারফেস, বা বিদ্যমান ক্লাস বা ইন্টারফেসে ক্ষেত্র বা পদ্ধতি) যোগ করা উচিত নয়।

একটি "পাবলিকলি এক্সপোজড এলিমেন্ট" হল যেকোন কনস্ট্রাক্ট যা আপস্ট্রিম অ্যান্ড্রয়েড সোর্স কোডে ব্যবহৃত "@ লুকান" মার্কার দিয়ে সজ্জিত নয়। অন্য কথায়, ডিভাইস বাস্তবায়নকারীরা অবশ্যই নতুন APIs প্রকাশ করবেন না বা উপরে উল্লিখিত নেমস্পেসগুলিতে বিদ্যমান APIগুলিকে পরিবর্তন করবেন না। ডিভাইস বাস্তবায়নকারীরা শুধুমাত্র অভ্যন্তরীণ পরিবর্তনগুলি করতে পারে, তবে সেই পরিবর্তনগুলিকে বিজ্ঞাপন দেওয়া বা অন্যথায় বিকাশকারীদের কাছে প্রকাশ করা উচিত নয়৷

ডিভাইস বাস্তবায়নকারীরা কাস্টম এপিআই যোগ করতে পারে, কিন্তু এই ধরনের কোনো এপিআই অবশ্যই অন্য প্রতিষ্ঠানের মালিকানাধীন নামস্থানে থাকা উচিত নয়। উদাহরণ স্বরূপ, ডিভাইস বাস্তবায়নকারীরা অবশ্যই com.google.* বা অনুরূপ নামস্থানে API যোগ করবেন না: শুধুমাত্র Google তা করতে পারে। একইভাবে, Google অন্য কোম্পানির নামস্থানে API যোগ করবে না। অতিরিক্তভাবে, যদি কোনও ডিভাইস বাস্তবায়নে স্ট্যান্ডার্ড অ্যান্ড্রয়েড নেমস্পেসের বাইরে কাস্টম API অন্তর্ভুক্ত থাকে, তবে সেই APIগুলিকে অবশ্যই একটি অ্যান্ড্রয়েড শেয়ার্ড লাইব্রেরিতে প্যাকেজ করা উচিত যাতে শুধুমাত্র সেই অ্যাপগুলি যেগুলি স্পষ্টভাবে ব্যবহার করে (<uses-library> মেকানিজমের মাধ্যমে) বর্ধিত মেমরি ব্যবহার দ্বারা প্রভাবিত হয়। যেমন API

যদি কোনও ডিভাইস বাস্তবায়নকারী উপরের প্যাকেজ নেমস্পেসগুলির মধ্যে একটিকে উন্নত করার প্রস্তাব দেয় (যেমন একটি বিদ্যমান API-তে দরকারী নতুন কার্যকারিতা যোগ করে, বা একটি নতুন API যোগ করে), বাস্তবায়নকারীকে source.android.com- এ যেতে হবে এবং পরিবর্তনগুলি অবদান রাখার জন্য প্রক্রিয়া শুরু করতে হবে এবং কোড, সেই সাইটের তথ্য অনুযায়ী।

উল্লেখ্য যে উপরের বিধিনিষেধগুলি জাভা প্রোগ্রামিং ভাষায় API-এর নামকরণের জন্য আদর্শ নিয়মের সাথে মিলে যায়; এই বিভাগটি কেবল সেই কনভেনশনগুলিকে শক্তিশালী করা এবং এই সামঞ্জস্যতার সংজ্ঞায় অন্তর্ভুক্তির মাধ্যমে তাদের বাধ্যতামূলক করে তোলার লক্ষ্য রাখে।

3.7। রানটাইম সামঞ্জস্য

ডিভাইস বাস্তবায়ন অবশ্যই সম্পূর্ণ ডালভিক এক্সিকিউটেবল (ডিইএক্স) ফর্ম্যাট এবং ডালভিক বাইটকোড স্পেসিফিকেশন এবং শব্দার্থবিদ্যা [ সম্পদ, 20 ] সমর্থন করে। ডিভাইস বাস্তবায়নকারীদের ART ব্যবহার করা উচিত, ডালভিক এক্সিকিউটেবল ফরম্যাটের রেফারেন্স আপস্ট্রিম বাস্তবায়ন এবং রেফারেন্স বাস্তবায়নের প্যাকেজ ম্যানেজমেন্ট সিস্টেম।

আপস্ট্রিম অ্যান্ড্রয়েড প্ল্যাটফর্ম অনুযায়ী মেমরি বরাদ্দ করার জন্য ডিভাইস বাস্তবায়নের জন্য অবশ্যই ডালভিক রানটাইম কনফিগার করতে হবে, এবং নিম্নলিখিত টেবিলের দ্বারা নির্দিষ্ট করা হয়েছে। (স্ক্রীনের আকার এবং পর্দার ঘনত্বের সংজ্ঞার জন্য বিভাগ 7.1.1 দেখুন।)

মনে রাখবেন যে নীচে নির্দিষ্ট করা মেমরি মানগুলিকে সর্বনিম্ন মান হিসাবে বিবেচনা করা হয় এবং ডিভাইস বাস্তবায়ন অ্যাপ্লিকেশন প্রতি আরও মেমরি বরাদ্দ করতে পারে৷

স্ক্রীন লেআউট পর্দার ঘনত্ব ন্যূনতম অ্যাপ্লিকেশন মেমরি
ছোট/স্বাভাবিক 120 dpi (ldpi) 32MB
160 dpi (mdpi)
213 dpi (tvdpi) 48MB
240 ডিপিআই (এইচডিপিআই)
280 dpi (280 dpi)
320 dpi (xhdpi) 80MB
400 dpi (400 dpi) 96MB
480 dpi (xxhdpi) 128MB
560 dpi (560dpi) 192MB
640 dpi (xxxhdpi) 256MB
বড় 120 dpi (ldpi) 32MB
160 dpi (mdpi) 48MB
213 dpi (tvdpi) 80MB
240 ডিপিআই (এইচডিপিআই)
280 dpi (280 dpi) 96MB
320 dpi (xhdpi) 128MB
400 dpi (400 dpi) 192MB
480 dpi (xxhdpi) 256MB
560 dpi (560dpi) 384MB
640 dpi (xxxhdpi) 512MB
বড় 120 dpi (ldpi) 48MB
160 dpi (mdpi) 80MB
213 dpi (tvdpi) 96MB
240 ডিপিআই (এইচডিপিআই)
280 dpi (280 dpi) 144MB
320 dpi (xhdpi) 192MB
400 dpi (400 dpi) 288MB
480 dpi (xxhdpi) 384MB
560 dpi (560dpi) 576MB
640 dpi (xxxhdpi) 768MB

3.8। ইউজার ইন্টারফেস সামঞ্জস্য

3.8.1। লঞ্চার (হোম স্ক্রীন)

অ্যান্ড্রয়েডে একটি লঞ্চার অ্যাপ্লিকেশন (হোম স্ক্রীন) এবং ডিভাইস লঞ্চার (হোম স্ক্রীন) প্রতিস্থাপনের জন্য তৃতীয় পক্ষের অ্যাপ্লিকেশনগুলির জন্য সমর্থন অন্তর্ভুক্ত রয়েছে। ডিভাইস বাস্তবায়ন যা থার্ড-পার্টি অ্যাপ্লিকেশানগুলিকে ডিভাইসের হোম স্ক্রীন প্রতিস্থাপন করতে দেয় সেগুলিকে অবশ্যই প্ল্যাটফর্ম বৈশিষ্ট্য android.software.home_screen ঘোষণা করতে হবে।

3.8.2। উইজেট

উইজেটগুলি সমস্ত Android ডিভাইস বাস্তবায়নের জন্য ঐচ্ছিক, তবে Android হ্যান্ডহেল্ড ডিভাইসগুলিতে সমর্থিত হওয়া উচিত।

অ্যান্ড্রয়েড একটি উপাদান প্রকার এবং সংশ্লিষ্ট এপিআই এবং লাইফসাইকেল সংজ্ঞায়িত করে যা অ্যাপ্লিকেশনগুলিকে শেষ ব্যবহারকারীর কাছে একটি "অ্যাপউইজেট" প্রকাশ করতে দেয় [ সংস্থানসমূহ, 21 ] এমন একটি বৈশিষ্ট্য যা হ্যান্ডহেল্ড ডিভাইস বাস্তবায়নে সমর্থন করার জন্য দৃ strongly ়ভাবে সুপারিশ করা হয়। হোম স্ক্রিনে এম্বেডিং উইজেটগুলিকে সমর্থন করে এমন ডিভাইস বাস্তবায়নগুলি অবশ্যই নিম্নলিখিত প্রয়োজনীয়তাগুলি পূরণ করতে হবে এবং প্ল্যাটফর্ম বৈশিষ্ট্য android.software.app_widgets এর জন্য সমর্থন ঘোষণা করতে হবে।

  • ডিভাইস লঞ্চারগুলি অবশ্যই অ্যাপউইজেটগুলির জন্য অন্তর্নির্মিত সমর্থন অন্তর্ভুক্ত করতে হবে এবং সরাসরি লঞ্চারের মধ্যে অ্যাপউইডেটগুলি যুক্ত, কনফিগার করতে, দেখুন এবং অপসারণ করতে ইউজার ইন্টারফেসের সাশ্রয়ীগুলি প্রকাশ করতে হবে।
  • ডিভাইস বাস্তবায়নগুলি অবশ্যই স্ট্যান্ডার্ড গ্রিড আকারে 4 x 4 এর উইজেটগুলি রেন্ডারিং করতে সক্ষম হতে হবে। বিশদগুলির জন্য অ্যান্ড্রয়েড এসডিকে ডকুমেন্টেশন [ সংস্থানসমূহ, 21 ] এ অ্যাপ উইজেট ডিজাইনের নির্দেশিকাগুলি দেখুন।
  • লক স্ক্রিনের জন্য সমর্থন অন্তর্ভুক্ত ডিভাইস বাস্তবায়নগুলি লক স্ক্রিনে অ্যাপ্লিকেশন উইজেটগুলিকে সমর্থন করতে পারে।

3.8.3। বিজ্ঞপ্তি

অ্যান্ড্রয়েডে এপিআই অন্তর্ভুক্ত রয়েছে যা বিকাশকারীদের ডিভাইসের হার্ডওয়্যার এবং সফ্টওয়্যার বৈশিষ্ট্যগুলি ব্যবহার করে উল্লেখযোগ্য ইভেন্টগুলি [ সংস্থানসমূহ, 22 ] ব্যবহারকারীদের অবহিত করার অনুমতি দেয়।

কিছু এপিআই অ্যাপ্লিকেশনগুলিকে বিজ্ঞপ্তিগুলি সম্পাদন করতে বা হার্ডওয়্যার ব্যবহার করে মনোযোগ আকর্ষণ করার অনুমতি দেয় - বিশেষত সাউন্ড, কম্পন এবং আলো। ডিভাইস বাস্তবায়নগুলি অবশ্যই এসডিকে ডকুমেন্টেশনে বর্ণিত হিসাবে এবং ডিভাইস বাস্তবায়ন হার্ডওয়্যার দিয়ে যতটা সম্ভব সম্ভব হার্ডওয়্যার বৈশিষ্ট্যগুলি ব্যবহার করে এমন বিজ্ঞপ্তিগুলি সমর্থন করতে হবে। উদাহরণস্বরূপ, যদি কোনও ডিভাইস বাস্তবায়নে একটি ভাইব্রেটার অন্তর্ভুক্ত থাকে তবে এটি অবশ্যই কম্পন এপিআইগুলি সঠিকভাবে প্রয়োগ করতে হবে। যদি কোনও ডিভাইস বাস্তবায়নের হার্ডওয়্যারের অভাব থাকে তবে সংশ্লিষ্ট এপিআইগুলি অবশ্যই নো-অপ হিসাবে প্রয়োগ করতে হবে। এই আচরণটি আরও বিভাগে আরও বিস্তারিত রয়েছে।

অতিরিক্তভাবে, বাস্তবায়ন অবশ্যই এপিআইগুলিতে [ সংস্থানসমূহ, 23 ], বা স্ট্যাটাস/সিস্টেম বার আইকন স্টাইল গাইড [ সংস্থানসমূহ, 24 ] এ সরবরাহ করা সমস্ত সংস্থান (আইকন, অ্যানিমেশন ফাইল ইত্যাদি) সঠিকভাবে রেন্ডার করতে হবে, যা একটির ক্ষেত্রে অ্যান্ড্রয়েড টেলিভিশন ডিভাইসে বিজ্ঞপ্তিগুলি প্রদর্শন না করার সম্ভাবনা অন্তর্ভুক্ত রয়েছে। ডিভাইস প্রয়োগকারীরা রেফারেন্স অ্যান্ড্রয়েড ওপেন সোর্স বাস্তবায়নের দ্বারা সরবরাহিত বিজ্ঞপ্তিগুলির জন্য বিকল্প ব্যবহারকারীর অভিজ্ঞতা সরবরাহ করতে পারে; তবে, এই জাতীয় বিকল্প বিজ্ঞপ্তি সিস্টেমগুলি অবশ্যই উপরের হিসাবে বিদ্যমান বিজ্ঞপ্তি সংস্থানগুলিকে সমর্থন করবে।

অ্যান্ড্রয়েডে বিভিন্ন বিজ্ঞপ্তির জন্য সমর্থন অন্তর্ভুক্ত রয়েছে, যেমন:

  • সমৃদ্ধ বিজ্ঞপ্তি । চলমান বিজ্ঞপ্তিগুলির জন্য ইন্টারেক্টিভ ভিউ।
  • হেড-আপ বিজ্ঞপ্তি । ইন্টারেক্টিভ ভিউ ব্যবহারকারীরা বর্তমান অ্যাপটি না রেখে কাজ করতে বা বরখাস্ত করতে পারেন।
  • লকস্ক্রিন বিজ্ঞপ্তি । দৃশ্যমানতার উপর দানাদার নিয়ন্ত্রণ সহ একটি লক স্ক্রিনে প্রদর্শিত বিজ্ঞপ্তিগুলি।

অ্যান্ড্রয়েড ডিভাইস বাস্তবায়ন, যখন এই জাতীয় বিজ্ঞপ্তিগুলি দৃশ্যমান করা হয়, তখন অবশ্যই সমৃদ্ধ এবং হেডস-আপ বিজ্ঞপ্তিগুলি যথাযথভাবে সম্পাদন করতে হবে এবং অ্যান্ড্রয়েড এপিআইএস [সংস্থানসমূহ, 25] এ নথিভুক্ত শিরোনাম/নাম, আইকন, পাঠ্য অন্তর্ভুক্ত করতে হবে।

অ্যান্ড্রয়েডে বিজ্ঞপ্তি শ্রোতার পরিষেবা এপিআই অন্তর্ভুক্ত রয়েছে যা অ্যাপ্লিকেশনগুলিকে (একবার ব্যবহারকারী দ্বারা স্পষ্টভাবে সক্ষম করা) সমস্ত বিজ্ঞপ্তি পোস্ট বা আপডেট হওয়ার সাথে সাথে সমস্ত বিজ্ঞপ্তিগুলির একটি অনুলিপি পেতে দেয়। ডিভাইস বাস্তবায়নগুলি অবশ্যই সঠিকভাবে এবং তাত্ক্ষণিকভাবে বিজ্ঞপ্তি অবজেক্টের সাথে সংযুক্ত যে কোনও এবং সমস্ত মেটাডেটা সহ এই জাতীয় সমস্ত ইনস্টলড এবং ব্যবহারকারী-সক্ষম শ্রোতা পরিষেবাগুলিতে সম্পূর্ণরূপে বিজ্ঞপ্তিগুলি প্রেরণ করতে হবে।

অ্যান্ড্রয়েডে এপিআই [ সংস্থানসমূহ, ২ 26 ] অন্তর্ভুক্ত রয়েছে যা বিকাশকারীদের তাদের অ্যাপ্লিকেশনগুলিতে অনুসন্ধান অন্তর্ভুক্ত করতে এবং তাদের অ্যাপ্লিকেশনটির ডেটা গ্লোবাল সিস্টেম অনুসন্ধানে প্রকাশ করতে দেয়। সাধারণভাবে বলতে গেলে, এই কার্যকারিতাটি একটি একক, সিস্টেম-প্রশস্ত ইউজার ইন্টারফেস নিয়ে গঠিত যা ব্যবহারকারীদের ক্যোয়ারীগুলিতে প্রবেশ করতে, ব্যবহারকারীদের টাইপ হিসাবে পরামর্শ প্রদর্শন করতে এবং ফলাফল প্রদর্শন করতে দেয়। অ্যান্ড্রয়েড এপিআইগুলি বিকাশকারীদের তাদের নিজস্ব অ্যাপ্লিকেশনগুলির মধ্যে অনুসন্ধান সরবরাহ করার জন্য এই ইন্টারফেসটিকে পুনরায় ব্যবহার করার অনুমতি দেয় এবং বিকাশকারীদের সাধারণ গ্লোবাল অনুসন্ধান ইউজার ইন্টারফেসে ফলাফল সরবরাহ করার অনুমতি দেয়।

অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নে গ্লোবাল অনুসন্ধান, একটি একক, ভাগ করা, সিস্টেম-প্রশস্ত অনুসন্ধান ব্যবহারকারী ইন্টারফেস ব্যবহারকারীর ইনপুটটির প্রতিক্রিয়াতে রিয়েল-টাইম পরামর্শগুলিতে সক্ষম। ডিভাইস বাস্তবায়নগুলি এপিআইগুলি প্রয়োগ করা উচিত যা বিকাশকারীদের তাদের নিজস্ব অ্যাপ্লিকেশনগুলির মধ্যে অনুসন্ধান সরবরাহ করতে এই ব্যবহারকারী ইন্টারফেসটিকে পুনরায় ব্যবহার করতে দেয়। ডিভাইস বাস্তবায়নগুলি যা গ্লোবাল অনুসন্ধান ইন্টারফেসটি বাস্তবায়ন করে তাদের অবশ্যই এপিআইগুলি প্রয়োগ করতে হবে যা তৃতীয় পক্ষের অ্যাপ্লিকেশনগুলিকে গ্লোবাল অনুসন্ধান মোডে চালিত হলে অনুসন্ধান বাক্সে পরামর্শ যুক্ত করার অনুমতি দেয়। যদি কোনও তৃতীয় পক্ষের অ্যাপ্লিকেশনগুলি ইনস্টল না করা হয় যা এই কার্যকারিতাটি ব্যবহার করে তবে ডিফল্ট আচরণটি ওয়েব অনুসন্ধান ইঞ্জিনের ফলাফল এবং পরামর্শগুলি প্রদর্শন করা উচিত।

3.8.5। টোস্ট

অ্যাপ্লিকেশনগুলি "টোস্ট" এপিআইটি শেষ ব্যবহারকারীর কাছে সংক্ষিপ্ত নন-মডেল স্ট্রিংগুলি প্রদর্শন করতে ব্যবহার করতে পারে, যা সংক্ষিপ্ত সময়ের পরে অদৃশ্য হয়ে যায় [ সংস্থানসমূহ, ২ 27 ]। ডিভাইস বাস্তবায়নগুলি অবশ্যই কিছু উচ্চ-দৃশ্যমানতার পদ্ধতিতে ব্যবহারকারীদের শেষ পর্যন্ত অ্যাপ্লিকেশনগুলি থেকে টোস্টগুলি প্রদর্শন করতে হবে।

3.8.6। থিম

অ্যান্ড্রয়েড সম্পূর্ণ ক্রিয়াকলাপ বা অ্যাপ্লিকেশন জুড়ে স্টাইল প্রয়োগ করার জন্য অ্যাপ্লিকেশনগুলির একটি প্রক্রিয়া হিসাবে "থিম" সরবরাহ করে।

অ্যান্ড্রয়েডে অ্যাপ্লিকেশন বিকাশকারীদের যদি তারা অ্যান্ড্রয়েড এসডিকে [ সংস্থানসমূহ, ২৮ ] দ্বারা সংজ্ঞায়িত হিসাবে হোলো থিম চেহারাটি মেলে এবং অনুভব করতে চান তবে ব্যবহার করার জন্য সংজ্ঞায়িত শৈলীর একটি সেট হিসাবে একটি "হলো" থিম পরিবার অন্তর্ভুক্ত রয়েছে। ডিভাইস বাস্তবায়নগুলি অবশ্যই অ্যাপ্লিকেশনগুলির সংস্পর্শে থাকা কোনও হলো থিম বৈশিষ্ট্যগুলিকে পরিবর্তন করতে হবে না [ সংস্থানসমূহ, ২৯ ]।

অ্যান্ড্রয়েডে অ্যাপ্লিকেশন বিকাশকারীদের যদি তারা ডিজাইনের থিমের চেহারাটি মেলে এবং বিভিন্ন অ্যান্ড্রয়েড ডিভাইসের বিভিন্ন ধরণের বিভিন্ন ধরণের অনুভূতি মেলে এবং অনুভব করতে চান তবে ব্যবহার করার জন্য সংজ্ঞায়িত শৈলীর একটি সেট হিসাবে একটি "উপাদান" থিম পরিবারকে অন্তর্ভুক্ত করে। ডিভাইস বাস্তবায়নগুলি অবশ্যই "উপাদান" থিম পরিবারকে সমর্থন করবে এবং অবশ্যই কোনও উপাদান থিম বৈশিষ্ট্য বা অ্যাপ্লিকেশনগুলির সংস্পর্শে আসা তাদের সম্পদগুলির কোনও পরিবর্তন করতে হবে না [ সংস্থানসমূহ, 30 ]।

অ্যান্ড্রয়েডে অ্যাপ্লিকেশন বিকাশকারীদের জন্য সংজ্ঞায়িত শৈলীর একটি সেট হিসাবে একটি "ডিভাইস ডিফল্ট" থিম পরিবারও অন্তর্ভুক্ত রয়েছে যদি তারা ডিভাইস প্রয়োগকারী দ্বারা সংজ্ঞায়িত হিসাবে ডিভাইস থিমের চেহারা এবং অনুভূতির সাথে মেলে না। ডিভাইস বাস্তবায়নগুলি ডিভাইস ডিফল্ট থিম বৈশিষ্ট্যগুলি অ্যাপ্লিকেশনগুলির সংস্পর্শে প্রকাশিত হতে পারে [ সংস্থানসমূহ, ২৯ ]।

অ্যান্ড্রয়েড ট্রান্সলুসেন্ট সিস্টেম বারগুলির সাথে একটি নতুন বৈকল্পিক থিম সমর্থন করে, যা অ্যাপ্লিকেশন বিকাশকারীদের তাদের অ্যাপ্লিকেশন সামগ্রীর সাথে স্থিতি এবং নেভিগেশন বারের পিছনে অঞ্চলটি পূরণ করতে দেয়। এই কনফিগারেশনে একটি ধারাবাহিক বিকাশকারী অভিজ্ঞতা সক্ষম করতে, এটি গুরুত্বপূর্ণ যে স্ট্যাটাস বার আইকন স্টাইলটি বিভিন্ন ডিভাইস বাস্তবায়নে বজায় রাখা হয়। অতএব, অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নগুলি অবশ্যই সিস্টেমের স্থিতি আইকনগুলির জন্য সাদা ব্যবহার করতে হবে (যেমন সিগন্যাল শক্তি এবং ব্যাটারি স্তর) এবং সিস্টেম দ্বারা জারি করা বিজ্ঞপ্তিগুলি, যদি না আইকনটি কোনও সমস্যাযুক্ত স্থিতি [ সংস্থানসমূহ, 29 ] নির্দেশ করে না।

3.8.7। লাইভ ওয়ালপেপার

অ্যান্ড্রয়েড একটি উপাদান প্রকার এবং সংশ্লিষ্ট এপিআই এবং লাইফসাইকেল সংজ্ঞায়িত করে যা অ্যাপ্লিকেশনগুলিকে শেষ ব্যবহারকারীর কাছে এক বা একাধিক "লাইভ ওয়ালপেপার" প্রকাশ করতে দেয় [ সংস্থানসমূহ, 31 ]। লাইভ ওয়ালপেপারগুলি হ'ল অ্যানিমেশন, নিদর্শন বা অনুরূপ চিত্রগুলি সীমিত ইনপুট ক্ষমতা সহ যা ওয়ালপেপার হিসাবে প্রদর্শিত হয়, অন্যান্য অ্যাপ্লিকেশনগুলির পিছনে।

হার্ডওয়্যারটি নির্ভরযোগ্যভাবে লাইভ ওয়ালপেপারগুলি চালাতে সক্ষম বলে বিবেচিত হয় যদি এটি সমস্ত লাইভ ওয়ালপেপারগুলি চালাতে পারে, কার্যকারিতার কোনও সীমাবদ্ধতা ছাড়াই, অন্য অ্যাপ্লিকেশনগুলিতে কোনও বিরূপ প্রভাব ছাড়াই যুক্তিসঙ্গত ফ্রেম হারে। যদি হার্ডওয়্যারের সীমাবদ্ধতাগুলি ওয়ালপেপার এবং/অথবা অ্যাপ্লিকেশনগুলিকে ক্র্যাশ, ত্রুটিযুক্ত করে, অতিরিক্ত সিপিইউ বা ব্যাটারি শক্তি গ্রহণ করে বা অগ্রহণযোগ্য কম ফ্রেমের হারে চালায়, হার্ডওয়্যারটি লাইভ ওয়ালপেপার চালাতে অক্ষম বলে বিবেচিত হয়। উদাহরণস্বরূপ, কিছু লাইভ ওয়ালপেপারগুলি তাদের সামগ্রী রেন্ডার করতে একটি ওপেনজিএল 2.0 বা 3.x প্রসঙ্গ ব্যবহার করতে পারে। লাইভ ওয়ালপেপারটি হার্ডওয়্যারের উপর নির্ভরযোগ্যভাবে চলবে না যা একাধিক ওপেনজিএল প্রসঙ্গ সমর্থন করে না কারণ একটি ওপেনজিএল প্রসঙ্গের লাইভ ওয়ালপেপার ব্যবহার অন্যান্য অ্যাপ্লিকেশনগুলির সাথে বিরোধ করতে পারে যা একটি ওপেনজিএল প্রসঙ্গও ব্যবহার করে।

উপরে বর্ণিত হিসাবে লাইভ ওয়ালপেপারগুলি নির্ভরযোগ্যভাবে চালাতে সক্ষম ডিভাইস বাস্তবায়নগুলি লাইভ ওয়ালপেপারগুলি প্রয়োগ করা উচিত এবং প্রয়োগ করা হলে প্ল্যাটফর্মটি অবশ্যই ফ্ল্যাগ অ্যান্ড্রয়েড.সফটওয়্যার.লাইভ_ওয়ালপেপার বৈশিষ্ট্যটি রিপোর্ট করতে হবে।

3.8.8। ক্রিয়াকলাপ স্যুইচিং

সাম্প্রতিক ফাংশন নেভিগেশন কীটি al চ্ছিক হওয়ায় ওভারভিউ স্ক্রিনটি বাস্তবায়নের প্রয়োজনীয়তাগুলি অ্যান্ড্রয়েড টেলিভিশন ডিভাইস এবং অ্যান্ড্রয়েড ওয়াচ ডিভাইসের জন্য al চ্ছিক।

উজানের অ্যান্ড্রয়েড উত্স কোডে ওভারভিউ স্ক্রিন [ সংস্থানসমূহ, 32 ] অন্তর্ভুক্ত রয়েছে, টাস্ক স্যুইচিং এবং সম্প্রতি অ্যাক্সেস করা ক্রিয়াকলাপ এবং কার্যগুলি প্রদর্শন করার জন্য একটি সিস্টেম-স্তরের ইউজার ইন্টারফেস অ্যাপ্লিকেশনটির গ্রাফিকাল অবস্থার একটি থাম্বনেইল চিত্র ব্যবহার করে ব্যবহারকারী এই মুহুর্তে অ্যাপ্লিকেশনটি শেষ করার মুহুর্তে। বিভাগ 7.2.3 এ বিশদ হিসাবে রিসেন্টস ফাংশন নেভিগেশন কী সহ ডিভাইস বাস্তবায়নগুলি ইন্টারফেসটি পরিবর্তন করতে পারে তবে নিম্নলিখিত প্রয়োজনীয়তাগুলি পূরণ করতে হবে:

  • একসাথে চলে আসা এমন একটি গোষ্ঠী হিসাবে অনুমোদিত অনুমোদনগুলি অবশ্যই প্রদর্শন করতে হবে।
  • কমপক্ষে 20 টি প্রদর্শিত ক্রিয়াকলাপ সমর্থন করতে হবে।
  • কমপক্ষে একবারে 4 টি ক্রিয়াকলাপের শিরোনাম প্রদর্শন করা উচিত।
  • রিসেন্টগুলিতে হাইলাইট রঙ, আইকন, স্ক্রিন শিরোনাম প্রদর্শন করা উচিত।
  • স্ক্রিন পিনিং আচরণ [ সংস্থানসমূহ, 33 ] প্রয়োগ করতে হবে এবং বৈশিষ্ট্যটি টগল করতে ব্যবহারকারীকে একটি সেটিংস মেনু সরবরাহ করতে হবে।
  • একটি সমাপনী সামর্থ্য ("x") প্রদর্শন করা উচিত তবে ব্যবহারকারী পর্দার সাথে ইন্টারঅ্যাক্ট না করা পর্যন্ত এটি বিলম্ব করতে পারে।

ডিভাইস বাস্তবায়নগুলি ওভারভিউ স্ক্রিনের জন্য উজানের অ্যান্ড্রয়েড ইউজার ইন্টারফেস (বা অনুরূপ থাম্বনেইল-ভিত্তিক ইন্টারফেস) ব্যবহার করতে দৃ strongly ়ভাবে উত্সাহিত করা হয়।

3.8.9। ইনপুট ম্যানেজমেন্ট

অ্যান্ড্রয়েডে ইনপুট পরিচালনার জন্য সমর্থন এবং তৃতীয় পক্ষের ইনপুট পদ্ধতি সম্পাদকদের [ সংস্থানসমূহ, 34 ] এর সমর্থন অন্তর্ভুক্ত রয়েছে। ডিভাইস বাস্তবায়নগুলি যা ব্যবহারকারীদের ডিভাইসে তৃতীয় পক্ষের ইনপুট পদ্ধতিগুলি ব্যবহার করতে দেয় তা অবশ্যই প্ল্যাটফর্ম বৈশিষ্ট্যটি অ্যান্ড্রয়েড.সফটওয়্যার.ইনপুট_মথডস এবং অ্যান্ড্রয়েড এসডিকে ডকুমেন্টেশনে সংজ্ঞায়িত আইএমই এপিআইগুলিকে সমর্থন করতে হবে।

ডিভাইস বাস্তবায়নগুলি যা অ্যান্ড্রয়েড.সফটওয়্যার.আইএনপুট_মথোডস বৈশিষ্ট্যটি ঘোষণা করে তা অবশ্যই তৃতীয় পক্ষের ইনপুট পদ্ধতিগুলি যুক্ত এবং কনফিগার করার জন্য একটি ব্যবহারকারী-অ্যাক্সেসযোগ্য প্রক্রিয়া সরবরাহ করতে হবে। ডিভাইস বাস্তবায়নগুলি অবশ্যই অ্যান্ড্রয়েড.সেটিংস.আইএনপুট_মথোড_সেটটিংসের অভিপ্রায়টির প্রতিক্রিয়া হিসাবে সেটিংস ইন্টারফেসটি প্রদর্শন করতে হবে।

3.8.10। লক স্ক্রিন মিডিয়া নিয়ন্ত্রণ

রিমোট কন্ট্রোল ক্লায়েন্ট এপিআই মিডিয়া বিজ্ঞপ্তি টেম্পলেটটির পক্ষে অ্যান্ড্রয়েড 5.0 থেকে অবমূল্যায়িত হয় যা মিডিয়া অ্যাপ্লিকেশনগুলিকে লক স্ক্রিনে প্রদর্শিত প্লেব্যাক নিয়ন্ত্রণগুলির সাথে সংহত করতে দেয় [ সংস্থানসমূহ, 35 ]। ডিভাইস বাস্তবায়নগুলি যা লক স্ক্রিনকে সমর্থন করে, যদি না অ্যান্ড্রয়েড স্বয়ংচালিত বা ওয়াচ বাস্তবায়ন না করে, মিডিয়া বিজ্ঞপ্তি টেমপ্লেট সহ লকস্ক্রিন বিজ্ঞপ্তিগুলি প্রদর্শন করতে হবে।

3.8.11। স্বপ্ন

অ্যান্ড্রয়েডে ড্রিমস [ রিসোর্স, 36 ] নামে ইন্টারেক্টিভ স্ক্রিনসেভারগুলির জন্য সমর্থন অন্তর্ভুক্ত রয়েছে। স্বপ্নগুলি ব্যবহারকারীদের অ্যাপ্লিকেশনগুলির সাথে ইন্টারঅ্যাক্ট করতে দেয় যখন কোনও পাওয়ার উত্সের সাথে সংযুক্ত কোনও ডিভাইস নিষ্ক্রিয় বা ডেস্ক ডকে ডক করা হয়। অ্যান্ড্রয়েড ওয়াচ ডিভাইসগুলি স্বপ্নগুলি বাস্তবায়ন করতে পারে তবে অন্যান্য ধরণের ডিভাইস বাস্তবায়নের মধ্যে স্বপ্নের জন্য সমর্থন অন্তর্ভুক্ত করা উচিত এবং ব্যবহারকারীদের জন্য অ্যান্ড্রয়েড.সেটিংস.ডিম_সেটেটিং ইনটেন্টের প্রতিক্রিয়া হিসাবে স্বপ্নগুলি কনফিগার করার জন্য একটি সেটিংস বিকল্প সরবরাহ করা উচিত।

3.8.12। অবস্থান

যখন কোনও ডিভাইসে একটি হার্ডওয়্যার সেন্সর (যেমন জিপিএস) থাকে যা অবস্থানের স্থানাঙ্ক সরবরাহ করতে সক্ষম হয়, তখন অবস্থান মোডগুলি সেটিংসের মধ্যে অবস্থান মেনুতে প্রদর্শিত হতে হবে [ সংস্থানসমূহ, ৩ ]]।

3.8.13। ইউনিকোড এবং ফন্ট

অ্যান্ড্রয়েডে রঙ ইমোজি চরিত্রগুলির জন্য সমর্থন অন্তর্ভুক্ত রয়েছে। যখন অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নে একটি আইএমই অন্তর্ভুক্ত থাকে, ডিভাইসগুলি ইউনিকোড 6.1 [ সংস্থানসমূহ, 38 ] এ সংজ্ঞায়িত ইমোজি অক্ষরগুলির জন্য ব্যবহারকারীকে একটি ইনপুট পদ্ধতি সরবরাহ করা উচিত। সমস্ত ডিভাইসগুলি অবশ্যই এই ইমোজি অক্ষরগুলিকে রঙ গ্লাইফের রেন্ডার করতে সক্ষম হতে হবে।

অ্যান্ড্রয়েডে বিভিন্ন ওজন সহ রোবোটো 2 ফন্টের জন্য সমর্থন অন্তর্ভুক্ত রয়েছে-সানস-সেরিফ-পাতলা, সানস-সেরিফ-লাইট, সানস-সেরিফ-মিডিয়াম, সানস-সেরিফ-ব্ল্যাক, সানস-সেরিফ-কনন্ডেন্সড, সানস-সেরিফ-কনন্ডেন্সড-লাইট-যা ডিভাইসে উপলব্ধ ভাষাগুলির জন্য এবং লাতিন, গ্রীক এবং সিরিলিকের সম্পূর্ণ ইউনিকোড 7.0 কভারেজ, লাতিন প্রসারিত এ, বি, সি, এবং ডি রেঞ্জ এবং ইউনিকোড 7.0 এর মুদ্রা প্রতীক ব্লকের সমস্ত গ্লাইফগুলি অন্তর্ভুক্ত করতে হবে।

3.9। ডিভাইস প্রশাসন

অ্যান্ড্রয়েডে এমন বৈশিষ্ট্য অন্তর্ভুক্ত রয়েছে যা সুরক্ষা-সচেতন অ্যাপ্লিকেশনগুলিকে সিস্টেম পর্যায়ে ডিভাইস প্রশাসনের কার্য সম্পাদন করতে দেয়, যেমন পাসওয়ার্ড নীতি প্রয়োগ করা বা অ্যান্ড্রয়েড ডিভাইস প্রশাসন এপিআই [ সংস্থানসমূহ, 39 ] এর মাধ্যমে পাসওয়ার্ড নীতিগুলি প্রয়োগ করা বা দূরবর্তী মুছা সম্পাদন করা। ডিভাইস বাস্তবায়নগুলি অবশ্যই ডিভাইসপলিসি ম্যানেজার শ্রেণীর একটি বাস্তবায়ন সরবরাহ করতে হবে [ সংস্থানসমূহ, ৪০ ]। ডিভাইস বাস্তবায়নগুলিতে পিন (সংখ্যা) বা পাসওয়ার্ড (আলফানিউমারিক) ভিত্তিক লক স্ক্রিনগুলির জন্য সমর্থন অন্তর্ভুক্ত রয়েছে অ্যান্ড্রয়েড এসডিকে ডকুমেন্টেশন [ সংস্থানসমূহ, 39 ] এ সংজ্ঞায়িত ডিভাইস প্রশাসনের নীতিগুলির সম্পূর্ণ পরিসীমা সমর্থন করতে হবে এবং প্ল্যাটফর্ম বৈশিষ্ট্যটি অ্যান্ড্রয়েড.সফটওয়্যার.ডেভাইস_এডমিন রিপোর্ট করবে।

ডিভাইস বাস্তবায়নের জন্য ডিভাইস প্রশাসনের ফাংশন সম্পাদন করে একটি প্রিন্সস্টল অ্যাপ্লিকেশন থাকতে পারে তবে এই অ্যাপ্লিকেশনটি অবশ্যই ডিফল্ট ডিভাইস মালিক অ্যাপ্লিকেশন [ সংস্থানসমূহ, 41 ] হিসাবে বাক্সের বাইরে সেট করা উচিত নয়।

3.10। অ্যাক্সেসযোগ্যতা

অ্যান্ড্রয়েড একটি অ্যাক্সেসযোগ্যতা স্তর সরবরাহ করে যা প্রতিবন্ধী ব্যবহারকারীদের তাদের ডিভাইসগুলি আরও সহজেই নেভিগেট করতে সহায়তা করে। তদতিরিক্ত, অ্যান্ড্রয়েড প্ল্যাটফর্ম এপিআই সরবরাহ করে যা অ্যাক্সেসিবিলিটি পরিষেবা বাস্তবায়নগুলি ব্যবহারকারী এবং সিস্টেম ইভেন্টগুলির জন্য কলব্যাকগুলি গ্রহণ করতে এবং পাঠ্য-থেকে-স্পিচ, হ্যাপটিক প্রতিক্রিয়া এবং ট্র্যাকবল/ডি-প্যাড নেভিগেশন [ সংস্থানসমূহ, 42 ] এর মতো বিকল্প প্রতিক্রিয়া প্রক্রিয়া তৈরি করতে সক্ষম করে।

ডিভাইস বাস্তবায়নের মধ্যে নিম্নলিখিত প্রয়োজনীয়তা অন্তর্ভুক্ত রয়েছে:

  • অ্যান্ড্রয়েড স্বয়ংচালিত বাস্তবায়নগুলি ডিফল্ট অ্যান্ড্রয়েড বাস্তবায়নের সাথে সামঞ্জস্য রেখে অ্যান্ড্রয়েড অ্যাক্সেসযোগ্যতা কাঠামোর একটি বাস্তবায়ন সরবরাহ করা উচিত।
  • ডিভাইস বাস্তবায়ন (অ্যান্ড্রয়েড অটোমোটিভ বাদ দেওয়া) অবশ্যই ডিফল্ট অ্যান্ড্রয়েড বাস্তবায়নের সাথে সামঞ্জস্য রেখে অ্যান্ড্রয়েড অ্যাক্সেসযোগ্যতা কাঠামোর একটি বাস্তবায়ন সরবরাহ করতে হবে।
  • ডিভাইস বাস্তবায়ন (অ্যান্ড্রয়েড অটোমোটিভ বাদ দেওয়া) অবশ্যই অ্যান্ড্রয়েডের মাধ্যমে তৃতীয় পক্ষের অ্যাক্সেসিবিলিটি পরিষেবা বাস্তবায়নগুলিকে সমর্থন করতে হবে acc
  • ডিভাইস বাস্তবায়ন (অ্যান্ড্রয়েড অটোমোটিভ বাদে) অবশ্যই অ্যাক্সেসিবিলিটিভেন্টস তৈরি করতে হবে এবং এই ইভেন্টগুলি সমস্ত নিবন্ধিত অ্যাক্সেসিবিলিটি সার্ভিস বাস্তবায়নে ডিফল্ট অ্যান্ড্রয়েড বাস্তবায়নের সাথে সামঞ্জস্য রেখে সরবরাহ করতে হবে
  • ডিভাইস বাস্তবায়ন (অ্যান্ড্রয়েড অটোমোটিভ এবং অ্যান্ড্রয়েড ওয়াচ ডিভাইসগুলি কোনও অডিও আউটপুট বাদ নেই), অ্যাক্সেসিবিলিটি পরিষেবাগুলি সক্ষম ও অক্ষম করার জন্য একটি ব্যবহারকারী-অ্যাক্সেসযোগ্য প্রক্রিয়া সরবরাহ করতে হবে এবং অ্যান্ড্রয়েড.প্রোভাইডার.সেসটিংস.অ্যাকসিবিলিটি_সেটিংস ইনটেন্টের প্রতিক্রিয়া হিসাবে এই ইন্টারফেসটি প্রদর্শন করতে হবে।

অতিরিক্তভাবে, ডিভাইস বাস্তবায়নগুলি ডিভাইসে অ্যাক্সেসযোগ্যতা পরিষেবার প্রয়োগ সরবরাহ করা উচিত এবং ডিভাইস সেটআপের সময় অ্যাক্সেসযোগ্যতা পরিষেবা সক্ষম করার জন্য ব্যবহারকারীদের জন্য একটি ব্যবস্থা সরবরাহ করা উচিত। আইস ফ্রি প্রকল্প [ সংস্থানসমূহ, 44 ] থেকে অ্যাক্সেসিবিলিটি পরিষেবার একটি ওপেন সোর্স বাস্তবায়ন পাওয়া যায়।

3.11। টেক্সট-টু-স্পিচ

অ্যান্ড্রয়েডের মধ্যে এপিআই অন্তর্ভুক্ত রয়েছে যা অ্যাপ্লিকেশনগুলিকে পাঠ্য-থেকে-স্পিচ (টিটিএস) পরিষেবাগুলি ব্যবহার করার অনুমতি দেয় এবং পরিষেবা সরবরাহকারীদের টিটিএস পরিষেবাদির বাস্তবায়ন সরবরাহ করতে দেয় [ সংস্থানসমূহ, 45 ]। ডিভাইস বাস্তবায়নগুলি অ্যান্ড্রয়েড.হার্ডওয়্যার.আডিয়ো.আউটপুট বৈশিষ্ট্যটি প্রতিবেদন করে অবশ্যই অ্যান্ড্রয়েড টিটিএস ফ্রেমওয়ার্ক সম্পর্কিত এই প্রয়োজনীয়তাগুলি পূরণ করতে হবে।

অ্যান্ড্রয়েড স্বয়ংচালিত বাস্তবায়ন:

  • অ্যান্ড্রয়েড টিটিএস ফ্রেমওয়ার্ক এপিআইগুলিকে সমর্থন করতে হবে।
  • তৃতীয় পক্ষের টিটিএস ইঞ্জিনগুলির ইনস্টলেশন সমর্থন করতে পারে। যদি সমর্থিত হয় তবে অংশীদারদের অবশ্যই একটি ব্যবহারকারী-অ্যাক্সেসযোগ্য ইন্টারফেস সরবরাহ করতে হবে যা ব্যবহারকারীকে সিস্টেম পর্যায়ে ব্যবহারের জন্য একটি টিটিএস ইঞ্জিন নির্বাচন করতে দেয়।

অন্যান্য সমস্ত ডিভাইস বাস্তবায়ন:

  • অ্যান্ড্রয়েড টিটিএস ফ্রেমওয়ার্ক এপিআইগুলিকে সমর্থন করতে হবে এবং ডিভাইসে উপলব্ধ ভাষাগুলিকে সমর্থন করে এমন একটি টিটিএস ইঞ্জিন অন্তর্ভুক্ত করা উচিত। নোট করুন যে উজান অ্যান্ড্রয়েড ওপেন সোর্স সফ্টওয়্যারটিতে একটি পূর্ণ বৈশিষ্ট্যযুক্ত টিটিএস ইঞ্জিন বাস্তবায়ন অন্তর্ভুক্ত রয়েছে।
  • তৃতীয় পক্ষের টিটিএস ইঞ্জিনগুলির ইনস্টলেশন সমর্থন করতে হবে
  • অবশ্যই একটি ব্যবহারকারী-অ্যাক্সেসযোগ্য ইন্টারফেস সরবরাহ করতে হবে যা ব্যবহারকারীদের সিস্টেম পর্যায়ে ব্যবহারের জন্য একটি টিটিএস ইঞ্জিন নির্বাচন করতে দেয়

3.12। টিভি ইনপুট ফ্রেমওয়ার্ক

অ্যান্ড্রয়েড টেলিভিশন ইনপুট ফ্রেমওয়ার্ক (টিআইএফ) অ্যান্ড্রয়েড টেলিভিশন ডিভাইসে লাইভ সামগ্রী সরবরাহকে সহজতর করে। টিআইএফ অ্যান্ড্রয়েড টেলিভিশন ডিভাইসগুলি নিয়ন্ত্রণ করে এমন ইনপুট মডিউলগুলি তৈরি করতে একটি স্ট্যান্ডার্ড এপিআই সরবরাহ করে। অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নগুলি অবশ্যই টেলিভিশন ইনপুট ফ্রেমওয়ার্ক [ সংস্থানসমূহ, 46 ] সমর্থন করবে।

টিআইএফ সমর্থন করে এমন ডিভাইস বাস্তবায়নগুলি অবশ্যই প্ল্যাটফর্ম বৈশিষ্ট্যটি android.software.live_tv ঘোষণা করতে হবে।

4. অ্যাপ্লিকেশন প্যাকেজিং সামঞ্জস্য

ডিভাইস বাস্তবায়নগুলি অবশ্যই অফিসিয়াল অ্যান্ড্রয়েড এসডিকে অন্তর্ভুক্ত "এএপ্ট" সরঞ্জাম দ্বারা উত্পাদিত অ্যান্ড্রয়েড ".apk" ফাইলগুলি ইনস্টল এবং চালাতে হবে [ সংস্থানসমূহ, 47 ]।

ডিভাইসগুলির বাস্তবায়নগুলি অবশ্যই .apk [ সংস্থানসমূহ, 48 ], অ্যান্ড্রয়েড ম্যানিফেস্ট [ সংস্থানসমূহ, 49 ], ডালভিক বাইটকোড [ সংস্থানসমূহ, 20 ], বা রেন্ডারস্ক্রিপ্ট বাইটকোড ফর্ম্যাটগুলি এমনভাবে প্রসারিত করতে হবে না যা এই ফাইলগুলি সঠিকভাবে ইনস্টল করা এবং চালানো থেকে বিরত রাখতে পারে অন্যান্য সামঞ্জস্যপূর্ণ ডিভাইস।

5. মাল্টিমিডিয়া সামঞ্জস্যতা

5.1। মিডিয়া কোডেক

ডিভাইস বাস্তবায়নগুলি অবশ্যই অ্যান্ড্রয়েড এসডিকে ডকুমেন্টেশন [ রিসোর্স, 50 ] এ উল্লিখিত মূল মিডিয়া ফর্ম্যাটগুলিকে সমর্থন করতে হবে যেখানে এই নথিতে স্পষ্টভাবে অনুমোদিত। বিশেষত, ডিভাইস বাস্তবায়নগুলি অবশ্যই মিডিয়া ফর্ম্যাট, এনকোডার, ডিকোডার, ফাইলের ধরণ এবং নীচের টেবিলগুলিতে সংজ্ঞায়িত ধারক ফর্ম্যাটগুলিকে সমর্থন করবে এবং মিডিয়াকোডক্লিস্টের মাধ্যমে রিপোর্ট করা [ সংস্থানসমূহ, 112 ]। ডিভাইস বাস্তবায়নগুলি অবশ্যই তার ক্যামকর্ডপ্রোফাইলে রিপোর্ট করা সমস্ত প্রোফাইলগুলি ডিকোড করতে সক্ষম হতে হবে [ সংস্থানসমূহ, ১১৩ ]। এই সমস্ত কোডেকগুলি অ্যান্ড্রয়েড ওপেন সোর্স প্রকল্প থেকে পছন্দসই অ্যান্ড্রয়েড বাস্তবায়নে সফ্টওয়্যার বাস্তবায়ন হিসাবে সরবরাহ করা হয়।

দয়া করে মনে রাখবেন যে গুগল বা ওপেন হ্যান্ডসেট জোট কেউই কোনও উপস্থাপনা করে না যে এই কোডেকগুলি তৃতীয় পক্ষের পেটেন্টগুলি থেকে মুক্ত। হার্ডওয়্যার বা সফ্টওয়্যার পণ্যগুলিতে এই উত্স কোডটি ব্যবহার করার ইচ্ছা পোষণকারীদের পরামর্শ দেওয়া হয় যে ওপেন সোর্স সফ্টওয়্যার বা শেয়ারওয়্যার সহ এই কোডটির বাস্তবায়নের জন্য প্রাসঙ্গিক পেটেন্টধারীদের পেটেন্ট লাইসেন্সের প্রয়োজন হতে পারে।

5.1.1। অডিও কোডেক

ফর্ম্যাট/কোডেক এনকোডার ডিকোডার বিস্তারিত সমর্থিত ফাইল প্রকার/ধারক ফর্ম্যাট
এমপিইজি -4 এএসি প্রোফাইল

(এএসি এলসি)

প্রয়োজন 1 প্রয়োজন মনো/স্টেরিও/5.0/5.1 2 এর জন্য সমর্থন 8 থেকে 48 কেএইচজেডের স্ট্যান্ডার্ড স্যাম্পলিং হারের সাথে সামগ্রী।
  • 3 জিপিপি (.3 জিপি)
  • এমপিইজি -4 (.এমপি 4, .এম 4 এ)
  • ADTS কাঁচা এএসি (.aac, অ্যান্ড্রয়েড 3.1+ এ ডিকোড করুন, অ্যান্ড্রয়েড 4.0+ এ এনকোড, এডিআইএফ সমর্থিত নয়)
  • এমপিইজি-টিএস (.ts, সন্ধানযোগ্য নয়, অ্যান্ড্রয়েড 3.0+)
এমপিইজি -4 তিনি এএসি প্রোফাইল (এএসি+) প্রয়োজন 1
(অ্যান্ড্রয়েড 4.1+)
প্রয়োজন মনো/স্টেরিও/5.0/5.1 2 এর জন্য সমর্থন 16 থেকে 48 কিলাহার্টজ পর্যন্ত স্ট্যান্ডার্ড স্যাম্পলিং হারের সাথে সামগ্রী।
এমপিইজি -4 তিনি এএসিভি 2

প্রোফাইল (বর্ধিত এএসি+)

প্রয়োজন মনো/স্টেরিও/5.0/5.1 2 এর জন্য সমর্থন 16 থেকে 48 কিলাহার্টজ পর্যন্ত স্ট্যান্ডার্ড স্যাম্পলিং হারের সাথে সামগ্রী।
এএসি এল্ড (বর্ধিত কম বিলম্ব এএসি) প্রয়োজন 1

(অ্যান্ড্রয়েড 4.1+)

প্রয়োজন

(অ্যান্ড্রয়েড 4.1+)

16 থেকে 48 কেএইচজেডের স্ট্যান্ডার্ড স্যাম্পলিং হারের সাথে মনো/স্টেরিও সামগ্রীর জন্য সমর্থন।
এএমআর-এনবি প্রয়োজন 3 প্রয়োজন 3 4.75 থেকে 12.2 কেবিপিএস নমুনা @ 8kHz 3 জিপিপি (.3 জিপি)
AMR-WB প্রয়োজন 3 প্রয়োজন 3 6.60 কিবিট/এস থেকে 23.85 কিবিট/এস নমুনা @ 16kHz থেকে 9 টি হার
FLAC প্রয়োজন
(অ্যান্ড্রয়েড 3.1+)
মনো/স্টেরিও (কোনও মাল্টিচ্যানেল নেই)। 48 কেএইচজেড পর্যন্ত নমুনার হার (তবে 44.1 কেএইচজেডের আউটপুট সহ ডিভাইসগুলিতে 44.1 কেএইচজেড পর্যন্ত সুপারিশ করা হয়, কারণ 48 থেকে 44.1 কেএইচজেড ডাউনস্যাম্পলারে লো-পাস ফিল্টার অন্তর্ভুক্ত নয়)। 16-বিট প্রস্তাবিত; 24-বিটের জন্য কোনও আবেদন করা হয়নি। কেবল flac (.flac)
MP3 প্রয়োজন মনো/স্টেরিও 8-320 কেবিপিএস কনস্ট্যান্ট (সিবিআর) বা ভেরিয়েবল বিট্রেট (ভিবিআর) এমপি 3 (.এমপি 3)
MIDI প্রয়োজন এমআইডিআই টাইপ 0 এবং 1. ডিএলএস সংস্করণ 1 এবং 2. এক্সএমএফ এবং মোবাইল এক্সএমএফ। রিংটোন ফর্ম্যাটগুলি আরটিটিটিএল/আরটিএক্স, ওটিএ এবং ইমলোডি জন্য সমর্থন
  • 0 এবং 1 টাইপ করুন (.mid, .xmf, .mxmf)
  • আরটিটিএল/আরটিএক্স (.আরটিটিএল, .আরটিএক্স)
  • ওটা (.োটা)
  • আইমেলোডি (.আইএমওয়াই)
ভরবিস প্রয়োজন
  • Ogg (.ogg)
  • ম্যাট্রোস্কা (.mkv, অ্যান্ড্রয়েড 4.0+)
পিসিএম/ওয়েভ প্রয়োজনীয় 4
(অ্যান্ড্রয়েড 4.1+)
প্রয়োজন 16-বিট লিনিয়ার পিসিএম (হার্ডওয়ারের সীমা পর্যন্ত হার)। ডিভাইসগুলি অবশ্যই 8000, 11025, 16000 এবং 44100 হার্জ ফ্রিকোয়েন্সিগুলিতে কাঁচা পিসিএম রেকর্ডিংয়ের জন্য নমুনা হারকে সমর্থন করতে হবে। তরঙ্গ (.wav)
ওপাস প্রয়োজন
(অ্যান্ড্রয়েড 5.0+)
ম্যাট্রোস্কা (.mkv)

ডিভাইস বাস্তবায়নের জন্য 1 প্রয়োজনীয় যা android.hardware.microphone সংজ্ঞায়িত করে তবে অ্যান্ড্রয়েড ওয়াচ ডিভাইস বাস্তবায়নের জন্য al চ্ছিক।

2 কেবলমাত্র 5.0/5.1 সামগ্রীর ডাউনমিক্স প্রয়োজন; 2 টিরও বেশি চ্যানেলের রেকর্ডিং বা রেন্ডারিং al চ্ছিক।

অ্যান্ড্রয়েড হ্যান্ডহেল্ড ডিভাইস বাস্তবায়নের জন্য 3 প্রয়োজনীয়।

4 ডিভাইস বাস্তবায়নের জন্য প্রয়োজনীয় যা অ্যান্ড্রয়েড.হার্ডওয়্যার.মাইক্রোফোনকে সংজ্ঞায়িত করে, অ্যান্ড্রয়েড ওয়াচ ডিভাইস বাস্তবায়ন সহ।

5.1.2। ইমেজ কোডেক

ফর্ম্যাট/কোডেক এনকোডার ডিকোডার বিস্তারিত সমর্থিত ফাইল প্রকার/ধারক ফর্ম্যাট
জেপিইজি প্রয়োজন প্রয়োজন বেস+প্রগতিশীল Jpeg (.jpg)
জিআইএফ প্রয়োজন জিআইএফ (.gif)
পিএনজি প্রয়োজন প্রয়োজন পিএনজি (.পিএনজি)
বিএমপি প্রয়োজন বিএমপি (.বিএমপি)
ওয়েবপি প্রয়োজন প্রয়োজন ওয়েবপি (.উইবিপি)

5.1.3। ভিডিও কোডেক

ভিডিও কোডেকগুলি অ্যান্ড্রয়েড ওয়াচ ডিভাইস বাস্তবায়নের জন্য al চ্ছিক।

ফর্ম্যাট/কোডেক এনকোডার ডিকোডার বিস্তারিত সমর্থিত ফাইল প্রকার/
ধারক ফর্ম্যাট
H.263 প্রয়োজন 1 প্রয়োজনীয় 2
  • 3 জিপিপি (.3 জিপি)
  • এমপিইজি -4 (.এমপি 4)
এইচ .264 এভিসি প্রয়োজনীয় 2 প্রয়োজনীয় 2 বিশদের জন্য বিভাগ 5.2 এবং 5.3 দেখুন
  • 3 জিপিপি (.3 জিপি)
  • এমপিইজি -4 (.এমপি 4)
  • এমপিইজি-টিএস (.ts, কেবল এএসি অডিও, সন্ধানযোগ্য নয়, অ্যান্ড্রয়েড 3.0+)
এইচ .265 এইচইভিসি প্রয়োজন 5 বিশদের জন্য বিভাগ 5.3 দেখুন এমপিইজি -4 (.এমপি 4)
MPEG-4 SP প্রয়োজনীয় 2 3 জিপিপি (.3 জিপি)
ভিপি 8 3 প্রয়োজনীয় 2

(অ্যান্ড্রয়েড 4.3+)

প্রয়োজনীয় 2

(অ্যান্ড্রয়েড 2.3.3+)

বিশদের জন্য বিভাগ 5.2 এবং 5.3 দেখুন
VP9 প্রয়োজনীয় 2
(অ্যান্ড্রয়েড 4.4+)
বিশদের জন্য বিভাগ 5.3 দেখুন

ডিভাইস বাস্তবায়নের জন্য 1 প্রয়োজনীয় যা ক্যামেরা হার্ডওয়্যার অন্তর্ভুক্ত করে এবং অ্যান্ড্রয়েড.হার্ডওয়্যার.ক্যামেরা বা অ্যান্ড্রয়েড.হার্ডওয়্যার.ক্যামেরা.ফ্রন্টকে সংজ্ঞায়িত করে।

অ্যান্ড্রয়েড ওয়াচ ডিভাইস ব্যতীত ডিভাইস বাস্তবায়নের জন্য 2 প্রয়োজনীয়।

3 ওয়েব ভিডিও স্ট্রিমিং এবং ভিডিও-সম্মেলন পরিষেবাদির গ্রহণযোগ্য মানের জন্য, ডিভাইস বাস্তবায়নের একটি হার্ডওয়্যার ভিপি 8 কোডেক ব্যবহার করা উচিত যা [ সংস্থানসমূহ, ৫১ ] এর প্রয়োজনীয়তা পূরণ করে।

4 ডিভাইস বাস্তবায়নে ম্যাট্রোস্কা ওয়েবএম ফাইলগুলি লেখার পক্ষে সমর্থন করা উচিত।

5 অ্যান্ড্রয়েড অটোমোটিভের জন্য দৃ strongly ়ভাবে প্রস্তাবিত, অ্যান্ড্রয়েড ঘড়ির জন্য al চ্ছিক এবং অন্যান্য সমস্ত ডিভাইসের ধরণের জন্য প্রয়োজনীয়।

5.2। ভিডিও এনকোডিং

ভিডিও কোডেকগুলি অ্যান্ড্রয়েড ওয়াচ ডিভাইস বাস্তবায়নের জন্য al চ্ছিক।

এইচ .264 কোডেক সমর্থন সহ অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নগুলি অবশ্যই বেসলাইন প্রোফাইল স্তর 3 এবং নিম্নলিখিত এসডি (স্ট্যান্ডার্ড সংজ্ঞা) ভিডিও এনকোডিং প্রোফাইলগুলি সমর্থন করতে হবে এবং প্রধান প্রোফাইল স্তর 4 এবং নিম্নলিখিত এইচডি (উচ্চ সংজ্ঞা) ভিডিও এনকোডিং প্রোফাইলগুলি সমর্থন করতে হবে। অ্যান্ড্রয়েড টেলিভিশন ডিভাইসগুলি 30 এফপিএসে এইচডি 1080p ভিডিও এনকোড করার জন্য দৃ strongly ়ভাবে সুপারিশ করা হয়।

এসডি (নিম্ন মানের) এসডি (উচ্চ মানের) এইচডি 720p1 এইচডি 1080p1
ভিডিও রেজল্যুশন 320 এক্স 240 পিএক্স 720 এক্স 480 পিএক্স 1280 x 720 পিক্সেল 1920 x 1080 পিক্সেল
ভিডিও ফ্রেম রেট 20 fps 30 fps 30 fps 30 fps
ভিডিও বিট্রেট 384 কেবিপিএস 2 এমবিপিএস 4 এমবিপিএস 10 Mbps

1 যখন হার্ডওয়্যার দ্বারা সমর্থিত হয় তবে অ্যান্ড্রয়েড টেলিভিশন ডিভাইসের জন্য দৃ strongly ়ভাবে প্রস্তাবিত।

ভিপি 8 কোডেক সমর্থন সহ অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নগুলি অবশ্যই এসডি ভিডিও এনকোডিং প্রোফাইলগুলিকে সমর্থন করবে এবং নিম্নলিখিত এইচডি (উচ্চ সংজ্ঞা) ভিডিও এনকোডিং প্রোফাইলগুলি সমর্থন করবে।

এসডি (নিম্ন মানের) এসডি (উচ্চ মানের) এইচডি 720p1 এইচডি 1080p1
ভিডিও রেজল্যুশন 320 x 180 পিএক্স 640 x 360 পিএক্স 1280 x 720 পিক্সেল 1920 x 1080 পিক্সেল
ভিডিও ফ্রেম রেট 30 fps 30 fps 30 fps 30 fps
ভিডিও বিট্রেট 800 কেবিপিএস 2 এমবিপিএস 4 এমবিপিএস 10 Mbps

1 যখন হার্ডওয়্যার দ্বারা সমর্থিত।

5.3। ভিডিও ডিকোডিং

ভিডিও কোডেকগুলি অ্যান্ড্রয়েড ওয়াচ ডিভাইস বাস্তবায়নের জন্য al চ্ছিক।

ডিভাইস বাস্তবায়নগুলি অবশ্যই সমস্ত ভিপি 8, ভিপি 9, এইচ .264, এবং এইচ .265 কোডেকগুলির জন্য স্ট্যান্ডার্ড অ্যান্ড্রয়েড এপিআইয়ের মাধ্যমে বিকাশকারীদের কাছে উন্মুক্ত H.265 কোডেকগুলির জন্য একই স্ট্রিমের মধ্যে গতিশীল ভিডিও রেজোলিউশন স্যুইচিংকে সমর্থন করতে হবে।

এইচ .264 ডিকোডারগুলির সাথে অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নগুলি অবশ্যই বেসলাইন প্রোফাইল স্তর 3 এবং নিম্নলিখিত এসডি ভিডিও ডিকোডিং প্রোফাইলগুলি সমর্থন করতে হবে এবং এইচডি ডিকোডিং প্রোফাইলগুলি সমর্থন করতে হবে। অ্যান্ড্রয়েড টেলিভিশন ডিভাইসগুলি অবশ্যই হাই প্রোফাইল স্তর 4.2 এবং এইচডি 1080p ডিকোডিং প্রোফাইলকে সমর্থন করতে হবে।

এসডি (নিম্ন মানের) এসডি (উচ্চ মানের) এইচডি 720p1 এইচডি 1080p1
ভিডিও রেজল্যুশন 320 এক্স 240 পিএক্স 720 এক্স 480 পিএক্স 1280 x 720 পিক্সেল 1920 x 1080 পিক্সেল
ভিডিও ফ্রেম রেট 30 fps 30 fps 30 এফপিএস / 60 এফপিএস 2 30 এফপিএস / 60 এফপিএস 2
ভিডিও বিট্রেট 800 কেবিপিএস 2 এমবিপিএস 8 এমবিপিএস 20 Mbps

অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নের জন্য 1 প্রয়োজনীয়, তবে অন্যান্য ডিভাইসের ধরণের জন্য কেবল যখন হার্ডওয়্যার দ্বারা সমর্থিত হয়।

অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নের জন্য 2 প্রয়োজনীয়।

অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নগুলি বিভাগ 5.1.3 -এ বর্ণিত ভিপি 8 কোডেককে সমর্থন করার সময়, নিম্নলিখিত এসডি ডিকোডিং প্রোফাইলগুলিকে সমর্থন করতে হবে এবং এইচডি ডিকোডিং প্রোফাইলগুলিকে সমর্থন করতে হবে। অ্যান্ড্রয়েড টেলিভিশন ডিভাইসগুলি অবশ্যই এইচডি 1080p ডিকোডিং প্রোফাইলকে সমর্থন করবে।

এসডি (নিম্ন মানের) এসডি (উচ্চ মানের) এইচডি 720p1 এইচডি 1080p1
ভিডিও রেজল্যুশন 320 x 180 পিএক্স 640 x 360 পিএক্স 1280 x 720 পিক্সেল 1920 x 1080 পিক্সেল
ভিডিও ফ্রেম রেট 30 fps 30 fps 30 এফপিএস / 60 এফপিএস 2 30 /60 এফপিএস 2
ভিডিও বিট্রেট 800 কেবিপিএস 2 এমবিপিএস 8 এমবিপিএস 20 Mbps

অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নের জন্য 1 প্রয়োজনীয়, তবে হার্ডওয়্যার দ্বারা সমর্থিত যখন অন্য ধরণের ডিভাইসের জন্য।

অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নের জন্য 2 প্রয়োজনীয়।

অ্যান্ড্রয়েড ডিভাইস বাস্তবায়ন, বিভাগ 5.1.3 -এ বর্ণিত ভিপি 9 কোডেককে সমর্থন করার সময়, নিম্নলিখিত এসডি ভিডিও ডিকোডিং প্রোফাইলগুলিকে সমর্থন করতে হবে এবং এইচডি ডিকোডিং প্রোফাইলগুলিকে সমর্থন করতে হবে। অ্যান্ড্রয়েড টেলিভিশন ডিভাইসগুলি এইচডি 1080p ডিকোডিং প্রোফাইল সমর্থন করার জন্য দৃ strongly ়ভাবে সুপারিশ করা হয় এবং ইউএইচডি ডিকোডিং প্রোফাইলকে সমর্থন করা উচিত। যখন ইউএইচডি ভিডিও ডিকোডিং প্রোফাইল সমর্থিত হয়, তখন এটি অবশ্যই 8 বিট রঙের গভীরতা সমর্থন করে।

এসডি (নিম্ন মানের) এসডি (উচ্চ মানের) এইচডি 720p 1 এইচডি 1080p 2 উহড 2
ভিডিও রেজল্যুশন 320 x 180 পিএক্স 640 x 360 পিএক্স 1280 x 720 পিক্সেল 1920 x 1080 পিক্সেল 3840 x 2160 পিক্সেল
ভিডিও ফ্রেম রেট 30 fps 30 fps 30 fps 30 fps 30 fps
ভিডিও বিট্রেট 600 Kbps 1.6 এমবিপিএস 4 এমবিপিএস 10 Mbps 20 Mbps

অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নের জন্য 1 প্রয়োজনীয়, তবে হার্ডওয়্যার দ্বারা সমর্থিত যখন অন্য ধরণের ডিভাইসের জন্য।

2 হার্ডওয়্যার দ্বারা সমর্থিত হলে অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নের জন্য দৃ strongly ়ভাবে প্রস্তাবিত।

অ্যান্ড্রয়েড ডিভাইস বাস্তবায়ন, যখন বিভাগ 5.1.3 -এ বর্ণিত H.265 কোডেককে সমর্থন করার সময়, মূল প্রোফাইল স্তর 3 প্রধান স্তর এবং নিম্নলিখিত এসডি ভিডিও ডিকোডিং প্রোফাইলগুলি সমর্থন করতে হবে এবং এইচডি ডিকোডিং প্রোফাইলগুলি সমর্থন করতে হবে। অ্যান্ড্রয়েড টেলিভিশন ডিভাইসগুলির মূল 10 স্তর 5 প্রধান স্তরের প্রোফাইল এবং ইউএইচডি ডিকোডিং প্রোফাইল সমর্থন করা উচিত। অ্যান্ড্রয়েড টেলিভিশন ডিভাইসগুলি এইচডি 1080p ডিকোডিং প্রোফাইলকে সমর্থন করার জন্য দৃ strongly ়ভাবে সুপারিশ করা হয়। যদি এইচডি 1080p ডিকোডিং প্রোফাইলটি সমর্থিত হয় তবে এটি অবশ্যই মূল প্রোফাইল স্তর 4.1 মূল স্তরটিকে সমর্থন করবে

এসডি (নিম্ন মানের) এসডি (উচ্চ মানের) এইচডি 720p 1 এইচডি 1080p 2 উহড 2
ভিডিও রেজল্যুশন 352 এক্স 288 পিএক্স 640 x 360 পিএক্স 1280 x 720 পিক্সেল 1920 x 1080 পিক্সেল 3840 x 2160 পিক্সেল
ভিডিও ফ্রেম রেট 30 fps 30 fps 30 fps 30 fps 30 fps
ভিডিও বিট্রেট 600 Kbps 1.6 এমবিপিএস 4 এমবিপিএস 10 Mbps 20 Mbps

অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নের জন্য 1 প্রয়োজনীয়, তবে হার্ডওয়্যার দ্বারা সমর্থিত যখন অন্য ধরণের ডিভাইসের জন্য।

2 হার্ডওয়্যার দ্বারা সমর্থিত হলে অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নের জন্য দৃ strongly ়ভাবে প্রস্তাবিত।

5.4। অডিও রেকর্ডিং

যদিও এই বিভাগে বর্ণিত কিছু প্রয়োজনীয়তা অ্যান্ড্রয়েড ৪.৩ এর পর থেকে বলা হয়েছে, ভবিষ্যতের সংস্করণের জন্য সামঞ্জস্যতা সংজ্ঞাটি এগুলিকে অবশ্যই পরিবর্তন করার পরিকল্পনা করা হয়েছে। বিদ্যমান এবং নতুন অ্যান্ড্রয়েড ডিভাইসগুলি এই প্রয়োজনীয়তাগুলি পূরণ করার জন্য দৃ strongly ়ভাবে সুপারিশ করা হয় যা বলা উচিত, বা ভবিষ্যতের সংস্করণে আপগ্রেড করার সময় তারা অ্যান্ড্রয়েডের সামঞ্জস্যতা অর্জন করতে সক্ষম হবে না।

5.4.1। কাঁচা অডিও ক্যাপচার

ডিভাইস বাস্তবায়ন যা android.hardware.microphone ঘোষণা করে যা অবশ্যই নিম্নলিখিত বৈশিষ্ট্যগুলি সহ কাঁচা অডিও সামগ্রী ক্যাপচারের অনুমতি দিতে হবে:

  • ফর্ম্যাট : লিনিয়ার পিসিএম, 16-বিট
  • নমুনা হার : 8000, 11025, 16000, 44100
  • চ্যানেল : মনো

ডিভাইস বাস্তবায়ন যা android.hardware.microphone ঘোষণা করে যা নিম্নলিখিত বৈশিষ্ট্যগুলি সহ কাঁচা অডিও সামগ্রী ক্যাপচারের অনুমতি দেওয়া উচিত:

  • ফর্ম্যাট : লিনিয়ার পিসিএম, 16-বিট
  • নমুনা হার : 22050, 48000
  • চ্যানেল : স্টেরিও

5.4.2। ভয়েস স্বীকৃতি জন্য ক্যাপচার

উপরোক্ত রেকর্ডিং স্পেসিফিকেশন ছাড়াও, যখন কোনও অ্যাপ্লিকেশন android.media.mediarecorder.audiosource.voice_recognition অডিও উত্স ব্যবহার করে একটি অডিও স্ট্রিম রেকর্ডিং শুরু করেছে:

  • ডিভাইসটির প্রায় ফ্ল্যাট প্রশস্ততা বনাম ফ্রিকোয়েন্সি বৈশিষ্ট্যগুলি প্রদর্শন করা উচিত: বিশেষত, ± 3 ডিবি, 100 হার্জ থেকে 4000 হার্জ থেকে।
  • অডিও ইনপুট সংবেদনশীলতা এমন সেট করা উচিত যে 90 ডিবি সাউন্ড পাওয়ার লেভেল (এসপিএল) উত্স 1000 হার্জ এ 16-বিট নমুনার জন্য 2500 এর আরএমএস ফলন করে।
  • পিসিএম প্রশস্ততা স্তরগুলি মাইক্রোফোনে -18 ডিবি থেকে +12 ডিবি আরই 90 ডিবি এসপিএল থেকে কমপক্ষে 30 ডিবি রেঞ্জের উপর লিনিয়ারলি ট্র্যাক ইনপুট এসপিএল পরিবর্তনগুলি ট্র্যাক করা উচিত।
  • মাইক্রোফোনে 90 ডিবি এসপিএল ইনপুট স্তরে 1KHz এর জন্য মোট সুরেলা বিকৃতি 1% এর চেয়ে কম হওয়া উচিত।
  • শব্দ হ্রাস প্রক্রিয়াজাতকরণ, উপস্থিত থাকলে অবশ্যই অক্ষম করা উচিত।
  • স্বয়ংক্রিয় লাভ নিয়ন্ত্রণ, যদি উপস্থিত থাকে তবে অবশ্যই অক্ষম করা উচিত

যদি প্ল্যাটফর্মটি স্পিচ স্বীকৃতির জন্য টিউন করা শব্দের দমন প্রযুক্তিগুলিকে সমর্থন করে তবে প্রভাবটি অবশ্যই অ্যান্ড্রয়েড.মিডিয়া.এডিয়ফেক্স.নোসিসপেসার এপিআই থেকে নিয়ন্ত্রণযোগ্য হতে হবে। তদুপরি, শব্দ দমনকারীর প্রভাব বর্ণনাকারীর জন্য ইউইউআইডি ক্ষেত্রটি অবশ্যই শব্দের দমন প্রযুক্তির প্রতিটি বাস্তবায়নকে অনন্যভাবে সনাক্ত করতে হবে।

5.4.3। প্লেব্যাক পুনর্নির্মাণের জন্য ক্যাপচার

অ্যান্ড্রয়েড.মিডিয়া.মিডিয়ারক্ডার.অডিয়োসোর্স ক্লাসে রিমোট_সুবমিক্স অডিও উত্স অন্তর্ভুক্ত রয়েছে। যে ডিভাইসগুলি android.hardware.audio.output ঘোষণা করে তা অবশ্যই রিমোট_সুবমিক্স অডিও উত্সটি সঠিকভাবে প্রয়োগ করতে হবে যাতে এই অডিও উত্স থেকে রেকর্ড করার জন্য যখন কোনও অ্যাপ্লিকেশন android.media.audiorecord এপিআই ব্যবহার করে, এটি নিম্নলিখিত অডিও স্ট্রিমগুলির মিশ্রণটি ক্যাপচার করতে পারে :

  • স্ট্রিম_রিং
  • স্ট্রিম_আলার্ম
  • স্ট্রিম_নোটিফিকেশন

5.5। অডিও প্লেব্যাক

ডিভাইস বাস্তবায়ন যা android.hardware.audio.output ঘোষণা করে যা এই বিভাগের প্রয়োজনীয়তা মেনে চলতে হবে।

5.5.1। কাঁচা অডিও প্লেব্যাক

ডিভাইসটি অবশ্যই নিম্নলিখিত বৈশিষ্ট্যগুলি সহ কাঁচা অডিও সামগ্রীর প্লেব্যাকের অনুমতি দিতে হবে:

  • ফর্ম্যাট : লিনিয়ার পিসিএম, 16-বিট
  • নমুনা হার : 8000, 11025, 16000, 22050, 32000, 44100
  • চ্যানেল : মনো, স্টেরিও

ডিভাইসটির নিম্নলিখিত বৈশিষ্ট্যগুলি সহ কাঁচা অডিও সামগ্রীর প্লেব্যাকের অনুমতি দেওয়া উচিত:

  • নমুনা হার : 24000, 48000

5.5.2। অডিও প্রভাব

অ্যান্ড্রয়েড ডিভাইস বাস্তবায়নের জন্য অডিও প্রভাবগুলির জন্য একটি এপিআই সরবরাহ করে [ সংস্থানসমূহ, 52 ]। ডিভাইস বাস্তবায়নগুলি যা অ্যান্ড্রয়েড.হার্ডওয়্যার.আডিয়ো.আউটপুট বৈশিষ্ট্যটি ঘোষণা করে:

  • অডিওফেক্ট সাবক্লাসস ইকুয়ালাইজার, লাউডনেসেনহ্যান্সারের মাধ্যমে নিয়ন্ত্রণযোগ্য প্রভাব_ টাইপ_ক্যালাইজার এবং এফেক্ট_ টাইপ_লডনেস_ইনহ্যান্সার বাস্তবায়নগুলি অবশ্যই সমর্থন করতে হবে।
  • ভিজ্যুয়ালাইজার শ্রেণীর মাধ্যমে নিয়ন্ত্রণযোগ্য, ভিজ্যুয়ালাইজার এপিআই বাস্তবায়নকে সমর্থন করতে হবে।
  • এফেক্ট_ টাইপ_বাস_ বুস্ট, এফেক্ট_ টাইপ_এনভি_আরভের্ব, এফেক্ট_প্রেসেট_প্রেসেট_রেভারব, এবং এফেক্ট_ টাইপ_ভির্টুয়ালাইজার বাস্তবায়নগুলি অডিওফেক্ট সাব-ক্লাস বাসসবুস্ট, এনভায়রনমেন্টালরেভারব, প্রিসেটেটভারব এবং ভার্চুয়ালাইজারের মাধ্যমে নিয়ন্ত্রণযোগ্য।

5.5.3। অডিও আউটপুট ভলিউম

অ্যান্ড্রয়েড টেলিভিশন ডিভাইস বাস্তবায়নে অবশ্যই সিস্টেম মাস্টার ভলিউম এবং ডিজিটাল অডিও আউটপুট ভলিউম অ্যাটেনুয়েশন সাপোর্টেড আউটপুটগুলিতে সমর্থন অন্তর্ভুক্ত থাকতে হবে, সংকুচিত অডিও পাসথ্রু আউটপুট ব্যতীত (যেখানে ডিভাইসে কোনও অডিও ডিকোডিং করা হয় না)।

5.6। অডিও লেটেন্সি

অডিও লেটেন্সি হ'ল অডিও সিগন্যাল কোনও সিস্টেমের মধ্য দিয়ে যাওয়ার সাথে সাথে সময় বিলম্ব। রিয়েল-টাইম সাউন্ড এফেক্টগুলি অর্জনের জন্য অ্যাপ্লিকেশনগুলির অনেক শ্রেণি সংক্ষিপ্ত বিলম্বের উপর নির্ভর করে।

এই বিভাগের উদ্দেশ্যে, নিম্নলিখিত সংজ্ঞাগুলি ব্যবহার করুন:

  • আউটপুট বিলম্ব । যখন কোনও অ্যাপ্লিকেশন পিসিএম-কোডেড ডেটার একটি ফ্রেম লেখেন এবং যখন সম্পর্কিত শব্দটি কোনও বাহ্যিক শ্রোতার দ্বারা শোনা যায় বা ট্রান্সডুসার দ্বারা পর্যবেক্ষণ করা যায় তখন এর মধ্যে ব্যবধান।
  • ঠান্ডা আউটপুট বিলম্ব । প্রথম ফ্রেমের জন্য আউটপুট ল্যাটেন্সি, যখন অডিও আউটপুট সিস্টেমটি অনুরোধের আগে নিষ্ক্রিয় এবং চালিত হয়।
  • অবিচ্ছিন্ন আউটপুট বিলম্ব । ডিভাইসটি অডিও খেলার পরে পরবর্তী ফ্রেমগুলির জন্য আউটপুট ল্যাটেন্সি।
  • ইনপুট বিলম্ব । যখন কোনও বাহ্যিক শব্দ ডিভাইসে উপস্থাপন করা হয় এবং যখন কোনও অ্যাপ্লিকেশন পিসিএম-কোডেড ডেটার সংশ্লিষ্ট ফ্রেমটি পড়ে তখন বিরতি।
  • ঠান্ডা ইনপুট বিলম্ব । প্রথম ফ্রেমের জন্য হারানো ইনপুট সময় এবং ইনপুট ল্যাটেন্সির যোগফল, যখন অডিও ইনপুট সিস্টেমটি অনুরোধের আগে অলস এবং চালিত হয়।
  • অবিচ্ছিন্ন ইনপুট বিলম্ব । পরবর্তী ফ্রেমের জন্য ইনপুট বিলম্বিতা, যখন ডিভাইসটি অডিও ক্যাপচার করছে।
  • ঠান্ডা আউটপুট জিটার । ঠান্ডা আউটপুট বিলম্বিত মানগুলির পৃথক পরিমাপের মধ্যে বৈকল্পিকতা।
  • ঠান্ডা ইনপুট জিটার । ঠান্ডা ইনপুট বিলম্বিত মানগুলির পৃথক পরিমাপের মধ্যে বৈকল্পিকতা।
  • অবিচ্ছিন্ন রাউন্ড ট্রিপ বিলম্ব । অবিচ্ছিন্ন ইনপুট লেটেন্সি প্লাস অবিচ্ছিন্ন আউটপুট ল্যাটেন্সি প্লাস 5 মিলিসেকেন্ডের যোগফল।
  • ওপেনএসএল ইএস পিসিএম বাফার সারি এপিআই । অ্যান্ড্রয়েড এনডিকে-র মধ্যে পিসিএম-সম্পর্কিত ওপেনস্ল এস এপিআইগুলির সেট; ndk_root/ডকস/ওপেনসেলস/সূচক html দেখুন।

ডিভাইস বাস্তবায়ন যা android.hardware.audio.output ঘোষণা করে এই অডিও আউটপুট প্রয়োজনীয়তা পূরণ বা অতিক্রম করা উচিত:

  • 100 মিলিসেকেন্ড বা তার চেয়ে কম শীতের আউটপুট বিলম্ব
  • 45 মিলিসেকেন্ড বা তার চেয়ে কম অবিচ্ছিন্ন আউটপুট বিলম্ব
  • ঠান্ডা আউটপুট জিটার হ্রাস করুন

অবিচ্ছিন্ন আউটপুট লেটেন্সি এবং কোল্ড আউটপুট ল্যাটেন্সির জন্য কমপক্ষে একটি সমর্থিত অডিও আউটপুট ডিভাইসের জন্য যদি কোনও ডিভাইস বাস্তবায়ন ওপেনসএল ইএস পিসিএম বাফার কুইউ এপিআই ব্যবহার করার সময় কোনও প্রাথমিক ক্রমাঙ্কনের পরে এই বিভাগের প্রয়োজনীয়তা পূরণ করে তবে এটি কম-লেটেন্সি অডিওর জন্য সমর্থন প্রতিবেদন করতে পারে , android.content.pm.packagemanager শ্রেণীর [ সংস্থান, 53 ] এর মাধ্যমে অ্যান্ড্রয়েড.এইউইও.লো_ল্যাটিেন্সি বৈশিষ্ট্যটি প্রতিবেদন করে। বিপরীতে, যদি ডিভাইস বাস্তবায়ন এই প্রয়োজনীয়তাগুলি পূরণ না করে তবে এটি অবশ্যই কম-ল্যাটেন্সি অডিওর জন্য সমর্থন রিপোর্ট করবে না।

অ্যান্ড্রয়েড.হার্ডওয়্যার অন্তর্ভুক্ত ডিভাইস বাস্তবায়নগুলিতে এই ইনপুট অডিও প্রয়োজনীয়তাগুলি পূরণ করা উচিত:

  • 100 মিলিসেকেন্ড বা তারও কমের শীতল ইনপুট বিলম্ব
  • 30 মিলিসেকেন্ড বা তারও কম অবিচ্ছিন্ন ইনপুট লেটেন্সি
  • continuous round-trip latency of 50 milliseconds or less
  • minimize the cold input jitter

৫.৭। নেটওয়ার্ক প্রোটোকল

Devices MUST support the media network protocols for audio and video playback as specified in the Android SDK documentation [ Resources, 50 ]. Specifically, devices MUST support the following media network protocols:

  • RTSP (RTP, SDP)
  • HTTP(S) progressive streaming
  • HTTP(S) Live Streaming draft protocol, Version 3 [ Resources, 54 ]

৫.৮। Secure Media

Device implementations that support secure video output and are capable of supporting secure surfaces MUST declare support for Display.FLAG_SECURE. Device implementations that declare support for Display.FLAG_SECURE, if they support a wireless display protocol, MUST secure the link with a cryptographically strong mechanism such as HDCP 2.x or higher for Miracast wireless displays. Similarly if they support a wired external display, the device implementations MUST support HDCP 1.2 or higher. Android Television device implementations MUST support HDCP 2.2 for devices supporting 4K resolution and HDCP 1.4 or above for lower resolutions. The upstream Android open source implementation includes support for wireless (Miracast) and wired (HDMI) displays that satisfies this requirement.

6. Developer Tools and Options Compatibility

6.1। ডেভেলপার টুলস

Device implementations MUST support the Android Developer Tools provided in the Android SDK. Android compatible devices MUST be compatible with:

Device implementations MUST support all adb functions as documented in the Android SDK including dumpsys [ Resources, 56 ]. The device-side adb daemon MUST be inactive by default and there MUST be a user-accessible mechanism to turn on the Android Debug Bridge. If a device implementation omits USB peripheral mode, it MUST implement the Android Debug Bridge via local-area network (such as Ethernet or 802.11).

Android includes support for secure adb. Secure adb enables adb on known authenticated hosts. Device implementations MUST support secure adb.

Device implementations MUST support all ddms features as documented in the Android SDK. As ddms uses adb, support for ddms SHOULD be inactive by default, but MUST be supported whenever the user has activated the Android Debug Bridge, as above.

Device implementations MUST include the Monkey framework, and make it available for applications to use.

Device implementations MUST support systrace tool as documented in the Android SDK. Systrace must be inactive by default, and there MUST be a user-accessible mechanism to turn on Systrace.

Most Linux-based systems and Apple Macintosh systems recognize Android devices using the standard Android SDK tools, without additional support; however Microsoft Windows systems typically require a driver for new Android devices. (For instance, new vendor IDs and sometimes new device IDs require custom USB drivers for Windows systems.) If a device implementation is unrecognized by the adb tool as provided in the standard Android SDK, device implementers MUST provide Windows drivers allowing developers to connect to the device using the adb protocol. These drivers MUST be provided for Windows XP, Windows Vista, Windows 7, Windows 8, and Windows 9 in both 32-bit and 64-bit versions.

6.2। বিকাশকারী বিকল্প

Android includes support for developers to configure application development-related settings. Device implementations MUST honor the android.settings.APPLICATION_DEVELOPMENT_SETTINGS intent to show application development-related settings [ Resources, 60 ]. The upstream Android implementation hides the Developer Options menu by default and enables users to launch Developer Options after pressing seven (7) times on the Settings > About Device > Build Number menu item. Device implementations MUST provide a consistent experience for Developer Options. Specifically, device implementations MUST hide Developer Options by default and MUST provide a mechanism to enable Developer Options that is consistent with the upstream Android implementation.

7. Hardware Compatibility

If a device includes a particular hardware component that has a corresponding API for third-party developers, the device implementation MUST implement that API as described in the Android SDK documentation. If an API in the SDK interacts with a hardware component that is stated to be optional and the device implementation does not possess that component:

  • Complete class definitions (as documented by the SDK) for the component APIs MUST still be presented.
  • The API's behaviors MUST be implemented as no-ops in some reasonable fashion.
  • API methods MUST return null values where permitted by the SDK documentation.
  • API methods MUST return no-op implementations of classes where null values are not permitted by the SDK documentation.
  • API methods MUST NOT throw exceptions not documented by the SDK documentation.

A typical example of a scenario where these requirements apply is the telephony API: even on non-phone devices, these APIs must be implemented as reasonable no-ops.

Device implementations MUST consistently report accurate hardware configuration information via the getSystemAvailableFeatures() and hasSystemFeature(String) methods on the android.content.pm.PackageManager class for the same build fingerprint. [ Resources, 53]

7.1। ডিসপ্লে এবং গ্রাফিক্স

Android includes facilities that automatically adjust application assets and UI layouts appropriately for the device, to ensure that third-party applications run well on a variety of hardware configurations [ Resources, 61 ]. Devices MUST properly implement these APIs and behaviors, as detailed in this section.

The units referenced by the requirements in this section are defined as follows:

  • physical diagonal size . The distance in inches between two opposing corners of the illuminated portion of the display.
  • dots per inch (dpi) . The number of pixels encompassed by a linear horizontal or vertical span of 1”. Where dpi values are listed, both horizontal and vertical dpi must fall within the range.
  • আনুমানিক অনুপাত . The ratio of the pixels of the longer dimension to the shorter dimension of the screen. For example, a display of 480x854 pixels would be 854/480 = 1.779, or roughly “16:9”.
  • density-independent pixel (dp) The virtual pixel unit normalized to a 160 dpi screen, calculated as: pixels = dps * (density/160).

7.1.1। স্ক্রিন কনফিগারেশন

7.1.1.1। পর্দার আকার

Android Watch devices (detailed in section 2 ) MAY have smaller screen sizes as described in this section.

The Android UI framework supports a variety of different screen sizes, and allows applications to query the device screen size (aka “screen layout") via android.content.res.Configuration.screenLayout with the SCREENLAYOUT_SIZE_MASK. Device implementations MUST report the correct screen size as defined in the Android SDK documentation [ Resources, 61 ] and determined by the upstream Android platform. Specifically, device implementations MUST report the correct screen size according to the following logical density-independent pixel (dp) screen dimensions.

  • Devices MUST have screen sizes of at least 426 dp x 320 dp ('small'), unless it is an Android Watch device.
  • Devices that report screen size 'normal' MUST have screen sizes of at least 480 dp x 320 dp.
  • Devices that report screen size 'large' MUST have screen sizes of at least 640 dp x 480 dp.
  • Devices that report screen size 'xlarge' MUST have screen sizes of at least 960 dp x 720 dp.

এছাড়াও,

  • Android Watch devices MUST have a screen with the physical diagonal size in the range from 1.1 to 2.5 inches.
  • Other types of Android device implementations, with a physically integrated screen, MUST have a screen at least 2.5 inches in physical diagonal size.

Devices MUST NOT change their reported screen size at any time.

Applications optionally indicate which screen sizes they support via the <supports-screens> attribute in the AndroidManifest.xml file. Device implementations MUST correctly honor applications' stated support for small, normal, large, and xlarge screens, as described in the Android SDK documentation.

7.1.1.2। স্ক্রীন অ্যাসপেক্ট রেশিও

Android Watch devices MAY have an aspect ratio of 1.0 (1:1).

The screen aspect ratio MUST be a value from 1.3333 (4:3) to 1.86 (roughly 16:9), but Android Watch devices MAY have an aspect ratio of 1.0 (1:1) because such a device implementation will use a UI_MODE_TYPE_WATCH as the android.content.res.Configuration.uiMode.

7.1.1.3। পর্দার ঘনত্ব

The Android UI framework defines a set of standard logical densities to help application developers target application resources. Device implementations MUST report only one of the following logical Android framework densities through the android.util.DisplayMetrics APIs, and MUST execute applications at this standard density and MUST NOT change the value at at any time for the default display.

  • 120 dpi (ldpi)
  • 160 dpi (mdpi)
  • 213 dpi (tvdpi)
  • 240 dpi (hdpi)
  • 280 dpi (280dpi)
  • 320 dpi (xhdpi)
  • 400 dpi (400dpi)
  • 480 dpi (xxhdpi)
  • 560 dpi (560dpi)
  • 640 dpi (xxxhdpi)

Device implementations SHOULD define the standard Android framework density that is numerically closest to the physical density of the screen, unless that logical density pushes the reported screen size below the minimum supported. If the standard Android framework density that is numerically closest to the physical density results in a screen size that is smaller than the smallest supported compatible screen size (320 dp width), device implementations SHOULD report the next lowest standard Android framework density.

7.1.2। Display Metrics

Device implementations MUST report correct values for all display metrics defined in android.util.DisplayMetrics [ Resources, 62 ] and MUST report the same values regardless of whether the embedded or external screen is used as the default display.

7.1.3। স্ক্রিন ওরিয়েন্টেশন

Devices MUST report which screen orientations they support (android.hardware.screen.portrait and/or android.hardware.screen.landscape) and MUST report at least one supported orientation. For example, a device with a fixed orientation landscape screen, such as a television or laptop, SHOULD only report android.hardware.screen.landscape.

Devices that report both screen orientations MUST support dynamic orientation by applications to either portrait or landscape screen orientation. That is, the device must respect the application's request for a specific screen orientation. Device implementations MAY select either portrait or landscape orientation as the default.

Devices MUST report the correct value for the device's current orientation, whenever queried via the android.content.res.Configuration.orientation, android.view.Display.getOrientation(), or other APIs.

Devices MUST NOT change the reported screen size or density when changing orientation.

7.1.4। 2D and 3D Graphics Acceleration

Device implementations MUST support both OpenGL ES 1.0 and 2.0, as embodied and detailed in the Android SDK documentations. Device implementations SHOULD support OpenGL ES 3.0 or 3.1 on devices capable of supporting it. Device implementations MUST also support Android RenderScript, as detailed in the Android SDK documentation [ Resources, 63 ].

Device implementations MUST also correctly identify themselves as supporting OpenGL ES 1.0, OpenGL ES 2.0, OpenGL ES 3.0 or OpenGL 3.1. এটাই:

  • The managed APIs (such as via the GLES10.getString() method) MUST report support for OpenGL ES 1.0 and OpenGL ES 2.0.
  • The native C/C++ OpenGL APIs (APIs available to apps via libGLES_v1CM.so, libGLES_v2.so, or libEGL.so) MUST report support for OpenGL ES 1.0 and OpenGL ES 2.0.
  • Device implementations that declare support for OpenGL ES 3.0 or 3.1 MUST support the corresponding managed APIs and include support for native C/C++ APIs. On device implementations that declare support for OpenGL ES 3.0 or 3.1, libGLESv2.so MUST export the corresponding function symbols in addition to the OpenGL ES 2.0 function symbols.

In addition to OpenGL ES 3.1, Android provides an extension pack with Java interfaces [ Resources, 64 ] and native support for advanced graphics functionality such as tessellation and the ASTC texture compression format. Android device implementations MAY support this extension pack, and—only if fully implemented—MUST identify the support through the android.hardware.opengles.aep feature flag.

Also, device implementations MAY implement any desired OpenGL ES extensions. However, device implementations MUST report via the OpenGL ES managed and native APIs all extension strings that they do support, and conversely MUST NOT report extension strings that they do not support.

Note that Android includes support for applications to optionally specify that they require specific OpenGL texture compression formats. These formats are typically vendor-specific. Device implementations are not required by Android to implement any specific texture compression format. However, they SHOULD accurately report any texture compression formats that they do support, via the getString() method in the OpenGL API.

Android includes a mechanism for applications to declare that they want to enable hardware acceleration for 2D graphics at the Application, Activity, Window, or View level through the use of a manifest tag android:hardwareAccelerated or direct API calls [ Resources, 65 ].

Device implementations MUST enable hardware acceleration by default, and MUST disable hardware acceleration if the developer so requests by setting android:hardwareAccelerated="false” or disabling hardware acceleration directly through the Android View APIs.

In addition, device implementations MUST exhibit behavior consistent with the Android SDK documentation on hardware acceleration [ Resources, 65 ].

Android includes a TextureView object that lets developers directly integrate hardware-accelerated OpenGL ES textures as rendering targets in a UI hierarchy. Device implementations MUST support the TextureView API, and MUST exhibit consistent behavior with the upstream Android implementation.

Android includes support for EGL_ANDROID_RECORDABLE, an EGLConfig attribute that indicates whether the EGLConfig supports rendering to an ANativeWindow that records images to a video. Device implementations MUST support EGL_ANDROID_RECORDABLE extension [ Resources, 66 ].

7.1.5। Legacy Application Compatibility Mode

Android specifies a “compatibility mode” in which the framework operates in a 'normal' screen size equivalent (320dp width) mode for the benefit of legacy applications not developed for old versions of Android that pre-date screen-size independence.

  • Android Automotive does not support legacy compatibility mode.
  • All other device implementations MUST include support for legacy application compatibility mode as implemented by the upstream Android open source code. That is, device implementations MUST NOT alter the triggers or thresholds at which compatibility mode is activated, and MUST NOT alter the behavior of the compatibility mode itself.

7.1.6। স্ক্রিন প্রযুক্তি

The Android platform includes APIs that allow applications to render rich graphics to the display. Devices MUST support all of these APIs as defined by the Android SDK unless specifically allowed in this document.

  • Devices MUST support displays capable of rendering 16-bit color graphics and SHOULD support displays capable of 24-bit color graphics.
  • Devices MUST support displays capable of rendering animations.
  • The display technology used MUST have a pixel aspect ratio (PAR) between 0.9 and 1.15. That is, the pixel aspect ratio MUST be near square (1.0) with a 10 ~ 15% tolerance.

7.1.7। Secondary Displays

Android includes support for secondary display to enable media sharing capabilities and developer APIs for accessing external displays. If a device supports an external display either via a wired, wireless, or an embedded additional display connection then the device implementation MUST implement the display manager API as described in the Android SDK documentation [ Resources, 67 ].

7.2। ইনপুট ডিভাইস

Devices MUST support a touchscreen or meet the requirements listed in 7.2.2 for non-touch navigation.

7.2.1। কীবোর্ড

Android Watch and Android Automotive implementations MAY implement a soft keyboard. All other device implementations MUST implement a soft keyboard and:

Device implementations:

  • MUST include support for the Input Management Framework (which allows third-party developers to create Input Method Editors—ie soft keyboard) as detailed at http://developer.android.com .
  • MUST provide at least one soft keyboard implementation (regardless of whether a hard keyboard is present) except for Android Watch devices where the screen size makes it less reasonable to have a soft keyboard.
  • MAY include additional soft keyboard implementations.
  • MAY include a hardware keyboard.
  • MUST NOT include a hardware keyboard that does not match one of the formats specified in android.content.res.Configuration.keyboard [ Resources, 68 ] (QWERTY or 12-key).

7.2.2। Non-touch Navigation

Android Television devices MUST support D-pad.

Device implementations:

  • MAY omit a non-touch navigation option (trackball, d-pad, or wheel) if the device implementation is not an Android Television device.
  • MUST report the correct value for android.content.res.Configuration.navigation [ Resources, 68 ].
  • MUST provide a reasonable alternative user interface mechanism for the selection and editing of text, compatible with Input Management Engines. The upstream Android open source implementation includes a selection mechanism suitable for use with devices that lack non-touch navigation inputs.

7.2.3। নেভিগেশন কী

The availability and visibility requirement of the Home, Recents, and Back functions differ between device types as described in this section.

The Home, Recents, and Back functions (mapped to the key events KEYCODE_HOME, KEYCODE_APP_SWITCH, KEYCODE_BACK, respectively) are essential to the Android navigation paradigm and therefore:

  • Android Handheld device implementations MUST provide the Home, Recents, and Back functions.
  • Android Television device implementations MUST provide the Home and Back functions.
  • Android Watch device implementations MUST have the Home function available to the user, and the Back function except for when it is in UI_MODE_TYPE_WATCH.
  • Android Automotive implementations MUST provide the Home function and MAY provide Back and Recent functions.
  • All other types of device implementations MUST provide the Home and Back functions.

These functions MAY be implemented via dedicated physical buttons (such as mechanical or capacitive touch buttons), or MAY be implemented using dedicated software keys on a distinct portion of the screen, gestures, touch panel, etc. Android supports both implementations. All of these functions MUST be accessible with a single action (eg tap, double-click or gesture) when visible.

Recents function, if provided, MUST have a visible button or icon unless hidden together with other navigation functions in full-screen mode. This does not apply to devices upgrading from earlier Android versions that have physical buttons for navigation and no recents key.

The Home and Back functions, if provided, MUST each have a visible button or icon unless hidden together with other navigation functions in full-screen mode or when the uiMode UI_MODE_TYPE_MASK is set to UI_MODE_TYPE_WATCH.

The Menu function is deprecated in favor of action bar since Android 4.0. Therefore the new device implementations shipping with Android 5.0 and later MUST NOT implement a dedicated physical button for the Menu function. Older device implementations SHOULD NOT implement a dedicated physical button for the Menu function, but if the physical Menu button is implemented and the device is running applications with targetSdkVersion > 10, the device implementation:

  • MUST display the action overflow button on the action bar when it is visible and the resulting action overflow menu popup is not empty. For a device implementation launched before Android 4.4 but upgrading to Android 5.1, this is RECOMMENDED.
  • MUST NOT modify the position of the action overflow popup displayed by selecting the overflow button in the action bar.
  • MAY render the action overflow popup at a modified position on the screen when it is displayed by selecting the physical menu button.

For backwards compatibility, device implementations MUST make the Menu function available to applications when targetSdkVersion is less than 10, either by a physical button, a software key, or gestures. This Menu function should be presented unless hidden together with other navigation functions.

Android supports Assist action [ Resources, 69 ]. Android device implementations except for Android Watch devices MUST make the Assist action available to the user at all times when running applications. The Assist action SHOULD be implemented as a long-press on the Home button or a swipe-up gesture on the software Home key. This function MAY be implemented via another physical button, software key, or gesture, but MUST be accessible with a single action (eg tap, double-click, or gesture) when other navigation keys are visible.

Device implementations MAY use a distinct portion of the screen to display the navigation keys, but if so, MUST meet these requirements:

  • Device implementation navigation keys MUST use a distinct portion of the screen, not available to applications, and MUST NOT obscure or otherwise interfere with the portion of the screen available to applications.
  • Device implementations MUST make available a portion of the display to applications that meets the requirements defined in section 7.1.1 .
  • Device implementations MUST display the navigation keys when applications do not specify a system UI mode, or specify SYSTEM_UI_FLAG_VISIBLE.
  • Device implementations MUST present the navigation keys in an unobtrusive “low profile” (eg. dimmed) mode when applications specify SYSTEM_UI_FLAG_LOW_PROFILE.
  • Device implementations MUST hide the navigation keys when applications specify SYSTEM_UI_FLAG_HIDE_NAVIGATION.

7.2.4। Touchscreen Input

Android Handhelds and Watch Devices MUST support touchscreen input.

Device implementations SHOULD have a pointer input system of some kind (either mouse-like or touch). However, if a device implementation does not support a pointer input system, it MUST NOT report the android.hardware.touchscreen or android.hardware.faketouch feature constant. Device implementations that do include a pointer input system:

  • SHOULD support fully independently tracked pointers, if the device input system supports multiple pointers.
  • MUST report the value of android.content.res.Configuration.touchscreen [ Resources, 68 ] corresponding to the type of the specific touchscreen on the device.

Android includes support for a variety of touchscreens, touch pads, and fake touch input devices. Touchscreen based device implementations are associated with a display [ Resources, 70 ] such that the user has the impression of directly manipulating items on screen. Since the user is directly touching the screen, the system does not require any additional affordances to indicate the objects being manipulated. In contrast, a fake touch interface provides a user input system that approximates a subset of touchscreen capabilities. For example, a mouse or remote control that drives an on-screen cursor approximates touch, but requires the user to first point or focus then click. Numerous input devices like the mouse, trackpad, gyro-based air mouse, gyro-pointer, joystick, and multi-touch trackpad can support fake touch interactions. Android includes the feature constant android.hardware.faketouch, which corresponds to a high-fidelity non-touch (pointer-based) input device such as a mouse or trackpad that can adequately emulate touch-based input (including basic gesture support), and indicates that the device supports an emulated subset of touchscreen functionality. Device implementations that declare the fake touch feature MUST meet the fake touch requirements in section 7.2.5 .

Device implementations MUST report the correct feature corresponding to the type of input used. Device implementations that include a touchscreen (single-touch or better) MUST report the platform feature constant android.hardware.touchscreen. Device implementations that report the platform feature constant android.hardware.touchscreen MUST also report the platform feature constant android.hardware.faketouch. Device implementations that do not include a touchscreen (and rely on a pointer device only) MUST NOT report any touchscreen feature, and MUST report only android.hardware.faketouch if they meet the fake touch requirements in section 7.2.5 .

7.2.5। Fake Touch Input

Device implementations that declare support for android.hardware.faketouch:

  • MUST report the absolute X and Y screen positions of the pointer location and display a visual pointer on the screen [ Resources, 71 ].
  • MUST report touch event with the action code that specifies the state change that occurs on the pointer going down or up on the screen [ Resources, 71 ].
  • MUST support pointer down and up on an object on the screen, which allows users to emulate tap on an object on the screen.
  • MUST support pointer down, pointer up, pointer down then pointer up in the same place on an object on the screen within a time threshold, which allows users to emulate double tap on an object on the screen [ Resources, 71 ].
  • MUST support pointer down on an arbitrary point on the screen, pointer move to any other arbitrary point on the screen, followed by a pointer up, which allows users to emulate a touch drag.
  • MUST support pointer down then allow users to quickly move the object to a different position on the screen and then pointer up on the screen, which allows users to fling an object on the screen.

Devices that declare support for android.hardware.faketouch.multitouch.distinct MUST meet the requirements for faketouch above, and MUST also support distinct tracking of two or more independent pointer inputs.

7.2.6। Game Controller Support

Android Television device implementations MUST support button mappings for game controllers as listed below. The upstream Android implementation includes implementation for game controllers that satisfies this requirement.

7.2.6.1। Button Mappings

Android Television device implementations MUST support the following key mappings:

বোতাম HID Usage 2 অ্যান্ড্রয়েড বোতাম
0x09 0x0001 KEYCODE_BUTTON_A (96)
0x09 0x0002 KEYCODE_BUTTON_B (97)
X 1 0x09 0x0004 KEYCODE_BUTTON_X (99)
Y 1 0x09 0x0005 KEYCODE_BUTTON_Y (100)
D-pad up 1

D-pad down 1

0x01 0x0039 3 AXIS_HAT_Y 4
D-pad left 1

D-pad right 1

0x01 0x0039 3 AXIS_HAT_X 4
Left shoulder button 1 0x09 0x0007 KEYCODE_BUTTON_L1 (102)
Right shoulder button 1 0x09 0x0008 KEYCODE_BUTTON_R1 (103)
Left stick click 1 0x09 0x000E KEYCODE_BUTTON_THUMBL (106)
Right stick click 1 0x09 0x000F KEYCODE_BUTTON_THUMBR (107)
বাসা নম্বর -1 0x0c 0x0223 KEYCODE_HOME (3)
পিছনে 1 0x0c 0x0224 KEYCODE_BACK (4)

1 [ Resources, 72 ]

2 The above HID usages must be declared within a Game pad CA (0x01 0x0005).

3 This usage must have a Logical Minimum of 0, a Logical Maximum of 7, a Physical Minimum of 0, a Physical Maximum of 315, Units in Degrees, and a Report Size of 4. The logical value is defined to be the clockwise rotation away from the vertical axis; for example, a logical value of 0 represents no rotation and the up button being pressed, while a logical value of 1 represents a rotation of 45 degrees and both the up and left keys being pressed.

4 [ Resources, 71 ]

Analog Controls 1 HID Usage অ্যান্ড্রয়েড বোতাম
Left Trigger 0x02 0x00C5 AXIS_LTRIGGER
Right Trigger 0x02 0x00C4 AXIS_RTRIGGER
Left Joystick 0x01 0x0030

0x01 0x0031

AXIS_X

AXIS_Y

Right Joystick 0x01 0x0032

0x01 0x0035

AXIS_Z

AXIS_RZ

1 [ Resources, 71 ]

7.2.7। দূরবর্তী নিয়ন্ত্রণ

Android Television device implementations SHOULD provide a remote control to allow users to access the TV interface. The remote control MAY be a physical remote or can be a software-based remote that is accessible from a mobile phone or tablet. The remote control MUST meet the requirements defined below.

  • Search affordance . Device implementations MUST fire KEYCODE_SEARCH when the user invokes voice search either on the physical or software-based remote.
  • নেভিগেশন All Android Television remotes MUST include Back, Home, and Select buttons and support for D-pad events [ Resources, 72 ].

7.3। সেন্সর

Android includes APIs for accessing a variety of sensor types. Devices implementations generally MAY omit these sensors, as provided for in the following subsections. If a device includes a particular sensor type that has a corresponding API for third-party developers, the device implementation MUST implement that API as described in the Android SDK documentation and the Android Open Source documentation on sensors [ Resources, 73 ]. For example, device implementations:

  • MUST accurately report the presence or absence of sensors per the android.content.pm.PackageManager class [ Resources, 53] .
  • MUST return an accurate list of supported sensors via the SensorManager.getSensorList() and similar methods.
  • MUST behave reasonably for all other sensor APIs (for example, by returning true or false as appropriate when applications attempt to register listeners, not calling sensor listeners when the corresponding sensors are not present; etc.).
  • MUST report all sensor measurements using the relevant International System of Units (metric) values for each sensor type as defined in the Android SDK documentation [ Resources, 74 ].
  • SHOULD report the event time in nanoseconds as defined in the Android SDK documentation, representing the time the event happened and synchronized with the SystemClock.elapsedRealtimeNano() clock. Existing and new Android devices are very strongly encouraged to meet these requirement so they will be able to upgrade to the future platform releases where this might become a REQUIRED component. The synchronization error SHOULD be below 100 milliseconds [ Resources, 75 ].

The list above is not comprehensive; the documented behavior of the Android SDK and the Android Open Source Documentations on Sensors [ Resources, 73 ] is to be considered authoritative.

Some sensor types are composite, meaning they can be derived from data provided by one or more other sensors. (Examples include the orientation sensor, and the linear acceleration sensor.) Device implementations SHOULD implement these sensor types, when they include the prerequisite physical sensors as described in [ Resources, 76 ]. If a device implementation includes a composite sensor it MUST implement the sensor as described in the Android Open Source documentation on composite sensors [ Resources, 76 ].

Some Android sensors support a “continuous” trigger mode, which returns data continuously [ Resources, 77 ]. For any API indicated by the Android SDK documentation to be a continuous sensor, device implementations MUST continuously provide periodic data samples that SHOULD have a jitter below 3%, where jitter is defined as the standard deviation of the difference of the reported timestamp values between consecutive ঘটনা

Note that the device implementations MUST ensure that the sensor event stream MUST NOT prevent the device CPU from entering a suspend state or waking up from a suspend state.

Finally, when several sensors are activated, the power consumption SHOULD NOT exceed the sum of the individual sensor's reported power consumption.

7.3.1। অ্যাক্সিলোমিটার

Device implementations SHOULD include a 3-axis accelerometer. Android Handheld devices and Android Watch devices are strongly encouraged to include this sensor. If a device implementation does include a 3-axis accelerometer, it:

  • MUST implement and report TYPE_ACCELEROMETER sensor [ Resources, 78 ].
  • MUST be able to report events up to a frequency of at least 50 Hz for Android Watch devices as such devices have a stricter power constraint and 100 Hz for all other device types.
  • SHOULD report events up to at least 200 Hz.
  • MUST comply with the Android sensor coordinate system as detailed in the Android APIs [ Resources, 74 ].
  • MUST be capable of measuring from freefall up to four times the gravity (4g) or more on any axis.
  • MUST have a resolution of at least 8-bits and SHOULD have a resolution of at least 16-bits.
  • SHOULD be calibrated while in use if the characteristics changes over the life cycle and compensated, and preserve the compensation parameters between device reboots.
  • SHOULD be temperature compensated.
  • MUST have a standard deviation no greater than 0.05 m/s^, where the standard deviation should be calculated on a per axis basis on samples collected over a period of at least 3 seconds at the fastest sampling rate.
  • SHOULD implement the TYPE_SIGNIFICANT_MOTION, TYPE_TILT_DETECTOR, TYPE_STEP_DETECTOR, TYPE_STEP_COUNTER composite sensors as described in the Android SDK document. Existing and new Android devices are very strongly encouraged to implement the TYPE_SIGNIFICANT_MOTION composite sensor. If any of these sensors are implemented, the sum of their power consumption MUST always be less than 4 mW and SHOULD each be below 2 mW and 0.5 mW for when the device is in a dynamic or static condition.
  • If a gyroscope sensor is included, MUST implement the TYPE_GRAVITY and TYPE_LINEAR_ACCELERATION composite sensors and SHOULD implement the TYPE_GAME_ROTATION_VECTOR composite sensor. Existing and new Android devices are strongly encouraged to implement the TYPE_GAME_ROTATION_VECTOR sensor.
  • SHOULD implement a TYPE_ROTATION_VECTOR composite sensor, if a gyroscope sensor and a magnetometer sensor is also included.

7.3.2। ম্যাগনেটোমিটার

Device implementations SHOULD include a 3-axis magnetometer (compass). If a device does include a 3-axis magnetometer, it:

  • MUST implement the TYPE_MAGNETIC_FIELD sensor and SHOULD also implement TYPE_MAGNETIC_FIELD_UNCALIBRATED sensor. Existing and new Android devices are strongly encouraged to implement the TYPE_MAGNETIC_FIELD_UNCALIBRATED sensor.
  • MUST be able to report events up to a frequency of at least 10 Hz and SHOULD report events up to at least 50 Hz.
  • MUST comply with the Android sensor coordinate system as detailed in the Android APIs [ Resources, 74 ].
  • MUST be capable of measuring between -900 µT and +900 µT on each axis before saturating.
  • MUST have a hard iron offset value less than 700 µT and SHOULD have a value below 200 µT, by placing the magnetometer far from dynamic (current-induced) and static (magnet-induced) magnetic fields.
  • MUST have a resolution equal or denser than 0.6 µT and SHOULD have a resolution equal or denser than 0.2 µ.
  • SHOULD be temperature compensated.
  • MUST support online calibration and compensation of the hard iron bias, and preserve the compensation parameters between device reboots.
  • MUST have the soft iron compensation applied—the calibration can be done either while in use or during the production of the device.
  • SHOULD have a standard deviation, calculated on a per axis basis on samples collected over a period of at least 3 seconds at the fastest sampling rate, no greater than 0.5 µT.
  • SHOULD implement a TYPE_ROTATION_VECTOR composite sensor, if an accelerometer sensor and a gyroscope sensor is also included.
  • MAY implement the TYPE_GEOMAGNETIC_ROTATION_VECTOR sensor if an accelerometer sensor is also implemented. However if implemented, it MUST consume less than 10 mW and SHOULD consume less than 3 mW when the sensor is registered for batch mode at 10 Hz.

7.3.3। জিপিএস

Device implementations SHOULD include a GPS receiver. If a device implementation does include a GPS receiver, it SHOULD include some form of“assisted GPS” technique to minimize GPS lock-on time.

7.3.4। জাইরোস্কোপ

Device implementations SHOULD include a gyroscope (angular change sensor). Devices SHOULD NOT include a gyroscope sensor unless a 3-axis accelerometer is also included. If a device implementation includes a gyroscope, it:

  • MUST implement the TYPE_GYROSCOPE sensor and SHOULD also implement TYPE_GYROSCOPE_UNCALIBRATED sensor. Existing and new Android devices are strongly encouraged to implement the SENSOR_TYPE_GYROSCOPE_UNCALIBRATED sensor.
  • MUST be capable of measuring orientation changes up to 1,000 degrees per second.
  • MUST be able to report events up to a frequency of at least 50 Hz for Android Watch devices as such devices have a stricter power constraint and 100 Hz for all other device types.
  • SHOULD report events up to at least 200 Hz.
  • MUST have a resolution of 12-bits or more and SHOULD have a resolution of 16-bits or more.
  • MUST be temperature compensated.
  • MUST be calibrated and compensated while in use, and preserve the compensation parameters between device reboots.
  • MUST have a variance no greater than 1e-7 rad^2 / s^2 per Hz (variance per Hz, or rad^2 / s). The variance is allowed to vary with the sampling rate, but must be constrained by this value. In other words, if you measure the variance of the gyro at 1 Hz sampling rate it should be no greater than 1e-7 rad^2/s^2.
  • SHOULD implement a TYPE_ROTATION_VECTOR composite sensor, if an accelerometer sensor and a magnetometer sensor is also included.
  • If an accelerometer sensor is included, MUST implement the TYPE_GRAVITY and TYPE_LINEAR_ACCELERATION composite sensors and SHOULD implement the TYPE_GAME_ROTATION_VECTOR composite sensor. Existing and new Android devices are strongly encouraged to implement the TYPE_GAME_ROTATION_VECTOR sensor.

7.3.5। ব্যারোমিটার

Device implementations SHOULD include a barometer (ambient air pressure sensor). If a device implementation includes a barometer, it:

  • MUST implement and report TYPE_PRESSURE sensor.
  • MUST be able to deliver events at 5 Hz or greater.
  • MUST have adequate precision to enable estimating altitude.
  • MUST be temperature compensated.

7.3.6। থার্মোমিটার

Device implementations MAY include an ambient thermometer (temperature sensor). If present, it MUST be defined as SENSOR_TYPE_AMBIENT_TEMPERATURE and it MUST measure the ambient (room) temperature in degrees Celsius.

Device implementations MAY but SHOULD NOT include a CPU temperature sensor. If present, it MUST be defined as SENSOR_TYPE_TEMPERATURE, it MUST measure the temperature of the device CPU, and it MUST NOT measure any other temperature. Note the SENSOR_TYPE_TEMPERATURE sensor type was deprecated in Android 4.0.

7.3.7। ফটোমিটার

Device implementations MAY include a photometer (ambient light sensor).

7.3.8। নৈকট্য সেন্সর

Device implementations MAY include a proximity sensor. Devices that can make a voice call and indicate any value other than PHONE_TYPE_NONE in getPhoneType SHOULD include a proximity sensor. If a device implementation does include a proximity sensor, it:

  • MUST measure the proximity of an object in the same direction as the screen. That is, the proximity sensor MUST be oriented to detect objects close to the screen, as the primary intent of this sensor type is to detect a phone in use by the user. If a device implementation includes a proximity sensor with any other orientation, it MUST NOT be accessible through this API.
  • MUST have 1-bit of accuracy or more.

7.4। ডেটা সংযোগ

7.4.1। টেলিফোনি

“Telephony” as used by the Android APIs and this document refers specifically to hardware related to placing voice calls and sending SMS messages via a GSM or CDMA network. While these voice calls may or may not be packet-switched, they are for the purposes of Android considered independent of any data connectivity that may be implemented using the same network. In other words, the Android “telephony” functionality and APIs refer specifically to voice calls and SMS. For instance, device implementations that cannot place calls or send/receive SMS messages MUST NOT report the android.hardware.telephony feature or any subfeatures, regardless of whether they use a cellular network for data connectivity.

Android MAY be used on devices that do not include telephony hardware. That is, Android is compatible with devices that are not phones. However, if a device implementation does include GSM or CDMA telephony, it MUST implement full support for the API for that technology. Device implementations that do not include telephony hardware MUST implement the full APIs as no-ops.

7.4.2। IEEE 802.11 (Wi-Fi)

Android Television device implementations MUST include Wi-Fi support.

Android Television device implementations MUST include support for one or more forms of 802.11 (b/g/a/n, etc.) and other types of Android device implementation SHOULD include support for one or more forms of 802.11. If a device implementation does include support for 802.11 and exposes the functionality to a third-party application, it MUST implement the corresponding Android API and:

  • MUST report the hardware feature flag android.hardware.wifi.
  • MUST implement the multicast API as described in the SDK documentation [ Resources, 79 ].
  • MUST support multicast DNS (mDNS) and MUST NOT filter mDNS packets (224.0.0.251) at any time of operation including when the screen is not in an active state.

7.4.2.1। ওয়াই - ফাই ডিরেক্ট

Device implementations SHOULD include support for Wi-Fi Direct (Wi-Fi peer-to-peer). If a device implementation does include support for Wi-Fi Direct, it MUST implement the corresponding Android API as described in the SDK documentation [ Resources, 80 ]. If a device implementation includes support for Wi-Fi Direct, then it:

  • MUST report the hardware feature android.hardware.wifi.direct.
  • MUST support regular Wi-Fi operation.
  • SHOULD support concurrent Wi-Fi and Wi-Fi Direct operation.

Android Television device implementations MUST include support for Wi-Fi Tunneled Direct Link Setup (TDLS).

Android Television device implementations MUST include support for Wi-Fi Tunneled Direct Link Setup (TDLS) and other types of Android device implementations SHOULD include support for Wi-Fi TDLS as described in the Android SDK Documentation [ Resources, 81 ]. If a device implementation does include support for TDLS and TDLS is enabled by the WiFiManager API, the device:

  • SHOULD use TDLS only when it is possible AND beneficial.
  • SHOULD have some heuristic and NOT use TDLS when its performance might be worse than going through the Wi-Fi access point.

7.4.3। ব্লুটুথ

Android Watch and Automotive implementations MUST support Bluetooth. Android Television implementations MUST support Bluetooth and Bluetooth LE.

Android includes support for Bluetooth and Bluetooth Low Energy [ Resources, 82 ]. Device implementations that include support for Bluetooth and Bluetooth Low Energy MUST declare the relevant platform features (android.hardware.bluetooth and android.hardware.bluetooth_le respectively) and implement the platform APIs. Device implementations SHOULD implement relevant Bluetooth profiles such as A2DP, AVCP, OBEX, etc. as appropriate for the device. Android Television device implementations MUST support Bluetooth and Bluetooth LE.

Device implementations including support for Bluetooth Low Energy:

  • MUST declare the hardware feature android.hardware.bluetooth_le.
  • MUST enable the GATT (generic attribute profile) based Bluetooth APIs as described in the SDK documentation and [ Resources, 82 ].
  • SHOULD support offloading of the filtering logic to the bluetooth chipset when implementing the ScanFilter API [ Resources, 83 ], and MUST report the correct value of where the filtering logic is implemented whenever queried via the android.bluetooth.BluetoothAdapter.isOffloadedFilteringSupported() method.
  • SHOULD support offloading of the batched scanning to the bluetooth chipset, but if not supported, MUST report 'false' whenever queried via the android.bluetooth.BluetoothAdapater.isOffloadedScanBatchingSupported() method.
  • SHOULD support multi advertisement with at least 4 slots, but if not supported, MUST report 'false' whenever queried via the android.bluetooth.BluetoothAdapter.isMultipleAdvertisementSupported() method.

7.4.4। Near-Field Communications

Device implementations SHOULD include a transceiver and related hardware for Near-Field Communications (NFC). If a device implementation does include NFC hardware and plans to make it available to third-party apps, then it:

  • MUST report the android.hardware.nfc feature from the android.content.pm.PackageManager.hasSystemFeature() method [ Resources, 53 ].
  • MUST be capable of reading and writing NDEF messages via the following NFC standards:
    • MUST be capable of acting as an NFC Forum reader/writer (as defined by the NFC Forum technical specification NFCForum-TS-DigitalProtocol-1.0) via the following NFC standards:
      • NfcA (ISO14443-3A)
      • NfcB (ISO14443-3B)
      • NfcF (JIS 6319-4)
      • IsoDep (ISO 14443-4)
      • NFC Forum Tag Types 1, 2, 3, 4 (defined by the NFC Forum)
    • SHOULD be capable of reading and writing NDEF messages via the following NFC standards. Note that while the NFC standards below are stated as SHOULD, the Compatibility Definition for a future version is planned to change these to MUST. These standards are optional in this version but will be required in future versions. Existing and new devices that run this version of Android are very strongly encouraged to meet these requirements now so they will be able to upgrade to the future platform releases.
      • NfcV (ISO 15693)
    • MUST be capable of transmitting and receiving data via the following peer-to-peer standards and protocols:
      • ISO 18092
      • LLCP 1.0 (defined by the NFC Forum)
      • SDP 1.0 (defined by the NFC Forum)
      • NDEF Push Protocol [ Resources, 84 ]
      • SNEP 1.0 (defined by the NFC Forum)
    • MUST include support for Android Beam [ Resources, 85 ]:
      • MUST implement the SNEP default server. Valid NDEF messages received by the default SNEP server MUST be dispatched to applications using the android.nfc.ACTION_NDEF_DISCOVERED intent. Disabling Android Beam in settings MUST NOT disable dispatch of incoming NDEF message.
      • MUST honor the android.settings.NFCSHARING_SETTINGS intent to show NFC sharing settings [ Resources, 86 ].
      • MUST implement the NPP server. Messages received by the NPP server MUST be processed the same way as the SNEP default server.
      • MUST implement a SNEP client and attempt to send outbound P2P NDEF to the default SNEP server when Android Beam is enabled. If no default SNEP server is found then the client MUST attempt to send to an NPP server.
      • MUST allow foreground activities to set the outbound P2P NDEF message using android.nfc.NfcAdapter.setNdefPushMessage, and android.nfc.NfcAdapter.setNdefPushMessageCallback, and android.nfc.NfcAdapter.enableForegroundNdefPush.
      • SHOULD use a gesture or on-screen confirmation, such as 'Touch to Beam', before sending outbound P2P NDEF messages.
      • SHOULD enable Android Beam by default and MUST be able to send and receive using Android Beam, even when another proprietary NFC P2p mode is turned on.
      • MUST support NFC Connection handover to Bluetooth when the device supports Bluetooth Object Push Profile. Device implementations MUST support connection handover to Bluetooth when using android.nfc.NfcAdapter.setBeamPushUris, by implementing the “Connection Handover version 1.2” [ Resources, 87 ] and “Bluetooth Secure Simple Pairing Using NFC version 1.0” [ Resources, 88 ] specs from the NFC Forum. Such an implementation MUST implement the handover LLCP service with service name “urn:nfc:sn:handover” for exchanging the handover request/select records over NFC, and it MUST use the Bluetooth Object Push Profile for the actual Bluetooth data transfer. For legacy reasons (to remain compatible with Android 4.1 devices), the implementation SHOULD still accept SNEP GET requests for exchanging the handover request/select records over NFC. However an implementation itself SHOULD NOT send SNEP GET requests for performing connection handover.
    • MUST poll for all supported technologies while in NFC discovery mode.
    • SHOULD be in NFC discovery mode while the device is awake with the screen active and the lock-screen unlocked.

(Note that publicly available links are not available for the JIS, ISO, and NFC Forum specifications cited above.)

Android includes support for NFC Host Card Emulation (HCE) mode. If a device implementation does include an NFC controller chipset capable of HCE and Application ID (AID) routing, then it:

  • MUST report the android.hardware.nfc.hce feature constant.
  • MUST support NFC HCE APIs as defined in the Android SDK [ Resources, 10 ].

Additionally, device implementations MAY include reader/writer support for the following MIFARE technologies.

  • MIFARE ক্লাসিক
  • MIFARE আল্ট্রালাইট
  • NDEF on MIFARE Classic

Note that Android includes APIs for these MIFARE types. If a device implementation supports MIFARE in the reader/writer role, it:

  • MUST implement the corresponding Android APIs as documented by the Android SDK.
  • MUST report the feature com.nxp.mifare from the android.content.pm.PackageManager.hasSystemFeature() meth od [Resources, 53] . Note that this is not a standard Android feature and as such does not appear as a constant on the PackageManager class.
  • MUST NOT implement the corresponding Android APIs nor report the com.nxp.mifare feature unless it also implements general NFC support as described in this section.

If a device implementation does not include NFC hardware, it MUST NOT declare the android.hardware.nfc feature from the android.content.pm.PackageManager.hasSystemFeature() method [ Resources, 53] , and MUST implement the Android NFC API as a no-op.

As the classes android.nfc.NdefMessage and android.nfc.NdefRecord represent a protocol-independent data representation format, device implementations MUST implement these APIs even if they do not include support for NFC or declare the android.hardware.nfc feature.

7.4.5। Minimum Network Capability

Device implementations MUST include support for one or more forms of data networking. Specifically, device implementations MUST include support for at least one data standard capable of 200Kbit/sec or greater. Examples of technologies that satisfy this requirement include EDGE, HSPA, EV-DO, 802.11g, Ethernet, Bluetooth PAN, etc.

Device implementations where a physical networking standard (such as Ethernet) is the primary data connection SHOULD also include support for at least one common wireless data standard, such as 802.11 (Wi-Fi).

Devices MAY implement more than one form of data connectivity.

7.4.6। সিঙ্ক সেটিংস

Device implementations MUST have the master auto-sync setting on by default so that the method getMasterSyncAutomatically() returns “true” [ Resources, 89 ].

7.5। ক্যামেরা

Device implementations SHOULD include a rear-facing camera and MAY include a front-facing camera. A rear-facing camera is a camera located on the side of the device opposite the display; that is, it images scenes on the far side of the device, like a traditional camera. A front-facing camera is a camera located on the same side of the device as the display; that is, a camera typically used to image the user, such as for video conferencing and similar applications.

If a device implementation includes at least one camera, it SHOULD be possible for an application to simultaneously allocate 3 bitmaps equal to the size of the images produced by the largest-resolution camera sensor on the device.

7.5.1। রিয়ার-ফেসিং ক্যামেরা

Device implementations SHOULD include a rear-facing camera. If a device implementation includes at least one rear-facing camera, it:

  • MUST report the feature flag android.hardware.camera and android.hardware.camera.any.
  • MUST have a resolution of at least 2 megapixels.
  • SHOULD have either hardware auto-focus or software auto-focus implemented in the camera driver (transparent to application software).
  • MAY have fixed-focus or EDOF (extended depth of field) hardware.
  • MAY include a flash. If the Camera includes a flash, the flash lamp MUST NOT be lit while an android.hardware.Camera.PreviewCallback instance has been registered on a Camera preview surface, unless the application has explicitly enabled the flash by enabling the FLASH_MODE_AUTO or FLASH_MODE_ON attributes of a Camera.Parameters object. Note that this constraint does not apply to the device's built-in system camera application, but only to third-party applications using Camera.PreviewCallback.

7.5.2। ফ্রন্ট-ফেসিং ক্যামেরা

Device implementations MAY include a front-facing camera. If a device implementation includes at least one front-facing camera, it:

  • MUST report the feature flag android.hardware.camera.any and android.hardware.camera.front.
  • MUST have a resolution of at least VGA (640x480 pixels).
  • MUST NOT use a front-facing camera as the default for the Camera API. The camera API in Android has specific support for front-facing cameras and device implementations MUST NOT configure the API to to treat a front-facing camera as the default rear-facing camera, even if it is the only camera on the device.
  • MAY include features (such as auto-focus, flash, etc.) available to rear-facing cameras as described in section 7.5.1 .
  • MUST horizontally reflect (ie mirror) the stream displayed by an app in a CameraPreview, as follows:
    • If the device implementation is capable of being rotated by user (such as automatically via an accelerometer or manually via user input), the camera preview MUST be mirrored horizontally relative to the device's current orientation.
    • If the current application has explicitly requested that the Camera display be rotated via a call to the android.hardware.Camera.setDisplayOrientation()[ Resources, 90 ] method, the camera preview MUST be mirrored horizontally relative to the orientation specified by the application.
    • Otherwise, the preview MUST be mirrored along the device's default horizontal axis.
  • MUST mirror the image displayed by the postview in the same manner as the camera preview image stream. If the device implementation does not support postview, this requirement obviously does not apply.
  • MUST NOT mirror the final captured still image or video streams returned to application callbacks or committed to media storage.

7.5.3। External Camera

Device implementations with USB host mode MAY include support for an external camera that connects to the USB port. If a device includes support for an external camera, it:

  • MUST declare the platform feature android.hardware.camera.external and android.hardware camera.any.
  • MUST support USB Video Class (UVC 1.0 or higher).
  • MAY support multiple cameras.

Video compression (such as MJPEG) support is RECOMMENDED to enable transfer of high-quality unencoded streams (ie raw or independently compressed picture streams). Camera-based video encoding MAY be supported. If so, a simultaneous unencoded/ MJPEG stream (QVGA or greater resolution) MUST be accessible to the device implementation.

7.5.4। Camera API Behavior

Android includes two API packages to access the camera, the newer android.hardware.camera2 API expose lower-level camera control to the app, including efficient zero-copy burst/streaming flows and per-frame controls of exposure, gain, white balance gains, color conversion, denoising, sharpening, and more.

The older API package, android.hardware.Camera, is marked as deprecated in Android 5.0 but as it should still be available for apps to use Android device implementations MUST ensure the continued support of the API as described in this section and in the Android SDK .

Device implementations MUST implement the following behaviors for the camera-related APIs, for all available cameras:

  • If an application has never called android.hardware.Camera.Parameters.setPreviewFormat(int), then the device MUST use android.hardware.PixelFormat.YCbCr_420_SP for preview data provided to application callbacks.
  • If an application registers an android.hardware.Camera.PreviewCallback instance and the system calls the onPreviewFrame() method when the preview format is YCbCr_420_SP, the data in the byte[] passed into onPreviewFrame() must further be in the NV21 encoding format. That is, NV21 MUST be the default.
  • For android.hardware.Camera, device implementations MUST support the YV12 format (as denoted by the android.graphics.ImageFormat.YV12 constant) for camera previews for both front- and rear-facing cameras. (The hardware video encoder and camera may use any native pixel format, but the device implementation MUST support conversion to YV12.)
  • For android.hardware.camera2, device implementations must support the android.hardware.ImageFormat.YUV_420_888 and android.hardware.ImageFormat.JPEG formats as outputs through the android.media.ImageReader API.

Device implementations MUST still implement the full Camera API included in the Android SDK documentation [ Resources, 91 ], regardless of whether the device includes hardware autofocus or other capabilities. For instance, cameras that lack autofocus MUST still call any registered android.hardware.Camera.AutoFocusCallback instances (even though this has no relevance to a non-autofocus camera.) Note that this does apply to front-facing cameras; for instance, even though most front-facing cameras do not support autofocus, the API callbacks must still be “faked” as described.

Device implementations MUST recognize and honor each parameter name defined as a constant on the android.hardware.Camera.Parameters class, if the underlying hardware supports the feature. If the device hardware does not support a feature, the API must behave as documented. Conversely, device implementations MUST NOT honor or recognize string constants passed to the android.hardware.Camera.setParameters() method other than those documented as constants on the android.hardware.Camera.Parameters. That is, device implementations MUST support all standard Camera parameters if the hardware allows, and MUST NOT support custom Camera parameter types. For instance, device implementations that support image capture using high dynamic range (HDR) imaging techniques MUST support camera parameter Camera.SCENE_MODE_HDR [ Resources, 92 ].

Because not all device implementations can fully support all the features of the android.hardware.camera2 API, device implementations MUST report the proper level of support with the android.info.supportedHardwareLevel property as described in the Android SDK [ Resources, 93] and report the appropriate framework feature flags [ Resources, 94] .

Device implementations MUST also declare its Individual camera capabilities of android.hardware.camera2 via the android.request.availableCapabilities property and declare the appropriate feature flags [ Resources, 94] ; a device must define the feature flag if any of its attached camera devices supports the feature.

Device implementations MUST broadcast the Camera.ACTION_NEW_PICTURE intent whenever a new picture is taken by the camera and the entry of the picture has been added to the media store.

Device implementations MUST broadcast the Camera.ACTION_NEW_VIDEO intent whenever a new video is recorded by the camera and the entry of the picture has been added to the media store.

7.5.5. Camera Orientation

Both front- and rear-facing cameras, if present, MUST be oriented so that the long dimension of the camera aligns with the screen's long dimension. That is, when the device is held in the landscape orientation, cameras MUST capture images in the landscape orientation. This applies regardless of the device's natural orientation; that is, it applies to landscape-primary devices as well as portrait-primary devices.

7.6। মেমরি এবং স্টোরেজ

7.6.1। Minimum Memory and Storage

Android Television devices MUST have at least 5GB of non-volatile storage available for application private data.

The memory available to the kernel and userspace on device implementations MUST be at least equal or larger than the minimum values specified by the following table. (See section 7.1.1 for screen size and density definitions.)

Density and screen size 32-bit device 64-bit device
Android Watch devices (due to smaller screens) 416MB প্রযোজ্য নয়
  • 280dpi or lower on small/normal screens
  • mdpi or lower on large screens
  • ldpi or lower on extra large screens
424MB 704MB
  • xhdpi or higher on small/normal screens
  • hdpi or higher on large screens
  • mdpi or higher on extra large screens
512MB 832MB
  • 400dpi or higher on small/normal screens
  • xhdpi or higher on large screens
  • tvdpi or higher on extra large screens
896MB 1280MB
  • 560dpi or higher on small/normal screens
  • 400dpi or higher on large screens
  • xhdpi or higher on extra large screens
1344MB 1824MB

The minimum memory values MUST be in addition to any memory space already dedicated to hardware components such as radio, video, and so on that is not under the kernel's control.

Device implementations with less than 512MB of memory available to the kernel and userspace, unless an Android Watch, MUST return the value "true" for ActivityManager.isLowRamDevice().

Android Television devices MUST have at least 5GB and other device implementations MUST have at least 1.5GB of non-volatile storage available for application private data. That is, the /data partition MUST be at least 5GB for Android Television devices and at least 1.5GB for other device implementations. Device implementations that run Android are very strongly encouraged to have at least 3GB of non-volatile storage for application private data so they will be able to upgrade to the future platform releases.

The Android APIs include a Download Manager that applications MAY use to download data files [ Resources, 95 ]. The device implementation of the Download Manager MUST be capable of downloading individual files of at least 100MB in size to the default “cache" location.

7.6.2। Application Shared Storage

Device implementations MUST offer shared storage for applications also often referred as “shared external storage”.

Device implementations MUST be configured with shared storage mounted by default, “out of the box”. If the shared storage is not mounted on the Linux path /sdcard, then the device MUST include a Linux symbolic link from /sdcard to the actual mount point.

Device implementations MAY have hardware for user-accessible removable storage, such as a Secure Digital (SD) card slot. If this slot is used to satisfy the shared storage requirement, the device implementation:

  • MUST implement a toast or pop-up user interface warning the user when there is no SD card.
  • MUST include a FAT-formatted SD card 1GB in size or larger OR show on the box and other material available at time of purchase that the SD card has to be separately purchased.
  • MUST mount the SD card by default.

Alternatively, device implementations MAY allocate internal (non-removable) storage as shared storage for apps as included in the upstream Android Open Source Project; device implementations SHOULD use this configuration and software implementation. If a device implementation uses internal (non-removable) storage to satisfy the shared storage requirement, while that storage MAY share space with the application private data, it MUST be at least 1GB in size and mounted on /sdcard (or /sdcard MUST be a symbolic link to the physical location if it is mounted elsewhere).

Device implementations MUST enforce as documented the android.permission.WRITE_EXTERNAL_STORAGE permission on this shared storage. Shared storage MUST otherwise be writable by any application that obtains that permission.

Device implementations that include multiple shared storage paths (such as both an SD card slot and shared internal storage) MUST allow only pre-installed and privileged Android applications with the WRITE_EXTERNAL_STORAGE permission to write to the secondary external storage, except when writing to their package-specific directories or within the URI returned by firing the ACTION_OPEN_DOCUMENT_TREE intent.

However, device implementations SHOULD expose content from both storage paths transparently through Android's media scanner service and android.provider.MediaStore.

Regardless of the form of shared storage used, if the device implementation has a USB port with USB peripheral mode support, it MUST provide some mechanism to access the contents of shared storage from a host computer. Device implementations MAY use USB mass storage, but SHOULD use Media Transfer Protocol to satisfy this requirement. If the device implementation supports Media Transfer Protocol, it:

  • SHOULD be compatible with the reference Android MTP host, Android File Transfer [ Resources, 96 ].
  • SHOULD report a USB device class of 0x00.
  • SHOULD report a USB interface name of 'MTP'.

7.7। ইউএসবি

Device implementations SHOULD support USB peripheral mode and SHOULD support USB host mode.

If a device implementation includes a USB port supporting peripheral mode:

  • The port MUST be connectable to a USB host that has a standard type-A or type -C USB port.
  • The port SHOULD use micro-B, micro-AB or Type-C USB form factor. Existing and new Android devices are STRONGLY RECOMMENDED to meet these requirements so they will be able to upgrade to future platform releases.
  • The port SHOULD either be located on the bottom of the device (according to natural orientation) or enable software screen rotation for all apps (including home screen), so that the display draws correctly when the device is oriented with the port at bottom. Existing and new Android devices are STRONGLY RECOMMENDED to meet these requirements so they will be able to upgrade to future platform releases.
  • It SHOULD implement the Android Open Accessory (AOA) API and specification as documented in the Android SDK documentation, and if it is an Android Handheld device it MUST implement the AOA API. Device implementations implementing the AOA specification:
    • MUST declare support for the hardware feature android.hardware.usb.accessory [ Resources, 97 ].
    • MUST implement the USB audio class as documented in the Android SDK documentation [ Resources, 98 ].
  • It SHOULD implement support to draw 1.5 A current during HS chirp and traffic as specified in the USB Battery Charging Specification, Revision 1.2 [ Resources, 99 ]. Existing and new Android devices are STRONGLY RECOMMENDED to meet these requirements so they will be able to upgrade to the future platform releases.
  • The value of iSerialNumber in USB standard device descriptor MUST be equal to the value of android.os.Build.SERIAL.

If a device implementation includes a USB port supporting host mode, it:

  • SHOULD use a type-C USB port, if the device implementation supports USB 3.1.
  • MAY use a non-standard port form factor, but if so MUST ship with a cable or cables adapting the port to a standard type-A or type-C USB port.
  • MAY use a micro-AB USB port, but if so SHOULD ship with a cable or cables adapting the port to a standard type-A or type-C USB port.
  • is very strongly RECOMMENDED to implement the USB audio class as documented in the Android SDK documentation [ Resources, 98 ].
  • MUST implement the Android USB host API as documented in the Android SDK, and MUST declare support for the hardware feature android.hardware.usb.host [ Resources, 100 ].
  • SHOULD support the Charging Downstream Port output current range of 1.5 A ~ 5 A as specified in the USB Battery Charging Specification, Revision 1.2 [ Resources, 99 ].

7.8। শ্রুতি

7.8.1। মাইক্রোফোন

Android Handheld, Watch, and Automotive implementations MUST include a microphone.

Device implementations MAY omit a microphone. However, if a device implementation omits a microphone, it MUST NOT report the android.hardware.microphone feature constant, and MUST implement the audio recording API at least as no-ops, per section 7 . Conversely, device implementations that do possess a microphone:

  • MUST report the android.hardware.microphone feature constant
  • MUST meet the audio recording requirements in section 5.4
  • MUST meet the audio latency requirements in section 5.6

7.8.2। অডিও আউটপুট

Android Watch devices MAY include an audio output.

Device implementations including a speaker or with an audio/multimedia output port for an audio output peripheral as a headset or an external speaker:

  • MUST report the android.hardware.audio.output feature constant.
  • MUST meet the audio playback requirements in section 5.5 .
  • MUST meet the audio latency requirements in section 5.6 .

Conversely, if a device implementation does not include a speaker or audio output port, it MUST NOT report the android.hardware.audio output feature, and MUST implement the Audio Output related APIs as no-ops at least.

Android Watch device implementation MAY but SHOULD NOT have audio output, but other types of Android device implementations MUST have an audio output and declare android.hardware.audio.output.

7.8.2.1. Analog Audio Ports

In order to be compatible with the headsets and other audio accessories using the 3.5mm audio plug across the Android ecosystem [ Resources, 101 ], if a device implementation includes one or more analog audio ports, at least one of the audio port(s) SHOULD be a 4 conductor 3.5mm audio jack. If a device implementation has a 4 conductor 3.5mm audio jack, it:

  • MUST support audio playback to stereo headphones and stereo headsets with a microphone, and SHOULD support audio recording from stereo headsets with a microphone.
  • MUST support TRRS audio plugs with the CTIA pin-out order, and SHOULD support audio plugs with the OMTP pin-out order.
  • MUST support the detection of microphone on the plugged in audio accessory, if the device implementation supports a microphone, and broadcast the android.intent.action.HEADSET_PLUG with the extra value microphone set as 1.
  • SHOULD support the detection and mapping to the keycodes for the following 3 ranges of equivalent impedance between the microphone and ground conductors on the audio plug:
    • 70 ohm or less : KEYCODE_HEADSETHOOK
    • 210-290 Ohm : KEYCODE_VOLUME_UP
    • 360-680 Ohm : KEYCODE_VOLUME_DOWN
  • SHOULD support the detection and mapping to the keycode for the following range of equivalent impedance between the microphone and ground conductors on the audio plug:
    • 110-180 Ohm: KEYCODE_VOICE_ASSIST
  • MUST trigger ACTION_HEADSET_PLUG upon a plug insert, but only after all contacts on plug are touching their relevant segments on the jack.
  • MUST be capable of driving at least 150mV +/- 10% of output voltage on a 32 Ohm speaker impedance.
  • MUST have a microphone bias voltage between 1.8V ~ 2.9V.

8. Performance Compatibility

Some minimum performance criteria are critical to the user experience and impacts the baseline assumptions developers would have when developing an app. Android Watch devices SHOULD and other type of device implementations MUST meet the following criteria:

8.1। User Experience Consistency

Device implementations MUST provide a smooth user interface by ensuring a consistent frame rate and response times for applications and games. Device implementations MUST meet the following requirements:

  • Consistent frame latency . Inconsistent frame latency or a delay to render frames MUST NOT happen more often than 5 frames in a second, and SHOULD be below 1 frames in a second.
  • User interface latency . Device implementations MUST ensure low latency user experience by scrolling a list of 10K list entries as defined by the Android Compatibility Test Suite (CTS) in less than 36 secs.
  • Task switching . When multiple applications have been launched, re-launching an already-running application after it has been launched MUST take less than 1 second.

8.2। File I/O Access Performance

Device implementations MUST ensure internal storage file access performance consistency for read and write operations.

  • Sequential write . Device implementations MUST ensure a sequential write performance of at least 5MB/s for a 256MB file using 10MB write buffer.
  • Random write . Device implementations MUST ensure a random write performance of at least 0.5MB/s for a 256MB file using 4KB write buffer.
  • Sequential read . Device implementations MUST ensure a sequential read performance of at least 15MB/s for a 256MB file using 10MB write buffer.
  • Random read . Device implementations MUST ensure a random read performance of at least 3.5MB/s for a 256MB file using 4KB write buffer.

9. Security Model Compatibility

Device implementations MUST implement a security model consistent with the Android platform security model as defined in Security and Permissions reference document in the APIs [ Resources, 102 ] in the Android developer documentation. Device implementations MUST support installation of self-signed applications without requiring any additional permissions/certificates from any third parties/authorities. Specifically, compatible devices MUST support the security mechanisms described in the follow subsections.

9.1। অনুমতি

Device implementations MUST support the Android permissions model as defined in the Android developer documentation [ Resources, 102 ]. Specifically, implementations MUST enforce each permission defined as described in the SDK documentation; no permissions may be omitted, altered, or ignored. Implementations MAY add additional permissions, provided the new permission ID strings are not in the android.* namespace.

9.2। UID and Process Isolation

Device implementations MUST support the Android application sandbox model, in which each application runs as a unique Unixstyle UID and in a separate process. Device implementations MUST support running multiple applications as the same Linux user ID, provided that the applications are properly signed and constructed, as defined in the Security and Permissions reference [ Resources, 102 ].

9.3। Filesystem Permissions

Device implementations MUST support the Android file access permissions model as defined in the Security and Permissions reference [ Resources, 102 ].

9.4। Alternate Execution Environments

Device implementations MAY include runtime environments that execute applications using some other software or technology than the Dalvik Executable Format or native code. However, such alternate execution environments MUST NOT compromise the Android security model or the security of installed Android applications, as described in this section.

Alternate runtimes MUST themselves be Android applications, and abide by the standard Android security model, as described elsewhere in section 9 .

Alternate runtimes MUST NOT be granted access to resources protected by permissions not requested in the runtime's AndroidManifest.xml file via the <uses-permission> mechanism.

Alternate runtimes MUST NOT permit applications to make use of features protected by Android permissions restricted to system applications.

Alternate runtimes MUST abide by the Android sandbox model. Specifically, alternate runtimes:

  • SHOULD install apps via the PackageManager into separate Android sandboxes ( Linux user IDs, etc.).
  • MAY provide a single Android sandbox shared by all applications using the alternate runtime.
  • and installed applications using an alternate runtime, MUST NOT reuse the sandbox of any other app installed on the device, except through the standard Android mechanisms of shared user ID and signing certificate.
  • MUST NOT launch with, grant, or be granted access to the sandboxes corresponding to other Android applications.
  • MUST NOT be launched with, be granted, or grant to other applications any privileges of the superuser (root), or of any other user ID.

The .apk files of alternate runtimes MAY be included in the system image of a device implementation, but MUST be signed with a key distinct from the key used to sign other applications included with the device implementation.

When installing applications, alternate runtimes MUST obtain user consent for the Android permissions used by the application. If an application needs to make use of a device resource for which there is a corresponding Android permission (such as Camera, GPS, etc.), the alternate runtime MUST inform the user that the application will be able to access that resource. If the runtime environment does not record application capabilities in this manner, the runtime environment MUST list all permissions held by the runtime itself when installing any application using that runtime.

9.5। মাল্টি-ইউজার সাপোর্ট

This feature is optional for all device types.

Android includes support for multiple users and provides support for full user isolation [ Resources, 103] . Device implementations MAY enable multiple users, but when enabled MUST meet the following requirements related to multi-user support [ Resources, 104 ]:

  • Device implementations that do not declare the android.hardware.telephony feature flag MUST support restricted profiles, a feature that allows device owners to manage additional users and their capabilities on the device. With restricted profiles, device owners can quickly set up separate environments for additional users to work in, with the ability to manage finer-grained restrictions in the apps that are available in those environments.
  • Conversely device implementations that declare the android.hardware.telephony feature flag MUST NOT support restricted profiles but MUST align with the AOSP implementation of controls to enable /disable other users from accessing the voice calls and SMS.
  • Device implementations MUST, for each user, implement a security model consistent with the Android platform security model as defined in Security and Permissions reference document in the APIs [ Resources, 102 ].
  • Device implementations MAY support creating users and managed profiles via the android.app.admin.DevicePolicyManager APIs, and if supported, MUST declare the platform feature flag android.software.managed_users.
  • Device implementations that declare the feature flag android.software.managed_users MUST use the upstream AOSP icon badge to represent the managed applications and other badge UI elements like Recents & Notifications.
  • Each user instance on an Android device MUST have separate and isolated external storage directories. Device implementations MAY store multiple users' data on the same volume or filesystem. However, the device implementation MUST ensure that applications owned by and running on behalf a given user cannot list, read, or write to data owned by any other user. Note that removable media, such as SD card slots, can allow one user to access another's data by means of a host PC. For this reason, device implementations that use removable media for the primary external storage APIs MUST encrypt the contents of the SD card if multiuser is enabled using a key stored only on non-removable media accessible only to the system. As this will make the media unreadable by a host PC, device implementations will be required to switch to MTP or a similar system to provide host PCs with access to the current user's data. Accordingly, device implementations MAY but SHOULD NOT enable multi-user if they use removable media [ Resources, 105 ] for primary external storage.

9.6। Premium SMS Warning

Android includes support for warning users of any outgoing premium SMS message [ Resources, 106 ] . Premium SMS messages are text messages sent to a service registered with a carrier that may incur a charge to the user. Device implementations that declare support for android.hardware.telephony MUST warn users before sending a SMS message to numbers identified by regular expressions defined in /data/misc/sms/codes.xml file in the device. The upstream Android Open Source Project provides an implementation that satisfies this requirement.

৯.৭। Kernel Security Features

The Android Sandbox includes features that can use the Security-Enhanced Linux (SELinux) mandatory access control (MAC) system and other security features in the Linux kernel. SELinux or any other security features, if implemented below the Android framework:

  • MUST maintain compatibility with existing applications.
  • MUST NOT have a visible user interface when a security violation is detected and successfully blocked, but MAY have a visible user interface when an unblocked security violation occurs resulting in a successful exploit.
  • SHOULD NOT be user or developer configurable.

If any API for configuration of policy is exposed to an application that can affect another application (such as a Device Administration API), the API MUST NOT allow configurations that break compatibility.

Devices MUST implement SELinux or an equivalent mandatory access control system if using a kernel other than Linux and meet the following requirements, which are satisfied by the reference implementation in the upstream Android Open Source Project.

Device implementations:

  • MUST support a SELinux policy that allows the SELinux mode to be set on a per-domain basis, and MUST configure all domains in enforcing mode. No permissive mode domains are allowed, including domains specific to a device/vendor.
  • SHOULD load policy from /sepolicy file on the device.
  • MUST NOT modify, omit, or replace the neverallow rules present within the sepolicy file provided in the upstream Android Open Source Project (AOSP) and the policy MUST compile with all neverallow present, for both AOSP SELinux domains as well as device/vendor specific domains .
  • MUST support dynamic updates of the SELinux policy file without requiring a system image update.

Device implementations SHOULD retain the default SELinux policy provided in the upstream Android Open Source Project, until they have first audited their additions to the SELinux policy. Device implementations MUST be compatible with the upstream Android Open Source Project.

৯.৮। গোপনীয়তা

If the device implements functionality in the system that captures the contents displayed on the screen and/or records the audio stream played on the device, it MUST continuously notify the user whenever this functionality is enabled and actively capturing/recording.

If a device implementation has a mechanism that routes network data traffic through a proxy server or VPN gateway by default (for example, preloading a VPN service with android.permission.CONTROL_VPN granted), the device implementation MUST ask for the user's consent before enabling that পদ্ধতি.

9.9। ফুল-ডিস্ক এনক্রিপশন

Optional for Android device implementations without a lock screen.

If the device implementation supports a lock screen with PIN (numeric) or PASSWORD (alphanumeric), the device MUST support full-disk encryption of the application private data (/data partition), as well as the SD card partition if it is a permanent, non-removable part of the device [ Resources, 107 ]. For devices supporting full-disk encryption, the full-disk encryption SHOULD be enabled all the time after the user has completed the out-of-box experience. While this requirement is stated as SHOULD for this version of the Android platform, it is very strongly RECOMMENDED as we expect this to change to MUST in the future versions of Android. Encryption MUST use AES with a key of 128-bits (or greater) and a mode designed for storage (for example, AES-XTS, AES-CBC-ESSIV). The encryption key MUST NOT be written to storage at any time without being encrypted. Other than when in active use, the encryption key SHOULD be AES encrypted with the lockscreen passcode stretched using a slow stretching algorithm (eg PBKDF2 or scrypt). If the user has not specified a lockscreen passcode or has disabled use of the passcode for encryption, the system SHOULD use a default passcode to wrap the encryption key. If the device provides a hardware-backed keystore, the password stretching algorithm MUST be cryptographically bound to that keystore. The encryption key MUST NOT be sent off the device (even when wrapped with the user passcode and/or hardware bound key). The upstream Android Open Source project provides a preferred implementation of this feature based on the linux kernel feature dm-crypt.

9.10। Verified Boot

Verified boot is a feature that guarantees the integrity of the device software. If a device implementation supports the feature, it MUST:

  • Declare the platform feature flag android.software.verified_boot
  • Perform verification on every boot sequence
  • Start verification from a hardware key that is the root of trust, and go all the way up to the system partition
  • Implement each stage of verification to check the integrity and authenticity of all the bytes in the next stage before executing the code in the next stage
  • Use verification algorithms as strong as current recommendations from NIST for hashing algorithms (SHA-256) and public key sizes (RSA-2048)

Device implementations SHOULD support verified boot for device integrity. While this requirement is SHOULD for this version of the Android platform, it is strongly RECOMMENDED as we expect this to change to MUST in future versions of Android. The upstream Android Open Source Project provides a preferred implementation of this feature based on the linux kernel feature dm-verity.

10. Software Compatibility Testing

Device implementations MUST pass all tests described in this section.

However, note that no software test package is fully comprehensive. For this reason, device implementers are very strongly encouraged to make the minimum number of changes as possible to the reference and preferred implementation of Android available from the Android Open Source Project. This will minimize the risk of introducing bugs that create incompatibilities requiring rework and potential device updates.

10.1। Compatibility Test Suite

Device implementations MUST pass the Android Compatibility Test Suite (CTS) [ Resources, 108 ] available from the Android Open Source Project, using the final shipping software on the device. Additionally, device implementers SHOULD use the reference implementation in the Android Open Source tree as much as possible, and MUST ensure compatibility in cases of ambiguity in CTS and for any reimplementations of parts of the reference source code.

The CTS is designed to be run on an actual device. Like any software, the CTS may itself contain bugs. The CTS will be versioned independently of this Compatibility Definition, and multiple revisions of the CTS may be released for Android 5.1. Device implementations MUST pass the latest CTS version available at the time the device software is completed.

10.2। CTS Verifier

Device implementations MUST correctly execute all applicable cases in the CTS Verifier. The CTS Verifier is included with the Compatibility Test Suite, and is intended to be run by a human operator to test functionality that cannot be tested by an automated system, such as correct functioning of a camera and sensors.

The CTS Verifier has tests for many kinds of hardware, including some hardware that is optional. Device implementations MUST pass all tests for hardware that they possess; for instance, if a device possesses an accelerometer, it MUST correctly execute the Accelerometer test case in the CTS Verifier. Test cases for features noted as optional by this Compatibility Definition Document MAY be skipped or omitted.

Every device and every build MUST correctly run the CTS Verifier, as noted above. However, since many builds are very similar, device implementers are not expected to explicitly run the CTS Verifier on builds that differ only in trivial ways. Specifically, device implementations that differ from an implementation that has passed the CTS Verifier only by the set of included locales, branding, etc. MAY omit the CTS Verifier test.

11. Updatable Software

Device implementations MUST include a mechanism to replace the entirety of the system software. The mechanism need not perform “live” upgrades—that is, a device restart MAY be required.

Any method can be used, provided that it can replace the entirety of the software preinstalled on the device. For instance, any of the following approaches will satisfy this requirement:

  • “Over-the-air (OTA)” downloads with offline update via reboot
  • “Tethered” updates over USB from a host PC
  • “Offline” updates via a reboot and update from a file on removable storage

However, if the device implementation includes support for an unmetered data connection such as 802.11 or Bluetooth PAN (Personal Area Network) profile:

  • Android Automotive implementations SHOULD support OTA downloads with offline update via reboot.
  • All other device implementations MUST support OTA downloads with offline update via reboot.

The update mechanism used MUST support updates without wiping user data. That is, the update mechanism MUST preserve application private data and application shared data. Note that the upstream Android software includes an update mechanism that satisfies this requirement.

For device implementations that are launching with Android 5.1 and later, the update mechanism SHOULD support verifying that the system image is binary identical to expected result following an OTA. The block-based OTA implementation in the upstream Android Open Source Project, added since Android 5.1, satisfies this requirement.

If an error is found in a device implementation after it has been released but within its reasonable product lifetime that is determined in consultation with the Android Compatibility Team to affect the compatibility of third-party applications, the device implementer MUST correct the error via a software update available that can be applied per the mechanism just described.

12. Document Changelog

The following table contains a summary of the changes to the Compatibility Definition in this release.

অধ্যায় Summary of change
2. Device Types Added definition for Android automotive implementation.
2.1 Device Configurations Added column for Android automotive implementation.
3.3.2। 32-bit ARM Native Code Compatibility New section added.
3.4.1। WebView Compatibility Updated webview user agent string requirement to accommodate upstream implementation change.
3.4.2। ব্রাউজার সামঞ্জস্য Added Android automotive implementations as another case that MAY omit a browser application.
3.7। Runtime Compatibility Updated required runtime heap size for smaller screens and added requirement for the new dpi bucket (280dpi).
3.8.3। বিজ্ঞপ্তি Clarified notification requirement for Android Watch, Television and Automotive implementations.
3.8.8। Activity Switching Relax Overview title count requirement.
3.8.10। Lock Screen Media Control Clarified requirement for Android Watch and Automotive implementations.
3.8.13. Unicode and font Relaxed Emoji character input method requirement.
3.9। ডিভাইস প্রশাসন Clarified condition when the full range of device administration policies has to be supported.
3.10। অ্যাক্সেসযোগ্যতা Added Android automotive requirements.
3.11। টেক্সট-টু-স্পিচ Added Android automotive requirements.
5.1। মিডিয়া কোডেক Mandated decoding support for codecs reported by CamcorderProfile.
5.1.3 Video Codecs Added Android automotive requirements.
5.4। অডিও রেকর্ডিং Clarified language at the beginning of the section to ensure MUST requirements are read as REQUIRED.
7.1.1.3। পর্দার ঘনত্ব Added a new screen dpi (280dpi).
7.1.5। Legacy Application Compatibility Mode Added Android automotive requirements.
7.2 Input Devices Added general introduction statement.
7.2.1। কীবোর্ড Added Android Automotive requirements.
7.2.3। নেভিগেশন কী Added Android Automotive requirements.
7.3.1। অ্যাক্সিলোমিটার Relaxed requirement for reporting frequency on Android Watch.
7.3.4। জাইরোস্কোপ Relaxed requirement for reporting frequency on Android Watch.
7.4.3 Bluetooth Added Android Automotive requirements.
7.4.4। Near-Field Communications Clarified condition for when Host Card Emulation is a requirement.
7.6.1। Minimum Memory and Storage Updated minimum memory requirements for lower resolution screen devices and added hard-limit requirement isLowRamDevice().
7.6.2। Application Shared Storage Updated requirements when support for host machine access is mandatory.
7.7 USB Fixing typos in USB section
7.6.2। Application Shared Storage Updated requirements that pre-installed system apps may write to secondary external storage.
7.6.2। Application Shared Storage Apps can use ACTION_OPEN_DOCUMENT_TREE to write to secondary ext. স্টোরেজ
7.6.2। Application Shared Storage Clarify that /sdcard can share storage with /data
7.7 USB Remove redundant requirement on UMS/MTP from 7.7
7.8.1। মাইক্রোফোন Added Android Automotive requirements.
8.2। File I/O Access Performance Clarified requirements.
9.5। মাল্টি-ইউজার সাপোর্ট SD card encryption required for the primary external storage.
৯.৮। গোপনীয়তা Added privacy requirement for preloaded VPNs.
9.9। ফুল-ডিস্ক এনক্রিপশন Clarified condition when Full-Disk encryption support is mandatory.
9.10। Verified Boot Clarified definition of verified boot.
11. Updatable Software Clarified the OTA download requirement is allowed but not mandatory for Android Automotive implementations.

13. আমাদের সাথে যোগাযোগ করুন

You can join the android-compatibility forum [Resources, 109 ] and ask for clarifications or bring up any issues that you think the document does not cover.

14. Resources

1. IETF RFC2119 Requirement Levels: http://www.ietf.org/rfc/rfc2119.txt

2. Android Open Source Project: http://source.android.com/

3. Android Television features: http://developer.android.com/reference/android/content/pm/PackageManager.html#FEATURE_LEANBACK

4. Android Watch feature: http://developer.android.com/reference/android/content/res/Configuration.html#UI_MODE_TYPE_WATCH

5. API definitions and documentation: http://developer.android.com/reference/packages.html

6. Android Permissions reference: http://developer.android.com/reference/android/Manifest.permission.html

7. android.os.Build reference: http://developer.android.com/reference/android/os/Build.html

8. Android 5.1 allowed version strings: http://source.android.com/compatibility/5.1/versions.html

9. Telephony Provider: http://developer.android.com/reference/android/provider/Telephony.html

10. Host-based Card Emulation: http://developer.android.com/guide/topics/connectivity/nfc/hce.html

11. Android Extension Pack: http://developer.android.com/guide/topics/graphics/opengl.html#aep

12. android.webkit.WebView class: http://developer.android.com/reference/android/webkit/WebView.html

13. WebView compatibility: http://www.chromium.org/

14. HTML5: http://html.spec.whatwg.org/multipage/

15. HTML5 offline capabilities: http://dev.w3.org/html5/spec/Overview.html#offline

16. HTML5 video tag: http://dev.w3.org/html5/spec/Overview.html#video

17. HTML5/W3C geolocation API: http://www.w3.org/TR/geolocation-API/

18. HTML5/W3C webstorage API: http://www.w3.org/TR/webstorage/

19. HTML5/W3C IndexedDB API: http://www.w3.org/TR/IndexedDB/

20. Dalvik Executable Format and bytecode specification: available in the Android source code, at dalvik/docs

21. AppWidgets: http://developer.android.com/guide/practices/ui_guidelines/widget_design.html

22. Notifications: http://developer.android.com/guide/topics/ui/notifiers/notifications.html

23. Application Resources: https://developer.android.com/guide/topics/resources/available-resources.html

24. Status Bar icon style guide: http://developer.android.com/design/style/iconography.html

25. Notifications Resources: https://developer.android.com/design/patterns/notifications.html

26. Search Manager: http://developer.android.com/reference/android/app/SearchManager.html

27. Toasts: http://developer.android.com/reference/android/widget/Toast.html

28. Themes: http://developer.android.com/guide/topics/ui/themes.html

29. R.style class: http://developer.android.com/reference/android/R.style.html

30. Material design: http://developer.android.com/reference/android/R.style.html#Theme_Material

31. Live Wallpapers: http://developer.android.com/reference/android/service/wallpaper/WallpaperService.html

32. Overview screen resources: http://developer.android.com/guide/components/recents.html

33. Screen pinning: https://developer.android.com/about/versions/android-5.0.html#ScreenPinning

34. Input methods: http://developer.android.com/guide/topics/text/creating-input-method.html

35. Media Notification: https://developer.android.com/reference/android/app/Notification.MediaStyle.html

36. Dreams: http://developer.android.com/reference/android/service/dreams/DreamService.html

37. Settings.Secure LOCATION_MODE:

http://developer.android.com/reference/android/provider/Settings.Secure.html#LOCATION_MODE

38. Unicode 6.1.0: http://www.unicode.org/versions/Unicode6.1.0/

39. Android Device Administration: http://developer.android.com/guide/topics/admin/device-admin.html

40. DevicePolicyManager reference: http://developer.android.com/reference/android/app/admin/DevicePolicyManager.html

41. Android Device Owner App:

http://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#isDeviceOwnerApp(java.lang.String)

42. Android Accessibility Service APIs: http://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html

43. Android Accessibility APIs: http://developer.android.com/reference/android/view/accessibility/package-summary.html

44. Eyes Free project: http://code.google.com/p/eyes-free

45. Text-To-Speech APIs: http://developer.android.com/reference/android/speech/tts/package-summary.html

46. Television Input Framework: /devices/tv/index.html

47. Reference tool documentation (for adb, aapt, ddms, systrace): http://developer.android.com/tools/help/index.html

48. Android apk file description: http://developer.android.com/guide/components/fundamentals.html

49. Manifest files: http://developer.android.com/guide/topics/manifest/manifest-intro.html

50. Android Media Formats: http://developer.android.com/guide/appendix/media-formats.html

51. RTC Hardware Coding Requirements: http://www.webmproject.org/hardware/rtc-coding-requirements/

52. AudioEffect API: http://developer.android.com/reference/android/media/audiofx/AudioEffect.html

53. Android android.content.pm.PackageManager class and Hardware Features List:

http://developer.android.com/reference/android/content/pm/PackageManager.html

54. HTTP Live Streaming Draft Protocol: http://tools.ietf.org/html/draft-pantos-http-live-streaming-03

55. ADB: http://developer.android.com/tools/help/adb.html

56. Dumpsys: /devices/input/diagnostics.html

57. DDMS: http://developer.android.com/tools/debugging/ddms.html

58. Monkey testing tool: http://developer.android.com/tools/help/monkey.html

59. SysyTrace tool: http://developer.android.com/tools/help/systrace.html

60. Android Application Development-Related Settings:

http://developer.android.com/reference/android/provider/Settings.html#ACTION_APPLICATION_DEVELOPMENT_SETTINGS

61. Supporting Multiple Screens: http://developer.android.com/guide/practices/screens_support.html

62. android.util.DisplayMetrics: http://developer.android.com/reference/android/util/DisplayMetrics.html

63. RenderScript: http://developer.android.com/guide/topics/renderscript/

64. Android extension pack for OpenGL ES: https://developer.android.com/reference/android/opengl/GLES31Ext.html

65. Hardware Acceleration: http://developer.android.com/guide/topics/graphics/hardware-accel.html

66. EGL Extension-EGL_ANDROID_RECORDABLE:

http://www.khronos.org/registry/egl/extensions/ANDROID/EGL_ANDROID_recordable.txt

67. Display Manager: http://developer.android.com/reference/android/hardware/display/DisplayManager.html

68. android.content.res.Configuration: http://developer.android.com/reference/android/content/res/Configuration.html

69. Action Assist: http://developer.android.com/reference/android/content/Intent.html#ACTION_ASSIST

70. Touch Input Configuration: http://source.android.com/devices/tech/input/touch-devices.html

71. Motion Event API: http://developer.android.com/reference/android/view/MotionEvent.html

72. Key Event API: http://developer.android.com/reference/android/view/KeyEvent.html

73. Android Open Source sensors: http://source.android.com/devices/sensors

74. android.hardware.SensorEvent: http://developer.android.com/reference/android/hardware/SensorEvent.html

75. Timestamp sensor event: http://developer.android.com/reference/android/hardware/SensorEvent.html#timestamp

76. Android Open Source composite sensors: /devices/sensors/sensor-types.html#composite_sensor_type_summary

77. Continuous trigger mode: /docs/core/interaction/sensors/report-modes#continuous

78. Accelerometer sensor: http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_ACCELEROMETER

79. Wi-Fi Multicast API: http://developer.android.com/reference/android/net/wifi/WifiManager.MulticastLock.html

80. Wi-Fi Direct (Wi-Fi P2P): http://developer.android.com/reference/android/net/wifi/p2p/WifiP2pManager.html

81. WifiManager API: http://developer.android.com/reference/android/net/wifi/WifiManager.html

82. Bluetooth API: http://developer.android.com/reference/android/bluetooth/package-summary.html

83. Bluetooth ScanFilter API: https://developer.android.com/reference/android/bluetooth/le/ScanFilter.html

84. NDEF Push Protocol: http://source.android.com/compatibility/ndef-push-protocol.pdf

85. Android Beam: http://developer.android.com/guide/topics/connectivity/nfc/nfc.html

86. Android NFC Sharing Settings:

http://developer.android.com/reference/android/provider/Settings.html#ACTION_NFCSHARING_SETTINGS

87. NFC Connection Handover: http://members.nfc-forum.org/specs/spec_list/#conn_handover

88. Bluetooth Secure Simple Pairing Using NFC: http://members.nfc-forum.org/apps/group_public/download.php/18688/NFCForum-AD-BTSSP_1_1.pdf

89. Content Resolver: http://developer.android.com/reference/android/content/ContentResolver.html

90. Camera orientation API: http://developer.android.com/reference/android/hardware/Camera.html#setDisplayOrientation(int)

91. Camera: http://developer.android.com/reference/android/hardware/Camera.html

92. Camera: http://developer.android.com/reference/android/hardware/Camera.Parameters.html

93. Camera hardware level: https://developer.android.com/reference/android/hardware/camera2/CameraCharacteristics.html#INFO_SUPPORTED_HARDWARE_LEVEL

94. Camera version support: http://source.android.com/devices/camera/versioning.html

95. Android DownloadManager: http://developer.android.com/reference/android/app/DownloadManager.html

96. Android File Transfer: http://www.android.com/filetransfer

97. Android Open Accessories: http://developer.android.com/guide/topics/connectivity/usb/accessory.html

98. Android USB Audio: http://developer.android.com/reference/android/hardware/usb/UsbConstants.html#USB_CLASS_AUDIO

99. USB Charging Specification: http://www.usb.org/developers/docs/devclass_docs/USB_Battery_Charging_1.2.pdf

100. USB Host API: http://developer.android.com/guide/topics/connectivity/usb/host.html

101. Wired audio headset: http://source.android.com//docs/core/interaction/accessories/headset/plug-headset-spec.html

102. Android Security and Permissions reference: http://developer.android.com/guide/topics/security/permissions.html

103. UserManager reference: http://developer.android.com/reference/android/os/UserManager.html

104. External Storage reference: http://source.android.com/docs/core/storage

105. External Storage APIs: http://developer.android.com/reference/android/os/Environment.html

106. SMS Short Code: http://en.wikipedia.org/wiki/Short_code

107. Android Open Source Encryption: http://source.android.com/docs/security/features/encryption

108. Android Compatibility Program Overview: http://source.android.com//docs/compatibility

109. Android Compatibility forum: https://groups.google.com/forum/#!forum/android-compatibility

110. WebM project: http://www.webmproject.org/

111. Android UI_MODE_TYPE_CAR API: http://developer.android.com/reference/android/content/res/Configuration.html#UI_MODE_TYPE_CAR

112. Android MediaCodecList API: http://developer.android.com/reference/android/media/MediaCodecList.html

113. Android CamcorderProfile API: http://developer.android.com/reference/android/media/CamcorderProfile.html

Many of these resources are derived directly or indirectly from the Android SDK, and will be functionally identical to the information in that SDK's documentation. In any cases where this Compatibility Definition or the Compatibility Test Suite disagrees with the SDK documentation, the SDK documentation is considered authoritative. Any technical details provided in the references included above are considered by inclusion to be part of this Compatibility Definition.