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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Developer
Maxidrom
Posts: 8
Registered: ‎09-22-2008

Re: Opening user .html in simulator browser

I did what you said. And got a error  "unknown host file 80"
Please use plain text.
New Developer
ttklf4
Posts: 43
Registered: ‎07-29-2008

Re: Opening user .html in simulator browser

Hello,

 

you have created the directory for the SD card and started the emulator with this path?

Please use plain text.
New Developer
Maxidrom
Posts: 8
Registered: ‎09-22-2008

Re: Opening user .html in simulator browser

Hello,

Yes, I selected in Simulator Menu Simulate/Change SD Card and created path:

C:\Program Files\Research in Motion\BlackBerry Smartphone Simulators 4.6.0\4.6.0.148 (8220)\sdcard.

Then I wrote in browser line "file///sdcard/myfile.html".

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Opening user .html in simulator browser

Are you able to explore the simulated micro SD card from within the Media application (select Explore from the menu) and see your HTML file?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
Maxidrom
Posts: 8
Registered: ‎09-22-2008

Re: Opening user .html in simulator browser

I can't find Explore in menu. I use BlackBerry 8220 Simulator. Explain me, please more detailed how can I do it?

Also in my simulator I can't use mouse on the simulator's screen. Is it right?

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Opening user .html in simulator browser

To explore folders on the BlackBerry open the Media application and select Explore from the menu.

 

Only the BlackBerry Storm supports mouse clicks on its screen (it is the only current touch screen BlackBerry).  You can click on keys on any BlackBerry Simulator.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
Maxidrom
Posts: 8
Registered: ‎09-22-2008

Re: Opening user .html in simulator browser

Yes, I found it. But I don't see any files there. I set Card path :"C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.6.0\4.6.0.148 (8220)\sdcard\".

And in Explore I checked Media Card/BlackBerry/documents... and before it I copied my.html to

"C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 4.6.0\4.6.0.148 (8220)\sdcard\BlackBerry\documents\"

What I did wrong?

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Opening user .html in simulator browser

Those steps sound valid.  Did you copy the file before launching the BlackBerry Simulator? 

 

This could be a Windows permission issue.  Can you try pointing the simulated micro SD card to a different directory outside of the Program Files directory?  Possibly under your My Documents folder.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.