What is the best way to generate fractal curves on android?
Should I use NDK?
and if not
What is the right class to extend View or SurfaceView
I've generated two fractals extending View and overriding onDraw(), when the iteration count is big and curve ratio is too small, generation is too slow
You're wondering how to get more speed in the drawing. There is much information about that on this site (for example here you have some charts).
Basically, you'll get better performance extending SurfaceView than extending View and better by using GLSurfaceView.
You can read here that using NDK will not benefit most applications. I think you shouldn't use it.
If you already know OpenGL I recommend to use GLSurface. If not, try if SurfaceView get enough FPS before learning OpenGL
Recently I stumbled on an Android tutorial at www.bringback.com which seems to contain a bunch of YouTube episodes each about 5-6 minute in length. If you want to jump straight into the SurfaceView tutorial go to part Learn Android Tutorial 1.28- Introduction to the SurfaceView.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With