• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android drawing

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.
 
Back
Top Bottom