07-16-2010 06:42 PM
Hi all,
I'm developing an app for BlackBerry using Visual Studio with the plugin.
As I observed when the size of thew .zip file goes beyond 6.5MB or something around it, the app does not run.
Is there any such size limit?
My app has many multimedia contents. Can I put the contents somewhere else and access them as per needed through the code?
Please let me know. If you need more clarification, you can mail me too.
harshad.kale@gmail.com
Thanks in advance.
- Harshad.
07-17-2010 05:06 PM
A BlackBerry application has a file size limit of 7MB
You can dynamically download the multi-media files to the device via wireless if that works for your situation.
07-27-2010 04:40 PM
I am creating an offline application. It will not be using web based resources.
And thus, I need to have all those resources on the device.
Can i access the resources on the memory card in the widget?
IF yes, how can i do that?
Please guide, it is very urgent!
TIA.
Harshad.
07-27-2010 04:42 PM
you can load content to the SD card of the device outside of your application and then access it through the file IO API
http://www.blackberry.com/developers/docs/widgetap
07-27-2010 04:46 PM
Thanks a lot for the prompt reply, as always u do.
What i'm doing is creating an HTML page and i need to assign an image to the html <image> tag. Now this image will be residing on the Memory card.
How this can be achieved?
I know i'm demanding more but please help me, i'm a complete newbie in the world of BB.
Any help will be appreciated.
Thanks again,
Harshad.
07-27-2010 04:50 PM
<img src="file:///your_path/your_image.png"/>
Just make sure that the file:///your_path is added to the whitelist of the widget in an access element so that it can be brought into the application
07-27-2010 04:55 PM
How is the path to the file in the memory card written?
I have memory card structure as follows
Memory Card -> Blackberry -> Apps -> Images/imagefile.jpg
how do i mention it in the 'src' propert of the <image> tag?
One more thing, how the directory is added to the whitelist of the bb?
I'm using Visual Studio for the widget development.
Thanks a lot,
Harshad
07-28-2010 08:43 AM
Hi Harshad,
When you say "Memory Card" are you referring to an inserted SD Card? Or the built in memory storage of the device?
07-28-2010 11:59 AM
I'm referring to the inserted card.
By the way, you can share both the considerations.
Thanks
07-28-2010 12:24 PM
I believe the root for the onboard memory is :
file:///store/home/
And for the SD card it is:
file:///SDCard/