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 7902659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:33:41+00:00 2026-06-03T09:33:41+00:00

I had worked on an Android application with 2.2 at the beginning. It works

  • 0

I had worked on an Android application with 2.2 at the beginning. It works properly on a cell phone or tablet with 2.2 or 3.2.

But now I have tried on a cell phone with 4.0.3. There are two issues for which I can’t figure out the solution yet.

  1. Out of memory issue : It says out of memory and then crash. I haven’t faced it on 2.2.
    In fact, I just set those images in the layout xml. I am not sure what is the differences in 2.2 and 4.0.

  2. Layout problem. The layout is wrong. I use the xml file to set the image position and size.
    I have no idea why it doesn’t work, especially the font size,the numbers in the values part.
    They are totally different from what i see at android 2.2

  • 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-06-03T09:33:42+00:00Added an answer on June 3, 2026 at 9:33 am

    Problem one :

    Its not the 2.2 - 4.0 issue,but the memory difference in the mobile handsets. With the given information,this is all I can say 🙂 Also have a look at : Avoiding Memory Leaks

    Problem two :

    This is why you recommended to use a Layout and NEVER do Absolute positioning (Which I strongly suspect you did) !

    Have a look at :

    1. XML Layouts
    2. Supporting Multiple Screens
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have worked within a web development company where we had our local machines,
I've worked on a few projects now, and I've had to change the framework
I had an old (but great) app using NHibernate 1.0.2. Worked like a charm.
I have worked on an Android project for which I've used versioning locally and
I used to have some experience with developing for android but I started up
I have been building this app for a while now and have not had
I had created database in my android app, then inserted a statement. Everything worked,
I have some classes that used to inherit from ListActivity directly. Everything worked. Now
I checked out a project from TFS I had worked on a while ago,
I had code that worked fine when running in the context of the main

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.