1. Download our Official Android App: Forums for Android!

How Honeycomb apps scale

Discussion in 'Android Devices' started by Jensen, Feb 23, 2011.

  1. Jensen

    Jensen Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    33
    Posts:
    85
    Joined:
    May 19, 2010

    May 19, 2010
    85
    50
    33
    Here is my app on Froyo, notice I'm clicked on the "Sync Profiles" tab:

    [​IMG]


    Here is my app in Honeycomb without changing a line of code, notice that honeycomb creates that grid menu button at the bottom. Hitting this does the same thing as hitting menu on the phone:

    [​IMG]

    Here is my app in Honeycomb after adding one line of code. This one line of code tells it to switch to "Honeycomb mode" when running on Honeycomb. Notice the menu button is gone and instead the contents of the menu button now reside in the action bar overflow button in the top right of the screen, which I've clicked in this snapshot:

    [​IMG]



    This one line of code has zero effect on how the app looks when run in Froyo.
     

    Advertisement

  2. scottaboshia

    scottaboshia Newbie
    Rank:
    None
    Points:
    16
    Posts:
    21
    Joined:
    Feb 19, 2011

    Feb 19, 2011
    21
    6
    16
    Web Developer
    Saint Paul, MN
    That's freakin' awesome! I have got to start doing some Android app development. If I only had more hours in the day :(
     

Share This Page

Loading...