×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    445

    Where to store pictures?

    Hi,

    I want to store pictures on a S40 device (C3-01 and X3). Using the system property
    Code:
    System.getProperty("fileconn.dir.photos")
    works fine on all my devices, but Ovi Store QA complains that the files cannot be saved to "file:///C:/predefgallery/predefphotos/" (which is returned by the above property). Where is the correct location to store pictures to which works on all devices (resp. with signed Java ME applications)?

    Regards,

  2. #2
    Regular Contributor
    Join Date
    Mar 2011
    Location
    Pune,Maharashtra,India
    Posts
    92

    Re: Where to store pictures?

    Quote Originally Posted by pixsta View Post
    Hi,

    I want to store pictures on a S40 device (C3-01 and X3). Using the system property
    Code:
    System.getProperty("fileconn.dir.photos")
    works fine on all my devices, but Ovi Store QA complains that the files cannot be saved to "file:///C:/predefgallery/predefphotos/" (which is returned by the above property). Where is the correct location to store pictures to which works on all devices (resp. with signed Java ME applications)?

    Regards,
    you can use System.getProperty("fileconn.dir.memorycard") to store pictures.it will work on all devices,but presence of memory card is compulsory.

  3. #3
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,563

    Re: Where to store pictures?

    Quote Originally Posted by pradip7 View Post
    you can use System.getProperty("fileconn.dir.memorycard") to store pictures.it will work on all devices,but presence of memory card is compulsory.
    Instead of "is compulsory", I imagine you meant "is not compulsory" or "is optional" as all devices do not have a memory card slot, and even when they do, the memory card might not be present.

  4. #4
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    445

    Re: Where to store pictures?

    But this does not really help me as my app will then only work with an inserted SD card.
    I also don't understand why "System.getProperty("fileconn.dir.photos")" does not work - almost every reference/tutorial suggests to use this and it also works fine on my test devices.
    Perhaps it has something to do with signed Java jars? Would it be possible to test this without an expensive Thawn java certificate?

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,563

    Re: Where to store pictures?

    There's probably no guarantee that all devices have a writable location, or that the default photo location is writable from Java.

    In any case, it should work on most Nokia phones, I assume. If it doesn't, then ask the Ovi Publish QA to specify which phones it doesn't work on, and then exclude those.

    You can also test your app on a bunch of Nokia models using RDA: https://www.developer.nokia.com/Devi...device_access/

    You don't need any Thawte certs. Note that Nokia will sign your app for Ovi Store for you.

  6. #6
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    445

    Re: Where to store pictures?

    Thanks. I will investigate this again.
    Last edited by pixsta; 2011-10-05 at 06:14.

  7. #7
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,563

    Re: Where to store pictures?

    Send email to the publisher support, with the relevant details (your info, your content info/ID, devices you've tested it on, and you wish to be supported for, the QA response, and ask for an explanation); perhaps it is just a QA-side mistake.

Similar Threads

  1. Replies: 2
    Last Post: 2011-10-17, 20:24
  2. SOS :How to store the pictures?
    By dzkdcq in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2009-07-23, 13:37
  3. Windows Mobile app store competition to Ovi opens, where is Ovi store now
    By jimgilmour1 in forum [Closed] Publishing to Nokia Store
    Replies: 2
    Last Post: 2009-05-06, 16:36
  4. Encrypting data to store in record store
    By matan_d in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2009-01-04, 01:21
  5. Record Store vs JDBC. How to store data?
    By 180ºrevolution in forum Mobile Java General
    Replies: 0
    Last Post: 2004-09-17, 15:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×