×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    35

    how should i proceed with my camera app

    Hi,

    i am trying a camera application where i want to set the path for the snapped picture. but i have seen that the 'PathInfo' has some defined member functions which sets the path. Is there a possibility to set the path ourselves by writing our own member function and other means. how should i proceed ...

    Thanku
    Deepthi.

  2. #2
    Regular Contributor
    Join Date
    Oct 2004
    Location
    india
    Posts
    306

    Re: how should i proceed with my camera app

    hi,

    create ur own imgs folder in c/e drive.save img file in this folder using RFile(to csave files) ,Rfs(to make directories)
    u get lots of inf on rfiles...in sdk help.."how to use files"


    bye

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    35

    Re: how should i proceed with my camera app

    Hi giridharn,

    In the RFile class i havent found any functions for saving the image in the choice of the user.
    If i create my own directory path and want to save the snapped image in that, how can i retrieve the path that was created by me. Are there any functions thru which i can get the path...

    Thanku
    Deepthi.

  4. #4
    Regular Contributor
    Join Date
    Oct 2004
    Location
    india
    Posts
    306

    Re: how should i proceed with my camera app

    ok, if that is the case.......
    suppose u get the snapped img in "ibitmap"

    _LIT(KMypath,"c:\sys\apps\myfolder\img.mbm");

    then save it to this folder as ibitmap->save(KMypath);
    here,img gets daved as mbm..if u want to save it as jpg/gif/bmp
    u plzz chk cimagedecoder/cimageecoder classes

    bye

  5. #5
    Registered User
    Join Date
    Aug 2005
    Posts
    35

    Re: how should i proceed with my camera app

    Hi,

    In my app i have 3 menu options, based on the selection i need to set the path for saving the file into 3 diff paths.so should i create three _ LIT() for those 3 paths.
    Q: how can i get the path of the dir that was created by me in some c:\ drive ?
    Q: can we have a submenu for another submenu?
    ex: Symbian-> Development-> UI
    submenu submenu
    If so how can we do that.



    Thanku
    Deepthi.

  6. #6
    Registered User
    Join Date
    Aug 2005
    Posts
    35

    Re: how should i proceed with my camera app

    waiting for a response

  7. #7
    Regular Contributor
    Join Date
    Oct 2004
    Location
    india
    Posts
    306

    Re: how should i proceed with my camera app

    jusz an example,
    u create a menu with menuitems path1,path2,path3..when ur clicks on path1 ,forma path there
    in appui--under handlecommandl for each path1menu item --use this with diff path
    TBUf<path> path1;
    path1.Copy(_L("\\sys\\apps\\mypath\\path1"));
    CompleteWithAppPAth(path1);
    #ifdef __WINS__
    path1.Insert(0,_L("C"));

    now,pass this buffer to func called saveimg(TDesc& aimgpath)---assume this function saves imgs to given path

Similar Threads

  1. Call external Camera app
    By ritec31 in forum Symbian
    Replies: 0
    Last Post: 2004-11-19, 16:39
  2. How to launch built-in Camera app programatically?
    By mike.b in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-08-02, 17:42
  3. Nokia camera app on SE Z1010
    By kesperse in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-14, 14:12
  4. camera error : App closed.... ViewSrv 11
    By sumn79 in forum Symbian
    Replies: 2
    Last Post: 2004-02-16, 07:03
  5. Launch Camera Application from Another App
    By sjb343 in forum Symbian
    Replies: 9
    Last Post: 2003-09-17, 15:55

Posting Permissions

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