1. Are you ready for the Galaxy S20? Here is everything we know so far!

Rendering graphics in android

Discussion in 'Android Development' started by ClintonBrits, Jul 22, 2019.

  1. ClintonBrits

    ClintonBrits Lurker
    Thread Starter

    Hi everyone. im relatively new to android specifically but i have 20 odd years in differnt programming languages.
    For my third attempt i have tried to build an android version of a windows that is like google maps that stitches map tiles together and then rotates it if needed.
    I creates a new class extends surfaceview and implements runnable to draw the map. if you just load and draw its laggy and adding rotate on the completed map just cripples the performance to being unusable.
    If i then use google maps or other drawing apps like games, it is super smooth and renders fast.
    Is there a trick i am missing with android that allows it to render or draw faster?
    I have removed all the object creation from the draw loop. removed all the strings and just stripped it down to drawbitmaps and rotate with matrix.
     


Loading...
Similar Threads - Rendering graphics android
  1. notableuser
    Replies:
    0
    Views:
    329
  2. BlinkXIO
    Replies:
    1
    Views:
    292
  3. Strangeaslife
    Replies:
    1
    Views:
    320
  4. Edy Setyo Bayu Aji
    Replies:
    2
    Views:
    1,108
  5. arunkumarka
    Replies:
    0
    Views:
    549
  6. Emmanuel Godwin
    Replies:
    10
    Views:
    957
  7. Ivankov
    Replies:
    0
    Views:
    353
  8. Mohammad Umar
    Replies:
    0
    Views:
    560
  9. DrewInc
    Replies:
    4
    Views:
    1,388
  10. Rajarajanigrid
    Replies:
    2
    Views:
    551

Share This Page

Loading...