How to limit the app phones only

I wish that my app was only available to phones that I would build a different version for tablets. I did find that any parameter in the xml app file put such a restriction.

Is this something that can be done via the app.xml file or is it something I should be doing in the Android market? The only thing I see on the Android Market is an option of devices, but there are thousands of devices that list and I have no idea on some of these devices to make a decision on whether to accept this device or not.

In the App descriptor XML file, use the following code to restrict to support screens:

Android: smallScreens = "true".

Android: normalScreens = 'true '.

Android: largeScreens = "false".

Android: xlargeScreens = "false" / >

You can read this, both to clarify on what screen sizes are that:

http://developer.Android.com/guide/topics/manifest/supports-screens-element.html

For example, I blocked my app for tablets that by

Android: smallScreens = "false".

Android: normalScreens = "false".

Android: largeScreens = "false".

Android: xlargeScreens = "true" / >

In iOS devices you use:

UIDeviceFamily

2

The string corresponding to the value of the peripheral type (2 being iPad-only in this case)

Tags: Flex

Similar Questions

  • How to limit the search to only certain web browsing websites?

    Hey, guys!

    I would like to know how to limit my computer to certain websites. I know how to set up parental controls, but I don't want to do that. I would like to limit the administrator account, but Windows won't let me because I am the administrator. Is there another way to do this? What I try to do is set up the computer so that it has access to some Web sites (similar to what you can do with parental controls). I don't want to block certain websites. I want to access some Web sites only and does not allow the computer to access all websites except those on the list to. Is there a way to do this? Is there a way the administrator to do without having to set up another account username or account of parental control?

    Thank you.

    R. best

    There is not a way to make this built-in function.  I'm sure there are programs online that can help you (although as an administrator, you can always circumvent or disable the software).

    If you want to only block some sites, you can change your hosts file.  However if you want to block "everything but a small number", it would be impossible because you can block only - not allow - sites using the hosts file.

  • How to specify the app is only for Android Tablet screens?

    See the topic!

    I want to find the equivalent of the definition of family of instruments for iOS but for Android. For EXAMPLE: In my XML application descriptor, I defined that the app only works on iPad and any iPhone or iPod. I want to do the same thing for Android so that it can run on a Xoom or a Nexus 7 or any other tablet that you may need but _not_ run on a phone...

    I presume it's simple, but I couldn't find the right conditions for google with!

    Thank you

    Gaius

    This article may help:

    http://developer.Android.com/guide/topics/manifest/compatible-screens-element.html

  • How to disable the App tabs (tablets should) start automatically?

    How to disable the App tabs (tablets should) start automatically?

    because the option [don't load the tabs up to choosing] dose does not work with her, and she keeps starts every time when I restart Firefox.

    Please help me!

    Don't bother, I arrived at the solution of my car, you can do the following:

    Type "subject: config" [without quotes!] in the location Bar (address bar) and press ENTER to display the list of preferences, as shown in the photo #1 in Firefox 17 under Windows 7.

    If you see a page with the warning as pictured #2, this might void your warranty!, click the "I'll be careful, I promise!" button to continue (in fact, there is no guarantee that it is, it's more a joke to ensure that users are aware of what they are about to do). Uncheck the box to avoid the warning in the future.

    Now to the search bar in the image #3 type: tab and search for it

    preference name:
    

    Browser.sessionstore.restore_pinned_tabs_on_demand

    or you can copy directly to the search bar.
    Then, follow the instructions in the photo n ° 3 .

    Just in case where if the photo appears, follow these steps:

    First: Right-click on the name of the preference that we sought.
    Then, click Toggle to change the value from false to true.
    Or, double-click it and it will change.
    Finally, restart Firefox, and you'll notice that they don't automatically load until you click on it.

    That's it, good luck to all. ;-)

    Note: the list of fonts preferences fat is the user changed, and the United Nations-fat is the default setting.

    Warning: change preferences can, in rare circumstances, break Firefox, Thunderbird or Mozilla Suite, or cause strange behavior. Only do if you know what you're doing or trustworthy tips.

    Additional INFORMATION:

    Subject: config is a feature of Mozilla applications which lists application settings (known as preferences) that are read from the profile files prefs.js and user.js and the default application. A lot of these preferences are not present in the preferences or Options dialog box. Using about: config is one of the many methods of changing the preferences and adding the other 'hidden '.

  • How to limit the length of the texts on iOS9?

    Hello

    I just worked on why I am required by my mobile / cell phone provider EA.  They charge any text as a picture message / SMS, it is longer than 120 characters?  Does anyone know how to limit the length of the texts / SMS so that it is impossible to send a more 120 characters or create an alert so that you are aware of the number of characters in the text / sms?

    Thank you very much

    Hello Turnus123,

    Thank you for using communities of Apple Support.

    I see that you will have to pay for SMS more than 120 characters.  To help identify messages exceeds this amount, you can activate a number of characters in the message settings.  Simply go to settings > Messages and activate "number of characters".

    Message settings

    Take care.

  • How to limit the media sharing on my computer

    Original title: multimedia file sharing...

    How to limit the sharing on my computer, IE multimedia: music, images and other files from other computers on the network or cell phones that are capable of DLNA?

    Hello

     
    Please check the links given and see if they help.
  • How to limit the length of the EditText control?

    All,

    How to limit the length of an EditText to accept ONLY 3 characters.

    The editText.characters property defines a size by default, but the user can always type more than 3 characters in the field.

    I got it!!!

    var win = new Window("dialog", "Limit 3");
    var txtLimit3 = win.add("edittext");
    txtLimit3.characters = 5;
    
    txtLimit3.onChanging = function (){
              howmany = txtLimit3.text;
              if (howmany.length > 3){
                        txtLimit3.text = "";
                        txtLimit3.textselection = howmany.slice(0,3)
                        }
              }
    
    txtLimit3.active = true;
    win.show();
    
  • How reset you the app to drive zero when you have completed a workout?

    How reset you the app to drive zero when you have completed a workout?

    Hi Larry

    When you are ready to complete your workout, press firmly on the view > press end > turn the digital Crown to scroll the summary results > at the bottom of the summary, touch save or delete.

    More information:

    Use of the workout on your Apple Watch - Apple Support

  • How to drag the apps? to force no click trackpad... I think they remove this features for elcapitan

    How to drag the apps? for a force not click trackpad...
    I think that they remove this features for elcapitan

    Select the application, and then hold down the trackpad (click), pressed with the left hand, while you use your right hand to drag the app.

    Note: This creates an alias to the place where you drag where you want to move , you also need the CMD key at the same time.

  • I have a new time capsule airport. How to limit the search for who can use the time capsule backup process?

    I have a new time capsule airport. How to limit the search for who can use the time capsule backup process?

    Set a password to disk... disk tab in the utility... and just give to those you want to use the TC...

  • How to limit the email receipt/downloaded size?

    I need information on how to limit the size of an email received or downloaded in Windows Mail to reduce the cost of the enamel of satellite data. Want to just send and receive, especially to receive emails with no graphics and keep it small.

    Simply set up for this purpose a message rule: tools, Message rules, mail, new...
     
    Gary van, Microsoft MVP (Mail)
    ------------------------------------------------------

    "moosehuntingguy" wrote in the new message: * e-mail address is removed from the privacy... *
    I need information on how to limit the size of an email received or downloaded in Windows Mail to reduce the cost of the enamel of satellite data. Want to just send and receive, especially to receive emails with no graphics and keep it small.

    Gary van, MVP (Mail)

  • Hi, could you tell me how to put the app icon

    Hi, could you tell me how to put the app icon. By what your code?

    usually, set you the application icon in the properties of your application.

    You can also use the HomeScreen class to change the icon or set an icon of overview.

  • How to limit the number of printers can be installed on this computer by using Group Policy?

    How to limit the number of printers can be installed on this computer by using Group Policy?

    Hello

    Thanks for asking! If I understand correctly, you should limit the printers installed on the computer by using Group Policy. I suggest you follow the troubleshooting steps to check if this may help.

    The question you have posted is related to Technet and would be better suited to the Technet community. Please visit the link below to find a community that will provide the best support.
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • I can't download the trial for inDesign (for Mac), Safari cannot open what I think is the redirection page and says he does not know how to open the app

    Safari can't open what I think is the redirection page and says he does not know how to open the app.


    It gives me the following information:

    OS X does not know how to open the addresses starting with aam

    Click on the link below and download Creative Cloud Installer file and use them to install the creative Cloud Desktop application.

    https://ccmdls.Adobe.com/AdobeProducts/KCCC/1/OSX10/CreativeCloudInstaller.dmg

  • How to limit the editing features in Acrobat DC?

    Nice day. I tried to put the password on my works in adobe illustrator, and it worked in other programs. but when I tried with acrobat dc, password protection seems unnecessary because it is able to change the details of my work. is there a way where in I can limit the editing text-only features?

    You can set a password for the document permissions (as opposed to a password to open document) to prevent changes in Acrobat. To do this, open the PDF file, right-click on the content of the page and select Document properties, go to the Security (the second tab) tab, in the drop-down list method of security choose password security, check it in the permissions group, check it out "Restrict editing and printing of the document." ... ' option, select the changes that you want to allow changes in the drop-down list and set a password to change permissions. Press OK, and then save your PDF file. Now when you open the PDF file in Acrobat, they won't be able to change.

    As ~ graffiti mentioned above, some third-party tools may not honour the permissions password and always allow editing.

Maybe you are looking for