Tuesday, October 26, 2010

Developing Android applications for Samsung GALAXY Tablet

Suppose,you are writing an application which is targeted to SAMSUNG GALAXY TABLET version,unfortunately you don't have a real device.

Developing for Samsung GALAXY Tab is no different from developing for any other Android based device. By utilizing only public APIs provided in the Android SDK and follow the guidelines and tips below, applications will not just work on the GALAXY Tab but also scale correctly.

If you test the application in android 2.2 emulator it was not perfect and if you run the same in real device,you will unexpected results.

In this case,you can test in ORIGINAL samsung galaxy tablet emulator which is avaliable in SAMSUNG developer portal.

It is with a 7” device and a screen resolution of 1024x600 the Samsung GALAXY Tab provides a perfect form factor to optimize applications, by implementing UI and UX enhancements previously not possible.
Samsung GALAXY Tab Add-on Installation Guidelines

1) Run AVD Manager on Eclipse IDE.

2) Select Available Packages in the left panel of AVD Manager.

3) Click “Add ADD-on Site” and enter the URL below.

4) Check Samsung GALAXY Tab Add-on packages and click install button.

5) Check Samsung GALAXY Tab Add-on license & Click install button.

6) After downloading and installation of GALAXY Tab Add-on, you should restart ADB (Android Debug Bridge) or Eclipse. 

Now,you can see the installed addon in Installed Packages of AVD manager and in list of targets available.

You can create samsung galaxy tablet emulator by selecting  samsung galaxy as Target device.

And output is as shown below:

Quick Guide Tips:

Samsung GALAXY Tab is a 7” inch device with 1024x600(WSVGA) resolution running Android 2.2 (Froyo). The following guidelines will help developers optimize applications for the best possible user experience.

Make sure that high density display (HDPI) resources are in the application package, as the tablet display requires these resources. Most Android devices are API level 4 or greater. We recommend porting over our application with minSDKVersion=4 or greater. This allows you to add HPDI resources in the application package. If the system cannot find the HPDI resources and android:anyDensity=”true” 

has been set, the existing resources will be scaled which may not give the user the best experience.

The following are values are default for the Samsung Android Tablet:

DeviceMetrics.density = 240
DeviceMetrics.xdpi = 168
DeviceMetrics.ydpi = 168
The density system property value has been set as

When using bitmap resources like advertisement banners, work with your ad vendor to get the correct banner size. Scale the bitmap programmatically by getting the device height and width at runtime as follows:

WindowManager mWMgr =
int width = mWMgr.getDefaultDisplay().getWidth();
int height - mWMgr.getDefaultDisplay().getHeight(); 

Android Market filters out applications based on the values specified in the AndroidManifest.xml file. The 7” inch tablet is a “large” screen.
    So, for applications which have minSDKVersion=3, define support-screens tag explicitly as:

  Follow the recommended generic compatibility guidelines, such as:
- In XML layout, Use wrap_content, fill_parent
- Use FrameLayout instead of AbsoluteLayout
- NEVER use hard-coding for pixel value, use dip (density independent pixel)
- Use resources according to each density, resolution category.


  1. Really awesome articles for a android beginners like me ,knowing everything by reading android docs is a hell task ,Thanks for sharing a tons of tips.

  2. Good work.This is one of the perfect information.Try to get more this kind of post.I enjoy a lot by read about your blog.

  3. Make a list of your nutrition chart involving juice and fruits at the top followed by
    green vegetables and milk products. The reason this is important is because you will have a stronger knowledge base and bag of tricks to keep you going on the rougher days.
    Nothing is more motivating than seeing physical proof of results.

    Also visit my web page: fun fitness tips and facts

  4. People sometimes tend to think, “if only I were a celebrity,
    everything would be better”. Who does not want to know what is happening in our
    favorite celebrity''. She married singer Mark Anthony
    in2005 and released her next album called Rebirth.

    Also visit my web page; http://www.jobvargas.com/blogs/entry/Superstars-and-their-Sun-shades

  5. The fitness tips for motivation we've been discussing can be very powerful if you use them. The fitness vacation - Whenever vacation is referred to, most of would think enjoying tropical foods, sitting beside the pool, drinking, and partying all night. This can be achieved by adding more weight, increasing the number of repetitions, or by adding on additional sets.

    my web site - Jillian Michaels Challenge

  6. Lots of house treadmills skimp on dimensions and energy if you want to accommodate smaller sized home

    Also visit my webpage dumbbell sets

  7. Regardless of no matter if you've got intention to acquire any health and fitness devices or possibly a rowing machine, make sure that you shell out time on the lookout all around ahead of coming to some decision that you just will not likely regret for getting a product that involve a substantial economical dedication.

    Also visit my weblog ... getfitnstrong.Com

  8. The initial a single, a far more contemporary western principle, puts the emphasis about the power of muscles.

    My blog - visit this backlink

  9. A Preacher curl attachment is usually integrated,
    which permits you to goal specific muscle tissue in the arms for your ultimate
    in power improvement and firming.

    my web-site - http://www.getfitnstrong.com/bowflex-dumbbells/bowflex-selecttech-dumbbe...

  10. The fact is, a system this sort of as this could actually occasionally appear to be shifting you while
    in the completely wrong path at the beginning.

    Also visit my web page :: dumbbell adjustable weight

  11. If yοu desire to incrеase youг fаmiliaritу sіmply keеp visiting this web page anԁ be updated with the neωеst goѕsiр posted

    Here is mу web blog - apartment complex

  12. Hello, I desire to subscribe for this webpage to take hottest updates, therefore where can i do it please assist.

    Also visit my page :: free microsoft Points

  13. Greetings from Los angeles! I'm bored to death at work so I decided to browse your website on my iphone during lunch break. I love the info you present here and can't wait
    to take a look when I get home. I'm amazed at how quick your blog loaded on my mobile .. I'm not even using WIFI, just 3G .
    . Anyways, excellent site!

    Here is my weblog: dailymotion.com

  14. I like the helpful info you provide in your articles.
    I will bookmark your weblog and check again here frequently.
    I'm quite certain I will learn a lot of new stuff right here! Good luck for the next!

    my webpage ps3 jailbreak

  15. When some one searches for his necessary thing, so he/she
    needs to be available that in detail, therefore that thing is maintained over here.

    My homepage; http://www.youtube.com/Watch?v=vbM6VmcBkHE

  16. What a data of un-ambiguity and preserveness of
    valuable knowledge about unpredicted emotions.

    Here is my blog Psn Code Generator

  17. Hello there, I discovered your web site by means of Google even as looking for a
    comparable matter, your website got here up, it appears to
    be like great. I have bookmarked it in my google bookmarks.

    Hi there, simply became alert to your blog through Google, and found that it's truly informative. I'm going to be careful for brussels.
    I will appreciate when you proceed this in future. A lot
    of people can be benefited out of your writing. Cheers!

    Have a look at my web-site: The Interlace

  18. I am гegular reader, how are you eѵerybody?
    This аrticle posted at this ωeb ρage іs really nіce.

    Mу web blog: carpet cleaning in phoenix

  19. I think everything posted was very logical. However, what about this?

    what if you were to create a killer headline? I mean, I
    don't want to tell you how to run your website, however what if you added a post title that makes people desire more? I mean "Developing Android applications for Samsung GALAXY Tablet" is a little vanilla. You ought to glance at Yahoo's front page and see
    how they create article headlines to get viewers to open the links.

    You might add a related video or a picture or two to grab readers interested about everything've got to say. In my opinion, it could make your posts a little bit more interesting.

    Also visit my web site 1gb mp3 player

  20. Fantaѕtіc websіte. A lot of hеlpful info
    hеre. I аm sеnding it to some fгiеndѕ ans аlso ѕharing in dеliсiоus.
    Anԁ naturally, thanks fоr your еffort!

    Here is my web blоg carpet cleaning machines

  21. This is the right blog for anyone who wishes to find out about this topic.
    You know so much its almost hard to argue with
    you (not that I really would want to…HaHa). You certainly put a fresh spin on a
    subject that's been written about for years. Excellent stuff, just wonderful!

    Feel free to surf to my page :: solarpumpen teich

  22. Today, while I was at work, my cousin stole my iPad
    and tested to see if it can survive a twenty five foot drop,
    just so she can be a youtube sensation. My iPad is now broken and she has 83 views.
    I know this is entirely off topic but I had to share it
    with someone!

    Here is my page carpet cleaning in phoenix az

  23. Thanks in favor of sharing such a fastidious thinking, piece of
    writing is nice, thats why i have read it completely

    My weblog ... Minecraft Crack

  24. Admiring the commitment you put into your blog and in depth information you
    present. It's great to come across a blog every once in a while that isn't the same out of date rehashed material.
    Great read! I've bookmarked your site and I'm adding your RSS feeds to my Google account.

    my web blog; ps3 jailbreak ()

  25. As you specify, the iphone keeps on proviing the best diversion environment for clients and engineers. Notwithstanding, as programming designers keep on upgraing their recreations, soon the Google stage will be a practical contender for Apple. I have an appeal to you.... I needed to make an android based talk requisition like whatsapp or wechat. Anyhow, I dnt have much thought regarding it with the exception of that it needs a server and customer side modifying.
    Develop Android Apps // Mobile Application Development // Android Application Development

  26. I am now not sure the place you are getting your info, however great topic.
    I needs to spend some time finding out much more or
    working out more. Thanks for great info I was searching for this
    info for my mission.

    Here is my blog post; best double stroller 2014 (tinyurl.com)


Android Developers Blog

Ram's shared items