APIs [RESOLVIDO OBRIGADO]

2 respostas
jeanton

Como faço para encontrar e importar novas APIs? Estou começando no java, ja aprendi um bocado em java WEB, mas agora estou tentando mexer com Mobile, e nao consigo puxar para minha classe os imports da microedition. Meu chefe que antes queria um sistema WEB, decidiu agora fazer um sistema integrado com palm e tive d mudar meu foco de estudo. Tem como alguem me ajudar. agradeço.

2 Respostas

H

Aqui tem algumas coisa interessantes.

http://java.sun.com/javame/downloads/index.jsp

jeanton

henriquejhc:
Aqui tem algumas coisa interessantes.

http://java.sun.com/javame/downloads/index.jsp

Henrique, baixei o software da sun para desenvolvimento mobile, mas quando vou executar o projeto Hello Word por ex. da erro direto de acesso a memoria. e no console aparece.

*** Error ***

Failed to connect to device 0!

Reason:

Emulator 0 terminated while waiting for it to register!

Cannot process -Xjam:run= command.

You must supply a parameter for run command!

Syntax:

emulator [arguments]

In order to get commands supported by given device run:

emulator.exe -Xdevice:<device name> -Xquery

Generic list of arguments is:

-version           Display version information about the emulator

-help              Display list of valid arguments

-classpath, -cp    The class path for the VM

-D<name>=<value>   Set a system property

-Xdebug            Use a remote debugger

-Xrunjdwp:[transport=<transport>,address=<address>,server=<y/n>

suspend=<y/n>]

Debugging options

-Xdevice:<device>  Select a device skin for the emulator

-Xdomain:<domain_name>

Set the MIDlet suites security domain
-Xquery            Print device information

-Xjam[:install=<JAD file url> | force | list | storageNames |

run=[<storage name> | <storage number>] |

remove=[<storage name> | <storage number> | all]]

Java Application Manager and support

for Over The Air provisioning (OTA)

-Xautotest:<JAD file url>

Run in autotest mode

-Xdescriptor:<JAD file name>

The JAD file to be executed

C:\Documents and Settings\Administrador\Meus documentos\JavaMESDKProjects\HelloWord\nbproject\build-impl.xml:629: Execution failed with error code 1.
BUILD FAILED (total time: 6 seconds)

Sabe o que pode ser?

Criado 9 de fevereiro de 2010
Ultima resposta 9 de fev. de 2010
Respostas 2
Participantes 2