2

is their any way so that i can install .jar and .jad file in emulator... through command prompt...

i have written this in the command prompt

 C:/WTK2.5.2_01/bin eumlator -XDescriptor: C:/Documents and Settings/saurav/j2mewtk/2.5.2/apps/MyProject/bin

but this is not working

error which cmd is showing is this

C:/WTK2.5.2_01/bin is not reconnized as an internal or external command, operable program or batch file.
RonK
  • 9,472
  • 8
  • 51
  • 87
Sourabh
  • 5,170
  • 9
  • 30
  • 41

2 Answers2

3

WTK's emulator doesn't have any concept of app installation.

What you can do is, you can load it in emulator and run it .

here you go

/path/tp/wtk/bin/ eumlator -XDescriptor:/path/to/yourapp/yourapp.jad 
jmj
  • 237,923
  • 42
  • 401
  • 438
  • please check the question again i have made few changes and added the error i am facing – Sourabh Apr 21 '11 at 08:48
  • can you see `emulator.exe` in your `C:\\WTK\bin` ?? if not then navigate to proper path and then execute this. – jmj Apr 21 '11 at 08:55
  • yes i can see the emulator.exe and on running emulator.exe i am seeing xdescriptor written on the cmd – Sourabh Apr 21 '11 at 08:59
  • all i have to give path to the jad file isn't it – Sourabh Apr 21 '11 at 08:59
  • it worked thanx... i went to that wtk path and entered emulator -xdescriptor:... then the file browser dialog box poped up and then selected the jad file from the path... thanx a lot – Sourabh Apr 21 '11 at 09:23
0

In the emulator in its screen there is a field in idle view: "Install application" it brings you to "Enter a website to install from" window. press tray menu and select 'Storage' option . Now you can put in the path . For instance: 'c:/temp/ajad.jad' ,(or jar) Now choose in menu install.

CodeToLife
  • 3,672
  • 2
  • 41
  • 29