You Are Here:

Community: Developer Discussion Boards

#1 Old Unhappy How can i do something like that? (from "Nokia Sensor") - 2005-09-18, 11:59

Join Date: Sep 2005
Posts: 119
Pepper_91
Offline
Regular Contributor
Hello:
I wan to do a menu like the nokia sensor (see photo below). Its related with the class Custom Item, and the method "traverse", but i don't understand the "java doc" . I need a few horizontal pages, with a few editable items each one.
If somebody can explain me how can i do this menu, or write the "skeleton" of the menu, i'll been thankful.


Hola:
Me gustaria hacer un menu como el del nokia sensor, (ver foto mas abajo). Se que esta relacionado con la clase "Custom Item", y el metodo "traverse" pero no me entero de nada con el java doc. Lo único que necesito son unas cuantas paginas navegables horizontalmente, con algunos elementos editables cada una..
Si alguien pudiese darme algo de información de como hacerlo, o escribirme el esqueleto del menu (eso ya sería genial) Le estaría muy agradecido.

Un saludo.

http://img.photobucket.com/albums/v7..._91/Src008.jpg

http://img.photobucket.com/albums/v7..._91/Src008.jpg
Last edited by Pepper_91 : 2005-09-19 at 09:29.
Reply With Quote

#2 Old Re: How can i do something like that? (from "Nokia Sensor") - 2005-09-20, 11:00

Join Date: Sep 2005
Posts: 119
Pepper_91
Offline
Regular Contributor
somebody? nobody? :(
Any example of Custom Item use? or a implementation of the menu using Canvas?


¿Alguien?¿Nadie?
Algun ejemplo de uso de la clase Custom Item? o alguna implementación de un menu usando Canvas?

Estoy desesperado :(
Reply With Quote

#3 Old Re: How can i do something like that? (from "Nokia Sensor") - 2005-09-20, 13:05

Join Date: Sep 2004
Posts: 68
Location: Barcelona, Spain
Nuria's Avatar
Nuria
Offline
Regular Contributor
Hola Pepper. Yo tenía que hacer algo parecido y al final acabé implementándome yo misma un par de clases.

A la primera le paso un string (puede ser todo lo largo que haga falta) y me lo separa en strings que caben por pantalla, que meto en un vector para poder hacer el scroll vertical.

La otra clase es un cuadro de texto en el que se puede escribir. Por ahí puedes encontrar como simular la entrada de texto con la clase canvas. Básicamente hay que hacer uso de keyPressed para mirar que tecla se ha pulsado y de keyRepeated para ver si hay que cambiar de a a b, por ejemplo.

Ambas clases extienden canvas.

No es difícil.

Espero haberte sido de ayuda,
Nuria.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Who created "Nokia Bowling"??!! mojosurfin Mobile Java Tools & SDKs 1 2003-08-23 18:35
Bug found in "Nokia Developer's Suite 2.0 for J2ME" timwilliams1971 Mobile Java Tools & SDKs 1 2003-07-30 23:53
Is "Nokia Picture Message" format supported in ANY SMS transport? carterson3 General Messaging 0 2003-05-12 17:23
Where can I download the "Nokia WAP Toolkit" Nokia_Archived General Browsing 1 2002-05-17 12:19
Bluetooth "Nokia PC Suit" announced features masterfnl Bluetooth Technology 1 1970-01-01 02:00

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia