Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
bievo
Posts: 6
Registered: ‎09-25-2012
My Device: Bold
My Carrier: AT&T
Accepted Solution

KSOAP....Again

I have read several posts on this with some similar issues but I am not able to resolve it. I will try and be as clear as I can with my configuration in the hopes that someone will see my issue.

 

Environement:

Blackberry JRE 4.5.0

Eclipse 3.7.0

 

I am trying to include ksoap2 in my application. My app consists of 2 libraries projects and 1 application project.

 

- Lib1 depends on lib2 (my ksoap lib)

- MyApp depends on Lib1

- Created my Ksoap lib by adding the ksoap2-j2me-core-prev-2.1.2.jar to the classpath and that is all this is contained in the project.

- Lib2 requires ksoap classes so I have to also add the ksoap2-j2me-core-prev-2.1.2.jar to the classpath of that project. I read that I should only have to add the KSOAP project but that does not work

-When I package and sign my app I get several files but the important ones I use are:

MyApp_full.jad

MyApp.cod

Lib1_full.jad

Lib1.cod

Lib2.jad

Lib2.cod

 

- I rename the "_full" files so that they are named MyApp.jad & Lib1.jad

- Deploy my app OTA and in simulator: get the same result on both.

Can't find module 'ksoap2-j2me-core-prev-2.1.2.jar'. Any help is appreciated.

 

If anyone has any steps to run outside of Eclipse if you think it will help I am all ears.

 

Please use plain text.
Developer
simon_hain
Posts: 15,863
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: KSOAP....Again

is it marked as "export"?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
New Contributor
bievo
Posts: 6
Registered: ‎09-25-2012
My Device: Bold
My Carrier: AT&T

Re: KSOAP....Again

 

 

 

 

Simon, thanks for your reply. Could you povide some more detail on marking the library as "export"? I don't see it as an option nor can I find it in the documentation.

Please use plain text.
Developer
simon_hain
Posts: 15,863
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: KSOAP....Again

right click your project, properties, java build path, order and export, select the checkbox next to your ksoap jar.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
New Contributor
bievo
Posts: 6
Registered: ‎09-25-2012
My Device: Bold
My Carrier: AT&T

Re: KSOAP....Again

Seems to have done the job. Thanks Simon

Please use plain text.