Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7076895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:21:16+00:00 2026-05-28T06:21:16+00:00

I have an application developed for Honeycomb (initially 3.0) and after the ICS is

  • 0

I have an application developed for Honeycomb (initially 3.0) and after the ICS is released the users can install it to theirs phones with ICS, not just to tablets. How can I filter these phones? I have tried with the <support-screens> but that is not working. Also an interesting (at least to me) thing my application won’t scale down to smaller screens. I used fixed sized controls but the size is in dp.

In short:

  1. Somebody knows how can I filter the ICS phones? (preferably from code)
  2. What should I do to support ICS phones? (I guess I need to implement a whole new layout for the ICS phones, but it is still a question to me how can I determine what kind of device is it, phone or tablet?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:21:17+00:00Added an answer on May 28, 2026 at 6:21 am
    public static boolean isHoneycomb() {
        // Can use static final constants like HONEYCOMB, declared in later versions
        // of the OS since they are inlined at compile time. This is guaranteed behavior.
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
    }
    
    public static boolean isTablet(Context context) {
        return (context.getResources().getConfiguration().screenLayout
                & Configuration.SCREENLAYOUT_SIZE_MASK)
                >= Configuration.SCREENLAYOUT_SIZE_LARGE;
    }
    
    public static boolean isHoneycombTablet(Context context) {
        return isHoneycomb() && isTablet(context);
    }
    

    Copied from this answer here: https://stackoverflow.com/a/8427523/253583

    You will also probably want to restrict Android Market from enabling users to install this on phones with http://developer.android.com/guide/topics/manifest/supports-screens-element.html in your manifest.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed an application which it runs on honeycomb. I wonder that can
I have a application developed based on Compact Framework 1.0. I can run it,
We have a CGI application developed using python, which can be hosted in erlang
I have an application developed in VS2010 MVC, to install the application on the
I have a web application developed using PHP. I want my users to select
I have web application developed using JSP and struts. I am just looking out
I have an application developed in Grails 2.0.4, I am hard coding some of
I have an application developed in Zend Framework 1.11. I use Zend_OpenId to create
I have an application developed with Visual Studio 2008 and distributed throught ClickOnce. My
I have an application(Developed using Adobe AIR) in which i have opened a port

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.