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

  • Home
  • SEARCH
  • 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 8177665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:34:11+00:00 2026-06-06T23:34:11+00:00

i make an app which would fire different small animation, such a falling rotating

  • 0

i make an app which would fire different small animation, such a falling rotating star or a like a text floating from bottom to top, animated with canvas on a surfaceview

they are all constant once fired,
so i planned 2 ways for that, 1 is a big thread which
handles them all animations, updates each after each other animation 1 after 1

or having for each kind of animation such as a falling star, have it’s own thread set up, and at each given point the main activity could have a command go on one of the threads, creating him, and starting, and than forgetting about him, letting him run in the background and at the end of the animation that thread will end it self.

so i don’t have to worry about storing each fired threads and such, cause i don’t know how many could start at a given time.

so will it be more memory efficient to fire random small short threads or have 1 big thread to handle it all? will it work more smoothly and better?

the animations are simply for visual enchantment and does nothing else, neither does it interact with other animations it simply starts, loops, ends.

i hope u understood :\

  • 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-06T23:34:14+00:00Added an answer on June 6, 2026 at 11:34 pm

    You probably want a SurfaceView with one thread handling all of your drawing. Having one thread per animation seems overly-complicated. You can certainly have one method per animation type, e.g. renderStars(), renderText(), etc. that are called whenever your one animation thread renders.

    Recommended reading:

    • The SurfaceView documentation
    • The Canvas and Drawables API Guide – I’ve linked to the “On a SurfaceView” section, but you should probably read most of the document.
    • The Lunar Lander sample app – The online code is currently 404-ing after Google recently revamped their developer site, but this link shows you where to find the code in the SDK manager.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to make an app which would use custom map (instead of Google's
I have a single-threaded linux app which I would like to make parallel. It
I planned to make an iPhone app which store to-do lists like thing. What
I am trying to make an iOS app which would involve 5 or so
I have a pyqt4 app which should run with arbitrary colorscheme. I would like
I'm working at an app which would make a POST ajax request to a
I'm developing a Rails 3 app deployed on Heroku which would like to optimize.
I have built an iOS app which I would now like to test converting
I'm implementing a small application in C, which I would like to sell as
I'm new to android programming. I would like to make an app widget that

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.