Java - J2ME para BLACKBERRY 7280

 
Vista:

J2ME para BLACKBERRY 7280

Publicado por yolanda (4 intervenciones) el 08/02/2007 08:33:32
Hola a todos,

Tengo una aplicación hecha en J2ME y necesito pasarla a una Blackberry 7280, pero al intentar pasarla con el cargador de aplicaciones me pide archivos de extensión .alx y .ali.
Los ficheros que yo tengo empaquetados son .jar y .jad. ¿Alguien sabe que debo hacer para poder pasar estos ficheros a la Blackberry?...

Muchas gracias de antemano a todos.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:J2ME para BLACKBERRY 7280

Publicado por Mario (622 intervenciones) el 08/02/2007 19:29:16
You will need:

a) Download and install the RIM Java Development Environment.
http://na.blackberry.com/eng/developers/downloads/jde.jsp

This software requires the sun Java SDK, so

b) Download and install the Sun Java SDK.
http://java.sun.com/j2se/1.4.2/download.html
MAKE SURE YOU GET THE SDK! *NOT* THE JRE!

Once both are installed, download the midlets you wish to put on your blackberry. Midlets are BOTH a .jar and .JAD file.

c) For ease of use, move the JAD and JAR files for each midlet you want to convert to the BIN directory in the RIM Java Development Environment directory on your hard drive, for example:
c:\program files\Research in Motion\Blackberry JDE 3.7\bin\

Using RAPC.exe in DOS, convert the midlet to a COD as follows, all on one line (might be easier to make a .bat file out of this)
d) rapc import="c:\Program Files\Research in Motion\Blackberry JDE 3.7\lib\net_rim_api.jar" codename=virca -midlet jad=Virca.jad Virca.jar

Subsitute a different codename, jad and jar filename for whatever application you wish to convert. If successful, it will say no errors and you will have a COD file. The import= is a REQUIRED step.

Using javaloader.exe from a DOS prompt to upload the newly created COD file to your blackberry (in my case a USB blackberry)
e) javaloader -usb load filename.cod

And that's it! An icon will appear in your ribbon. Give it a try and see if it works. Not everything will work, but most do. Mileage wil vary..

Mario Hidalgo.
Regards Neos Software Inc. 2007
http://www.geocities.com/neos_software/
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:J2ME para BLACKBERRY 7280

Publicado por yolanda (4 intervenciones) el 09/02/2007 17:36:53
Muchas gracias Mario, me funciono!!!

Ahora tengo otro problemilla, necesito crear una aplicacion en J2ME que acceda a base de datos, estoy un poco perdida...¿como puedo pasar la base de datos a la blackberry?....en J2ME; ¿puedo utilizar sentencias SQL??...

muchas gracias de nuevo.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar