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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:16:51+00:00 2026-06-01T15:16:51+00:00

When the my application launches for the first time after installation, it works good,

  • 0

When the my application launches for the first time after installation, it works good, but when the user relaunches it after closing, the application hangs on first activity for some time and runs slow, giving the Logs of purging from font cache, It happens only on first activity.
In the first activity, I am downloading strings and images from a web-service and showing the data in a TableLayout in dynamically created TableRow. I am using a custom font (Halvetica bold, if it matters) for showing data. The ScrollView in which I am putting the TableLayout, doesn’t scrolls on relaunching for few seconds and sometimes triggers the ANR.
I am using AsyncTask for downloading those data. Is there any way I can stop this purging or relaunch the activity as if it’s getting launched for the first time after installation??

  • 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-01T15:16:52+00:00Added an answer on June 1, 2026 at 3:16 pm

    I think I got this. The problem was I was using a static class, which was not getting reset and due to that the TableRow was getting piled up, affecting the performance.
    So I declared a new reset() method in that static class and called it in onDestroy().
    Additionally I converted the whole TableLayout + ScrollView into a ListView which has a recycle feature. Now the application is working excellent.

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

Sidebar

Related Questions

I have an application that is started with JWS. The first time user launches
It seems like a standard requirement: next time the user launches the application, open
My app for some reason fails the first time it opens, but then opens
I just launched my first MVC3 application and everything works fine except cookies authorisation.
I want make interactive application where user launches it and can do various task
I need a way to detect if this is the first time the user
I have some query. First of all let's have an iPhone application flow which
When my application launches, iAd refuses to load an ad on the first screen.
I am developing an application. my requirement is that first time when i installing
My android application stops after startActivity () call of my 2nd intent. It works

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.