URGENT: How to include GPS external libraries in the project?
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vaibhav_Sanas
Posted On:   Friday, February 21, 2003 12:18 AM

Hi! I've developed an application in J2ME for Motorola's i88s device which has GPS. I use Sun's J2ME Wirelesss Toolkit. I want to include GPS' external class libraries in my application. These GPS class files are packaged in a ZIP file. I put this ZIP file in 'lib' directory under application's directory. ( Name of my application is : 'GuiTests' and my Wireless Toolkit Installation dir is 'C:WTK104'. So this ZIP file is in 'C:WTK104appsGuiTestslib\'). When I put this ZIP file in the above said folder, the application gets compiled but verifier gives an error saying, " Class loading error: Wrong name com.sun.kvem.ktools.ExecutionException: Preverifier returned 1 Build failed "    More>>

Hi!

I've developed an application in J2ME for Motorola's i88s device which has GPS. I use Sun's J2ME Wirelesss Toolkit. I want to include GPS' external class libraries in my application. These GPS class files are packaged in a ZIP file. I put this ZIP file in 'lib' directory under application's directory. ( Name of my application is : 'GuiTests' and my Wireless Toolkit Installation dir is 'C:WTK104'. So this ZIP file is in 'C:WTK104appsGuiTestslib\').

When I put this ZIP file in the above said folder, the application gets compiled but verifier gives an error saying,

" Class loading error: Wrong name com.sun.kvem.ktools.ExecutionException: Preverifier returned 1 Build failed "

I also tried to put this ZIP file in 'C:WTK104appslib\' directory as a common external library for all the projects, but it gives the same error.

I believe that I import the proper package for GPS class files which is, com.motorola.iden.position.* .

Any suggestions are highly appreciated.

~Vaibhav.

   <<Less

Re: URGENT: How to include GPS external libraries in the project?

Posted By:   ramil_segarra  
Posted On:   Thursday, May 8, 2003 08:47 PM

sorry

i mean put the folder that contains the position classes commotorolaiden-- to the pclass folder of your project then build it. try to execute may this will help. have a nice day


ramil

Re: URGENT: How to include GPS external libraries in the project?

Posted By:   ramil_segarra  
Posted On:   Thursday, May 8, 2003 08:45 PM

first u have 2 put the commotorola--- folder that contain the position classes then, build the project and execute.

have a nice day

ramil

Re: URGENT: How to include GPS external libraries in the project?

Posted By:   Lech_Migdal  
Posted On:   Friday, February 21, 2003 01:00 AM

Hi


As I see, WTK can't find ExecutionException, not something from com.motorola.iden.position.* ?

Drop the ExecutionException and use Exception instead, what will happen (maybe this would help ?) ?


Leszek

About | Sitemap | Contact