Specifying Supported Input Methods

The <uses-configuration> tag can be used to specify which input methods the application supports.There are different configuration attributes for five-way navigation, the hardware keyboard and keyboard types; navigation devices such as the directional pad, trackball, and wheel; and touch screen settings.

There is no "OR" support within a given attribute. If an application supports multiple input configurations, there must be multiple <uses-configuration> tags—one for each complete configuration supported.

For example, if your application requires a physical keyboard and touch screen input using a finger or a stylus, you need to define two separate <uses-configuration> tags in your manifest file, as follows:

<uses-configuration android:reqHardKeyboard="true"

android:reqTouchScreen="finger" /> <uses-configuration android:reqHardKeyboard="true" android:reqTouchScreen="stylus" />

For more information about the <uses-configuration> tag of the Android manifest file, see the Android SDK reference at http://developer.android.com/guide/topics/ manifest/uses-configuration-element.html.

Was this article helpful?

0 0
Easy Software Profits

Easy Software Profits

Here's How Anyone Can Start, Build and Run their Own Successful Software Empire Without Knowing the First Thing About Programming, Scripting Or Any 'Coder' Stuff. There is no doubt about it software sells. Software has a high percieved value and it solves problems for people.  A claim that can't always be made for PDF books, Video products and the like.

Get My Free Ebook

Post a comment