Originally Posted by skraj72
What was the fix? How did you reference the ksoap project to your existing project?
I had the same thing until I found a post on this forum which spelt out how to use ksoap... The post said something like ... Create a project called lib copy the pre-verified version of ksoap2 jar file from Richards post. Make that project a dependancy of the main project.
I attempted to run the kSoap amazon example from the real device.
On the simulator it gets as far as doing network I/O and fails with network connection problems but on the real device immediately on loading it gets a uncuaght exception java.lang.SecurityException... I went through the config -> advanced -> applications and set the xxx8220;permissionsxxx8221; to allow for everything. Still no changexxx8230;
Is there something I need to do...? Do I need to sign the application or soemthing before it will talk to the network...?
I have been on this project for like 5 days and they are ready to kick me off it and move onto Adobe AIR or something.
When I try to preverify I get something like:
C:\BB>"C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\bin\preverify.ex
e" amazon.jar lib\ksoap2-j2me-core-2.1.2.jar
Error preverifying class org.ksoap2.samples.amazon.AmazonDemo
Also when I try to search these forums with java.lang.SecurityException I get an error saying the word excluded: too comon or not found... or something.
Not even this post comes up in the search results.