Re: plot quadratic equation graph
John B. Matthews wrote:
SamuelXiao wrote:
I use the sample Function2DDemo1 to create a solution, in fact, I got
another problem. I now needs to translate this java [sic] into android [=
sic] app.
But purely in programming, no 3rd party library should be called. Now
I am still thinking the logic, any hints on it?
I know it can't run as distributed, but see also:
<http://stackoverflow.com/questions/4788576>
The SineTest I linked to above uses no Swing except for the container,
so it may be an approach.
While there is no Swing on Android, it's hardly a third-party
library. If anything, the graphics libraries in Android are the third-
party libraries.
If you do pixel-by-pixel coding of your widgets to make your app
"portable", is that really a good approach?
The answer depends on how you measure the value of "portability". I
measure its value in terms of development effort, functionality and
stability. if your program is perfectly portable in that it runs
unchanged on any platform, but at one frame per second or with twenty
seconds per screen refresh, that's not so good. If it runs with
completely different widget packages depending on platform, but
requires only dynamic linking or a platform build with no code
changes, and thus gains superior performance and reduced bug count,
that is so good.
--
Lew