PDA

View Full Version : FlashLite + Brew


emanNick
09-25-2006, 09:57 AM
Hello Everyone,

I'm creating one flashlite application using brew postprocessor. When i compiled my flashlite application, i'm getting .mif and .dll file for the simulator. But not able to test it on the simulator.
When i'm trying to test my application on the simulator it is giving me the following error :-
"This application has been disabled. Would you like to restore it?"


Here are the steps that I have taken:

1- published using the wizard, got two files in my simulator folder, test.dll and test.mif

2- created a folder called "test" (name of my app) in the BREW 3.1.5 >> sdk >> examples folder,

3- I copied test.dll and test.mif to the test folder from step 2

4- opened the simulator and did File - Change Applet Directory - selected test as my applet directory - BREW 3.1.5 >> sdk >> examples>>test>>test>>test.dll

5- my icon appears on screen in the simulator

6- I chose "select" to select the application

7- I get a message on the screen that says "This application has been disabled. Would you like to restore it?"

so anyone is having any idea about this.

please let me know

thanx in advance

max
09-25-2006, 11:38 AM
Search the forums, it's related to the location of your files and the emulator directory settings.

emanNick
09-26-2006, 09:57 AM
Hi mohlendo,

thanx for the reply.

As you suggest I had searched in the whole forum, but i'm not getting any satisfactory answer.

You have mentioned about the location of files and the emulator directory settings
Can you explain me that in detail.

I had given my procedure to check the file in the simulator in my earlier thread.

So can you please explain me where i'm wrong in my procedure.

max
09-26-2006, 01:29 PM
http://brewforums.qualcomm.com/showthread.php?t=10067&highlight=simulator+application+disabled

emanNick
09-27-2006, 12:29 AM
http://brewforums.qualcomm.com/showthread.php?t=10067&highlight=simulator+application+disabled

Hi, mohlendo

once again thnx for the reply. I had gone through the link which you have posted in your thread.

There they are saying Go to Project->Settings->general and clear text from output text box. This will place the .dll in your working directory and not the debug directory

But in the simulator i didn't find any Project->Settings.........

So can you please tell me where should i go.

thnx in advance

regards

amit

samalPramod
09-27-2006, 01:20 AM
Hi,
Please check you simulator settings for .MIF and .Dll file. The .MIF file and .Dll File should be in the respective directory. Check the you dll file, is it in the directory you specified in the simulator

But in the simulator i didn't find any Project->Settings.........

As far as the above statement is concerned Project->Settings you will not find in simulator. It should be in your Editor is VC++ or what ever editor you are using

Thanks
Pramod

emanNick
09-27-2006, 10:15 AM
hi samalPramod,

thanx for the reply

following is the path of my .dll and .mif formats

i have created a folder named test in C:\Program Files\BREW 3.1.5\sdk\examples which includes test.mif and test folder which contains test.dll file

so the path of .mif and .dll file is respectively as follows :-

C:\Program Files\BREW 3.1.5\sdk\examples\test\test.mif

C:\Program Files\BREW 3.1.5\sdk\examples\test\test\test.dll

so please tell me where i'm wrong

samalPramod
09-28-2006, 12:26 AM
Hi emanNick,

so the path of .mif and .dll file is respectively as follows :-

C:\Program Files\BREW 3.1.5\sdk\examples\test\test.mif

C:\Program Files\BREW 3.1.5\sdk\examples\test\test\test.dll

So if the above is your MIF and DLL Path then in the Emulator/Sumulator set the MIF DIrectory to C:\Program Files\BREW 3.1.5\sdk\examples\test and and applet DIR be set to C:\Program Files\BREW 3.1.5\sdk\examples\test\test .
It should work.

Thanx
Pramod

ruben
10-09-2006, 07:08 AM
What is the root path for your application, if it is set to the "examples" folder then
the path of .mif and .dll file is respectively as follows :-
C:\Program Files\BREW 3.1.5\sdk\examples\test.mif
C:\Program Files\BREW 3.1.5\sdk\examples\test\test.dll