03-25-2012 09:44 AM
Hello experts, I am developing gallery application. I am loading images from the device but they are very heavy in size so its taking lots of time to load the images . You have any suggestions to optimize the images dynamically or load only thumbnails ?
Thanks and regards,
Sandesh.
03-26-2012 10:50 AM
I am also interested in this. I have the same problem in my application. I am thinking about cropping/compressing my application with javascript (creating thumbnails) but I have no experiences with that (maybe canvas.toDataUrl could help). The last but not my favorite solution is to create a webworks extension to create thumbnails in AIR.
Has anyone found someting for that?
03-26-2012 12:42 PM
03-26-2012 01:21 PM
Do you work on phone or tablet?
03-26-2012 01:22 PM
07-19-2012 04:58 AM
Bump..
Since I'm playing around with the BB10 Dev Alpha I needed an app to load and show the images taken by the camera app, since this is the only app on the device next to the browser app. So I tried to load them by using blackberry.io.dir.listFiles on the "camera" folder and it takes really a lot of time to bring them up using a bbUI.js "grid-layout". Somebody got a solution on this??
Regards.
07-28-2012 01:51 AM
@LBP download playbook os latest version and install all the bar files using bbh tool or ddpb installer. now you can feel lik you have a mini playbook. you can hear songs, watch videos and view images captured by camera ![]()
07-28-2012 01:21 PM
WebCreep wrote:@LBP download playbook os latest version and install all the bar files using bbh tool or ddpb installer. now you can feel lik you have a mini playbook. you can hear songs, watch videos and view images captured by camera
There is no download I think. You can whitelist your PlayBook and get a notification on the PlayBook to install it directly I read. But anyway this is out of topic here.
08-24-2012 11:26 AM
I have also the same problem of loading images from SD Card.
It is taking around 4 Sec to load whole Images to the Image gallery.
So I Got One solution,
I used setTimeOut Method in java Script and give 5 Sec of Timing.
This is Working fine in my APS.
You also Try the same, May be this method works for You.
08-27-2012 10:38 AM
This is a good request. I've started documenting the need for an API or extension to generate thumbnails for file system images here.
https://github.com/blackberry/WebWorks-Community-A