- সিনট্যাক্স:
<uses-configuration android:reqFiveWayNav=["true" | "false"] android:reqHardKeyboard=["true" | "false"] android:reqKeyboardType=["undefined" | "nokeys" | "qwerty" | "twelvekey"] android:reqNavigation=["undefined" | "nonav" | "dpad" | "trackball" | "wheel"] android:reqTouchScreen=["undefined" | "notouch" | "stylus" | "finger"] />
- এর মধ্যে রয়েছে:
-
<manifest>
- বর্ণনা:
অ্যাপ্লিকেশনটির জন্য প্রয়োজনীয় হার্ডওয়্যার এবং সফ্টওয়্যার বৈশিষ্ট্যগুলি নির্দেশ করে৷ উদাহরণস্বরূপ, একটি অ্যাপ্লিকেশন নির্দিষ্ট করতে পারে যে এটির জন্য একটি শারীরিক কীবোর্ড বা একটি নির্দিষ্ট নেভিগেশন ডিভাইসের প্রয়োজন, যেমন একটি ট্র্যাকবল। স্পেসিফিকেশনটি ডিভাইসগুলিতে অ্যাপ্লিকেশন ইনস্টল করা এড়াতে ব্যবহৃত হয় যেখানে এটি কাজ করে না।
দ্রষ্টব্য: বেশিরভাগ অ্যাপ এই ম্যানিফেস্ট ট্যাগ ব্যবহার করে না। দৃষ্টি-প্রতিবন্ধী ব্যবহারকারীদের সহায়তা করার জন্য সর্বদা একটি দিকনির্দেশক প্যাড (ডি-প্যাড) দিয়ে ইনপুট সমর্থন করুন এবং স্পর্শ ছাড়াও বা পরিবর্তে ডি-প্যাড ইনপুট প্রদানকারী ডিভাইসগুলিকে সহায়তা করুন।
আপনার অ্যাপে কীভাবে ডি-প্যাড ইনপুট সমর্থন করবেন সে সম্পর্কে তথ্যের জন্য, হ্যান্ডেল কন্ট্রোলার অ্যাকশন পড়ুন। যদি আপনার অ্যাপটি টাচস্ক্রিন ছাড়া একেবারেই কাজ করতে না পারে, তাহলে তার পরিবর্তে প্রয়োজনীয় টাচস্ক্রিনের ধরন ঘোষণা করতে
<uses-feature>
ট্যাগ ব্যবহার করুন, বেসিক টাচ-স্টাইল ইভেন্টের জন্য"android.hardware.faketouch"
থেকে আরও উন্নত টাচ ধরনের যেমন একাধিক আঙ্গুল থেকে স্বতন্ত্র ইনপুটের জন্য"android.hardware.touchscreen.multitouch.jazzhand"
হিসাবে।- গুণাবলী:
-
android:reqFiveWayNav
- অ্যাপ্লিকেশনটির জন্য একটি পাঁচ-উপায় নেভিগেশন নিয়ন্ত্রণ প্রয়োজন কিনা। এটা যদি হয়
"true"
এবং না হলে"false"
। একটি পাঁচ-উপায় নিয়ন্ত্রণ এমন একটি যা নির্বাচনকে উপরে, নীচে, ডানে বা বামে স্থানান্তর করতে পারে এবং বর্তমান নির্বাচনকে আহ্বান করার একটি উপায়ও সরবরাহ করে। এটি একটি দিকনির্দেশক প্যাড (ডি-প্যাড), ট্র্যাকবল বা অন্য ডিভাইস হতে পারে।যদি একটি অ্যাপ্লিকেশনের জন্য একটি দিকনির্দেশক নিয়ন্ত্রণের প্রয়োজন হয়, কিন্তু একটি নির্দিষ্ট ধরনের নিয়ন্ত্রণ না হয়, তাহলে এটি এই বৈশিষ্ট্যটিকে
"true"
তে সেট করতে পারে এবংreqNavigation
বৈশিষ্ট্যটিকে উপেক্ষা করতে পারে। যাইহোক, যদি এটির জন্য একটি নির্দিষ্ট ধরনের নির্দেশমূলক নিয়ন্ত্রণের প্রয়োজন হয়, তবে এটি এই বৈশিষ্ট্যটিকে উপেক্ষা করতে পারে এবং পরিবর্তেreqNavigation
সেট করতে পারে। -
android:reqHardKeyboard
- অ্যাপ্লিকেশনটির জন্য একটি হার্ডওয়্যার কীবোর্ড প্রয়োজন কিনা। এটা যদি হয়
"true"
এবং না হলে"false"
। -
android:reqKeyboardType
- অ্যাপ্লিকেশনটির জন্য যে ধরনের কীবোর্ড প্রয়োজন, যদি থাকে। এই বৈশিষ্ট্যটি হার্ডওয়্যার এবং সফ্টওয়্যার কীবোর্ডের মধ্যে পার্থক্য করে না। যদি একটি নির্দিষ্ট ধরনের হার্ডওয়্যার কীবোর্ডের প্রয়োজন হয়, তাহলে এখানে টাইপটি নির্দিষ্ট করুন এবং
reqHardKeyboard
বৈশিষ্ট্যটি"true"
-তে সেট করুন।মান অবশ্যই নিম্নলিখিত স্ট্রিংগুলির মধ্যে একটি হতে হবে:
মান বর্ণনা " undefined
"অ্যাপ্লিকেশনটির জন্য কীবোর্ডের প্রয়োজন নেই। একটি কীবোর্ডের প্রয়োজনীয়তা সংজ্ঞায়িত করা হয়নি। এটি ডিফল্ট মান। " nokeys
"অ্যাপ্লিকেশনটির জন্য কীবোর্ডের প্রয়োজন নেই। " qwerty
"অ্যাপ্লিকেশনটির জন্য একটি আদর্শ QWERTY কীবোর্ড প্রয়োজন৷ " twelvekey
"অ্যাপ্লিকেশনটির জন্য একটি বারো-কী কীপ্যাড প্রয়োজন, বেশিরভাগ ফোনের মতো, 0
থেকে9
পর্যন্ত অঙ্কগুলির জন্য কীগুলি, প্লাস স্টার (*
) এবং পাউন্ড (#
) কীগুলি। -
android:reqNavigation
- অ্যাপ্লিকেশন দ্বারা প্রয়োজনীয় নেভিগেশন ডিভাইস, যদি থাকে। মান অবশ্যই নিম্নলিখিত স্ট্রিংগুলির মধ্যে একটি হতে হবে:
মান বর্ণনা " undefined
"অ্যাপ্লিকেশনটির কোনো ধরনের নেভিগেশন নিয়ন্ত্রণের প্রয়োজন নেই। নেভিগেশন প্রয়োজনীয়তা সংজ্ঞায়িত করা হয় না. এটি ডিফল্ট মান। " nonav
"অ্যাপ্লিকেশন একটি নেভিগেশন নিয়ন্ত্রণ প্রয়োজন হয় না. " dpad
"ন্যাভিগেশনের জন্য অ্যাপ্লিকেশনটির একটি ডি-প্যাড প্রয়োজন। " trackball
"অ্যাপ্লিকেশন নেভিগেশন জন্য একটি ট্র্যাকবল প্রয়োজন. " wheel
"অ্যাপ্লিকেশনটির জন্য একটি নেভিগেশন চাকা প্রয়োজন। যদি একটি অ্যাপ্লিকেশনের জন্য একটি ন্যাভিগেশনাল নিয়ন্ত্রণের প্রয়োজন হয়, কিন্তু সঠিক ধরনের নিয়ন্ত্রণ কোন ব্যাপার না, তাহলে এটি
reqFiveWayNav
অ্যাট্রিবিউটটিকে এটি সেট করার পরিবর্তে"true"
তে সেট করতে পারে। -
android:reqTouchScreen
- অ্যাপ্লিকেশনটির জন্য যে ধরনের টাচ স্ক্রিনের প্রয়োজন, যদি থাকে। মান অবশ্যই নিম্নলিখিত স্ট্রিংগুলির মধ্যে একটি হতে হবে:
মান বর্ণনা " undefined
"অ্যাপ্লিকেশন একটি স্পর্শ পর্দা প্রয়োজন হয় না. টাচ স্ক্রিনের প্রয়োজনীয়তা অনির্ধারিত। এটি ডিফল্ট মান। " notouch
"অ্যাপ্লিকেশন একটি স্পর্শ পর্দা প্রয়োজন হয় না. " stylus
"অ্যাপ্লিকেশনটির জন্য একটি টাচ স্ক্রিন প্রয়োজন যা একটি লেখনী দিয়ে চালিত হয়। " finger
"অ্যাপ্লিকেশনটির জন্য একটি টাচ স্ক্রিন প্রয়োজন যা একটি আঙুল দিয়ে চালিত হয়। দ্রষ্টব্য: যদি আপনার অ্যাপের জন্য কিছু ধরনের টাচ ইনপুট প্রয়োজন হয়, তাহলে প্রাথমিক টাচ-স্টাইল ইভেন্টের জন্য
"android.hardware.faketouch"
দিয়ে শুরু করে প্রয়োজনীয় টাচস্ক্রিন প্রকার ঘোষণা করতে<uses-feature>
ট্যাগ ব্যবহার করুন।
-
- প্রবর্তিত:
- API স্তর 3
- এছাড়াও দেখুন:
-
configChanges
<activity>
উপাদানের বৈশিষ্ট্য পরিবর্তন করে -
ConfigurationInfo
-
<ব্যবহার-কনফিগারেশন>
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# <uses-configuration\u003e\n\nsyntax:\n:\n\n ```xml\n \u003cuses-configuration\n android:reqFiveWayNav=[\"true\" | \"false\"]\n android:reqHardKeyboard=[\"true\" | \"false\"]\n android:reqKeyboardType=[\"undefined\" | \"nokeys\" | \"qwerty\" | \"twelvekey\"]\n android:reqNavigation=[\"undefined\" | \"nonav\" | \"dpad\" | \"trackball\" | \"wheel\"]\n android:reqTouchScreen=[\"undefined\" | \"notouch\" | \"stylus\" | \"finger\"] /\u003e\n ```\n\ncontained in:\n: [\u003cmanifest\u003e](/guide/topics/manifest/manifest-element)\n\ndescription:\n\n: Indicates the hardware and software features the application requires.\n For example, an application might specify that it requires a physical keyboard\n or a particular navigation device, like a trackball. The specification is\n used to avoid installing the application on devices where it doesn't work.\n\n **Note:** Most apps don't use this manifest tag.\n *Always* support input with a directional pad (D-pad) to assist sight-impaired\n users and support devices that provide D-pad input in addition to or instead of touch.\n\n For\n information about how to support D-pad input in your app, read [Handle controller actions](/develop/ui/views/touch-and-input/game-controllers/controller-input). If\n your app absolutely can't function without a touchscreen, then instead use the [`\u003cuses-feature\u003e`](/guide/topics/manifest/uses-feature-element) tag to\n declare the required touchscreen type, ranging from `\"android.hardware.faketouch\"` for basic\n touch-style events to more advanced touch types such as `\"android.hardware.touchscreen.multitouch.jazzhand\"` for distinct input from multiple fingers.\n\nattributes:\n:\n\n `android:reqFiveWayNav`\n : Whether the application requires a five-way navigation control. It's\n `\"true\"` if it does, and `\"false\"` if not. A five-way\n control is one that can move the selection up, down, right, or left, and\n also provides a way of invoking the current selection. It can be a\n directional pad (D-pad), trackball, or other device.\n\n\n If an application requires a directional control, but not a control of a\n particular type, it can set this attribute to `\"true\"` and ignore\n the [reqNavigation](#nav) attribute. However,\n if it requires a particular type of directional control, it can ignore\n this attribute and set `reqNavigation` instead.\n\n `android:reqHardKeyboard`\n : Whether the application requires a hardware keyboard. It's\n `\"true\"` if it does, and `\"false\"` if not.\n\n `android:reqKeyboardType`\n : The type of keyboard the application requires, if any.\n This attribute doesn't distinguish between hardware and software\n keyboards. If a hardware keyboard of a certain type is required,\n specify the type here and also set the `reqHardKeyboard` attribute\n to `\"true\"`.\n\n\n The value must be one of the following strings:\n\n\n | Value | Description |\n |---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | \"`undefined`\" | The application doesn't require a keyboard. A keyboard requirement isn't defined. This is the default value. |\n | \"`nokeys`\" | The application doesn't require a keyboard. |\n | \"`qwerty`\" | The application requires a standard QWERTY keyboard. |\n | \"`twelvekey`\" | The application requires a twelve-key keypad, like those on most phones, with keys for the digits from `0` through `9`, plus star (`*`) and pound (`#`) keys. |\n\n `android:reqNavigation`\n : The navigation device required by the application, if any. The value\n must be one of the following strings:\n\n | Value | Description |\n |---------------|--------------------------------------------------------------------------------------------------------------------------------------|\n | \"`undefined`\" | The application doesn't require any type of navigation control. The navigation requirement isn't defined. This is the default value. |\n | \"`nonav`\" | The application doesn't require a navigation control. |\n | \"`dpad`\" | The application requires a D-pad for navigation. |\n | \"`trackball`\" | The application requires a trackball for navigation. |\n | \"`wheel`\" | The application requires a navigation wheel. |\n\n\n If an application requires a navigational control, but the exact type of\n control doesn't matter, it can set the\n [reqFiveWayNav](#five) attribute to `\"true\"`\n rather than setting this one.\n\n `android:reqTouchScreen`\n : The type of touch screen the application requires, if any.\n The value must be one of the following strings:\n\n | Value | Description |\n |---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | \"`undefined`\" | The application doesn't require a touch screen. The touch screen requirement is undefined. This is the default value. |\n | \"`notouch`\" | The application doesn't require a touch screen. |\n | \"`stylus`\" | The application requires a touch screen that is operated with a stylus. |\n | \"`finger`\" | The application requires a touch screen that is operated with a finger. **Note:** If some type of touch input is required for your app, instead use the [`\u003cuses-feature\u003e`](/guide/topics/manifest/uses-feature-element) tag to declare the required touchscreen type, beginning with `\"android.hardware.faketouch\"` for basic touch-style events. |\n\nintroduced in:\n: API level 3\n\nsee also:\n:\n - [configChanges](/guide/topics/manifest/activity-element#config) attribute of the [\u003cactivity\u003e](/guide/topics/manifest/activity-element) element\n - [ConfigurationInfo](/reference/android/content/pm/ConfigurationInfo)"]]