PDA

View Full Version : how to load images from phone memory



trupti
29th December 2010, 08:15
Hello,

I making an application using qt. I am new with qt. I want to open images in my application from the phone memory. Please can any one give me idea for this. which way i can do this ??? Please help me.


Thank you in advance.

high_flyer
29th December 2010, 10:01
You might get help if you ask what is the problem you have?
Is it how to load images, how to display them, their location in the phone - there are a lot things that might be the problem - please specify.

trupti
31st December 2010, 06:00
Thanks for reply...
Actually i dont know how to get path for use images which are in my device. My application is like photo gallery.so i want to open all images from my device. Please help me to do this thing.I hope now you can understand it.

high_flyer
31st December 2010, 17:49
it would help to know which device and what OS...

squidge
31st December 2010, 18:05
and it also depends on the phone settings which may be platform specific API calls...

For example, on Android phones you can choose whether you want to store camera images on internal (phone memory - nand or internal sd card) or external (sd card slot 2) storage. You can also store your own images on any of those locations.

trupti
3rd January 2011, 05:54
hello,
i need help for symbian device N97. and also for N900.

squidge
3rd January 2011, 11:45
You could use the file manager on those devices to find out where the images are stored, or there might be platform specific APIs to retrieve this information. You are best using the developer resource sites for the devices in question.

BalaQT
3rd January 2011, 13:26
hi trupti,

I want to open images in my application from the phone memory

u can use QLabel for Showing images.


Actually i dont know how to get path for use images which are in my device.
im not sure. but try the following path. for N900
/home/user/MyDocs/.images/

Bala

trupti
3rd January 2011, 14:06
thanks for reply....

I have N97 for testing.
i want to load all images on my ui..
I used graphicsview and qpixmap for it. but i get only one image .
can you suggest for this..


Thanks in advance..

BalaQT
7th January 2011, 07:25
I used graphicsview and qpixmap for it. but i get only one image .
can you suggest for this..
u want to load all the images. like a imageviewer?

trupti
7th January 2011, 10:37
hello,
thanks for reply....
yes, i want to load all the images. like a gallery view for all images ..


thanks in advance..

nish
7th January 2011, 12:24
can you post some part of your logic to make things easy for us?