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.

inside custom component

Web and WebWorks Development

Reply
New Developer
Maxidrom
Posts: 8
Registered: ‎09-22-2008
My Device: Not Specified

Re: Opening user .html in simulator browser

I did what you said. And got a error  "unknown host file 80"
New Developer
ttklf4
Posts: 43
Registered: ‎07-29-2008
My Device: Not Specified

Re: Opening user .html in simulator browser

Hello,

 

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

New Developer
Maxidrom
Posts: 8
Registered: ‎09-22-2008
My Device: Not Specified

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".

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Maxidrom
Posts: 8
Registered: ‎09-22-2008
My Device: Not Specified

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?

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Maxidrom
Posts: 8
Registered: ‎09-22-2008
My Device: Not Specified

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?

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker