hi guys .. Im here again !
I dont know how to explain this .. Here's my example :
[url]
i want to know how to make a code like my example .. An icons and a cursor !
Im using s60v2 os8.1 ..
Thanks !
hi guys .. Im here again !
I dont know how to explain this .. Here's my example :
[url]
i want to know how to make a code like my example .. An icons and a cursor !
Im using s60v2 os8.1 ..
Thanks !
Short practical roadmap for , expanding on 's hint so the example in your screenshot becomes implementable.
Start with assets and layout. Create small PNG/BMP sprites for each icon and a separate cursor sprite. Use a fixed grid (rows/cols) and precalculate each tile's pixel rectangle so you can draw by index instead of recalculating every frame. Keep the sprites power-of-two-friendly in size (e.g., 24x24 or 32x32) to avoid surprises on different devices.
Rendering and input flow. Use a drawable surface (Canvas or a TopWindow surface) and a single off-screen buffer to compose the frame: blit the background, blit each visible icon, then blit the cursor last. On a key press update the selected index (bounds-check row/col), redraw only the two tiles that changed (old and new cursor positions) or redraw the whole buffer if that is simpler. Use the built-in event callback for the canvas to capture arrow keys and map them to up/down/left/right movements. This double-buffer + blit approach prevents flicker and keeps responsiveness on s60v2 hardware.
Performance and troubleshooting tips. Keep sprite sizes small and avoid per-frame image decoding: load images once into memory. If the screen flickers, confirm you are blitting the off-screen buffer rather than drawing directly to the screen. If key presses are inconsistent, log scancodes to a file to verify which codes your device sends and use those values. If an icon should launch another app, store the target UID with the tile and invoke the platform launch API exposed by PyS60 (consult the PyS60 docs for the exact call on your SDK).
Reading and examples. As recommended, look through PyS60 sample apps and the platform documentation for Canvas/graphics/TopWindow examples; those show the redraw and input patterns proven to work on s60v2.
Jump to Post— M.S. 53Try the TopWindow module for the graphics and those Icons (actually they are not icons but images that are linked to an app uid for App Run). the cursor is an image too and moves by defined keys(e.g. left/right arrow keys) via a redraw callback.
Implementing graphics like these is …
hi guys .. Im here again !
I dont know how to explain this .. Here's my example :
i want to know how to make a code like my example .. An icons and a cursor !
Im using s60v2 os8.1 ..
Thanks !
Try the TopWindow module for the graphics and those Icons (actually they are not icons but images that are linked to an app uid for App Run). the cursor is an image too and moves by defined keys(e.g. left/right arrow keys) via a redraw callback.
Implementing graphics like these is an advanced topic in canvas gui programming, at least in my oppinion :D
General suggestion: Read some introductory python texts like 'Hello Word' book, 'Dive into Python 2' ebook, etc.
For PyS60: Read the "Mobile Python" book and "Python on Symbian" online ebook at nokia developer.
One More: Try to read other programmers applications and scripts for s60 nokia phones. those are good tutorials ;)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.