How to integrate Siemens APIs with j2ME Wireless Toolkit 2.2 ?

hi,I have created a small midlet to play wav file using siemens Api.i don't know how to compile it?Can we integrate siemens Apis with available wireless toolkit.i have copied siemens apis in wtk\lib & wtklib folder.but when i compile it ,it gives error :

ERROR: native methods should not appear

Error preverifying class com.siemens.mp.color_game.Layer

if somebody has above solution plz send me mail at maneesh_jiit@yahoo.com

[455 byte] By [man_honeya] at [2007-11-26 19:46:43]
# 1
when you compile your app, you must specified the api that you wanna use...are you using any IDE?
suparenoa at 2007-7-9 22:33:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

ya I have used the siemens Api.whn i compile my midlet on toolkit,it gives an error-

ERROR: native methods should not appear

Error preverifying class com.siemens.mp.color_game.Layer

I also tried it on NetBeans IDE.whn i run it it says unable to create Midlet.

can u plz tell me the exact location where i have to put siemens Api ?

plz send me ur email id so that i can mail u sound midlet.

man_honeya at 2007-7-9 22:33:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
have you read this? http://eclipseme.org/docs/advJarFiles.html
suparenoa at 2007-7-9 22:33:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

Can u plz tell me how to use siemes Api in NetBeans IDE 5.5?

I have installed siemens mobile toolkit emulater.i have taken APis from the path.

C:\siemens\SMTK\lib\api\com\siemens & put it in wireless toolkit 2.2 in

C:\java\WTK_2.2\lib\midpapi10\midpapi10\com folder.thn after i compile my project & i got error :

ERROR: native methods should not appear

Error preverifying class com.siemens.mp.color_game.Layer

while compiling the same project in NetBeans.it gives an error whn i launch my midlet through emulater.

Unable to create MIDlet MyToneS

java.lang.ClassNotFoundException: MyToneS

at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:147)

at com.sun.midp.midlet.Selector.run(Selector.java:151)

Execution completed.

Can u plz solve my problem ?

man_honeya at 2007-7-9 22:33:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
where's your MyToneS MIDlet ?
suparenoa at 2007-7-9 22:33:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
hi,i have send u MyToneS Midlet.plz check ur email.
man_honeya at 2007-7-9 22:33:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7
first:i don't want to receive zip files with a project inside on my mail box without asking me.second:ask on a Netbeans forum why your project cannot compile... i'm not working with netbeans !
suparenoa at 2007-7-9 22:33:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...