Results 1 to 12 of 12

Thread: how to load images from phone memory

  1. #1
    Join Date
    Dec 2010
    Posts
    27
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default how to load images from phone memory

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to load images from phone memory

    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.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Dec 2010
    Posts
    27
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: how to load images from phone memory

    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.

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to load images from phone memory

    it would help to know which device and what OS...
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  5. #5
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to load images from phone memory

    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.

  6. #6
    Join Date
    Dec 2010
    Posts
    27
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: how to load images from phone memory

    hello,
    i need help for symbian device N97. and also for N900.

  7. #7
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to load images from phone memory

    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.

  8. #8
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to load images from phone memory

    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

  9. #9
    Join Date
    Dec 2010
    Posts
    27
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: how to load images from phone memory

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

  10. #10
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to load images from phone memory

    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?

  11. #11
    Join Date
    Dec 2010
    Posts
    27
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: how to load images from phone memory

    hello,
    thanks for reply....
    yes, i want to load all the images. like a gallery view for all images ..


    thanks in advance..

  12. #12
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to load images from phone memory

    can you post some part of your logic to make things easy for us?

Similar Threads

  1. not able to load images to qtablewidget
    By rashmi in forum Newbie
    Replies: 8
    Last Post: 3rd December 2010, 21:39
  2. Load images in a sequence in QML
    By anupama in forum Qt Quick
    Replies: 1
    Last Post: 1st December 2010, 08:24
  3. Replies: 1
    Last Post: 16th November 2010, 17:45
  4. Three images to load and set transparency set for each
    By augusbas in forum Qt Programming
    Replies: 0
    Last Post: 29th October 2010, 11:42
  5. Load Images in a dir into a QScrollArea
    By nmuntz in forum Qt Programming
    Replies: 3
    Last Post: 20th January 2009, 21:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.