Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: I got a problem  (Read 5185 times)

0 Members and 1 Guest are viewing this topic.

medico6601

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Windows 7
    I got a problem
    « on: September 21, 2017, 06:41:02 AM »
    Hi there, My name's Thurner
    I'm developing a small Android app and I've encountered such a problem. I want to move a object across the screen in a particular amount of time (1 second), regardless of the screen size or density. I tried moving the object with DPI, but I don't get the same result on different screens เล่นคาสิโนบนมือถือ


    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: I got a problem
    « Reply #1 on: September 21, 2017, 07:19:53 AM »
    Seems as though you will need a way to know the area of the screen and then preset speeds for display sizes for the program to go with such as a smaller area screen it would get from one side to the other in 1 second at a slower rate then a large screen which the object would move faster across the screen to get to the other side within that same 1 second. My thoughts on this are that for small displays the game or whatever it is will appear to run slower and on larger screens faster. Thinking you need to either have the user specify a screen size or have some sort of hardware detection for size of display to be part of the equation.

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: I got a problem
    « Reply #2 on: September 27, 2017, 11:06:33 AM »
    Going forward try to summarize your problem as the name of your Topic.  Like maybe Android Development movement.