Great APP! I know it is "early days" but is there any way to draw pixels on the screen?
JollyGreen
Réponse n° 1 -------- le 10/06/2011 @ 23:20 par Philippe
visiteur
For the moment, I do not know how to draw pixel on the screen. As soon as I find how to perform this, It will be implemented and documented.
Réponse n° 2 -------- le 26/06/2011 @ 14:44 par Pablo
visiteur
I was wondering the same thing and was able to figure it out. Within any program on Pyaf, include the ArmAPI: {$i ArmAPI.pas}Make sure sync this file to your Palm from ArmAPI_pas.PDB in the NaPP304/include/ folder on your computer Then use WinDrawPixel(x,y); in your program.Set x,y as intergers. (x and y are the coordinates from the upper-left of the screen) Check out the Palm OS SDK Reference.pdf for other command you are able to use.
Réponse n° 3 -------- le 26/06/2011 @ 17:50 par Pablo
visiteur
You will also have to find and change WinDrawPixel in ArmAPI.pas to read procedure WinDrawPixel(x,y: Coord); inline($E519C008, $E1A0E00F, $E59CFB2C); and remove // from the beginning. These additions can be taken from the Palm OS SDK Reference.pdf for other procedures and functions also.
Réponse n° 4 -------- le 28/06/2011 @ 11:29 par peterhenry
visiteur
Thanks but I want to be able to do this on Android not Palm. Anybody got any ideas?
JollyGreen
Réponse n° 5 -------- le 03/07/2011 @ 23:01 par Philippe
visiteur
Android NDK gives some ideas on the way to generate code for graphical function. They will be tested and implemented. Please be patient until the end of summer vacations.
Réponse n° 6 -------- le 17/08/2012 @ 15:04 par ukimiku
visiteur
Hi Philippe,
I am really looking forward to some graphics functions. Then Pepe might become my programming environment of choice.
Could you please tell us how much memory a Pepe application can use/reserve for variables, dynamic allocation... etc. on Android?