×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jun 2013
    Posts
    5

    Using file as database, file path problem

    Hi
    I am developing an app on Asha 1.0 platform. I want to use a file as my database. Where I am supposed to write the file ?
    What should be the path given in "fconn = (FileConnection) Connector.open(filePath, Connector.READ_WRITE);" ?

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: Using file as database, file path problem

    Quote Originally Posted by aj4ajesh View Post
    Hi
    I am developing an app on Asha 1.0 platform. I want to use a file as my database. Where I am supposed to write the file ?
    What should be the path given in "fconn = (FileConnection) Connector.open(filePath, Connector.READ_WRITE);" ?
    We can write our files only in public folders on the device - like photo etc.
    You can get this full path using system property "fileconn.dir.photos"
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    678

    Re: Using file as database, file path problem

    You can write your files in the SD card on the phone, just check the roots before you start and see if you have E: root there, you can then create your own folder on the SD card and write whatever you want to it.

  4. #4
    Registered User
    Join Date
    Jun 2013
    Posts
    5

    Re: Using file as database, file path problem

    can you give me a link on how to sing my midlet ??

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Using file as database, file path problem

    A quick overview is here: http://www.developer.nokia.com/Commu...ng_for_dummies (and also see the linked articles there). However if you really want to buy a certificate, first check what your device(s) support (you can find the specifications as part of "Devices" above).

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Using file as database, file path problem

    Quote Originally Posted by aj4ajesh View Post
    I want to use a file as my database. Where I am supposed to write the file ?
    Does this help?

Similar Threads

  1. cannot create path for database file
    By coonal in forum Symbian
    Replies: 2
    Last Post: 2009-03-05, 17:31
  2. File Path problem
    By SingerSinger in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2008-11-30, 07:22
  3. File Connection path problem
    By javadev2 in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2007-10-30, 17:52
  4. File path problem on the handset
    By symbians60 in forum Symbian
    Replies: 1
    Last Post: 2007-05-04, 09:38
  5. what is the path to store database file in s60 3rd edition SDK
    By symbee in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-07-14, 08:29

Posting Permissions

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