Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor kdurga's Avatar
    Join Date
    Apr 2008
    Posts
    102
    Hi,
    I have problem in this api. When i try to launch an app from another one using its uid, I get error. this is happening only on E61 device. Any known issue? Works fine on N95, N95 8bg, N78 and N73.

    Code:
    _LIT(KPath, "C:\\data\\others\\a.jpg");
    TUid uid = TUid::Uid(0xEABCDEF1);
    TDataType dtype(uid);
    	
    iLaunchHandler->SetExitObserver(this);
    TRAP(err, iLaunchHandler->OpenFileEmbeddedL( KPath, dtype ));

  2. #2
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    How about using following code snippet:

    Code:
    _LIT(KPath, "C:\\data\\others\\a.jpg");
    TDataType dtype = TDataType();	
    iLaunchHandler->SetExitObserver(this);
    TRAP(err, iLaunchHandler->OpenFileEmbeddedL( KPath, dtype ));
    ?
    Nokia Developer Wiki Moderation team

  3. #3
    Regular Contributor kdurga's Avatar
    Join Date
    Apr 2008
    Posts
    102
    Quote Originally Posted by kiran10182 View Post
    How about using following code snippet:

    Code:
    _LIT(KPath, "C:\\data\\others\\a.jpg");
    TDataType dtype = TDataType();	
    iLaunchHandler->SetExitObserver(this);
    TRAP(err, iLaunchHandler->OpenFileEmbeddedL( KPath, dtype ));
    ?
    I dont have any jpg recongnizer application. I just want to pass the file name so that it can use it at a later point. So the default datatype wont work .

  4. #4
    Regular Contributor kdurga's Avatar
    Join Date
    Apr 2008
    Posts
    102
    Can anyone help?
    I am not sure why it is happening only on E61 device.

  5. #5
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by kdurga View Post
    I dont have any jpg recongnizer application. I just want to pass the file name so that it can use it at a later point. So the default datatype wont work .
    JPG is well supported by S60 3rd edition phones as far as I know. So it should open without any problem.
    Nokia Developer Wiki Moderation team

Similar Threads

  1. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36
  5. wireless problem
    By sash_mca in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2003-06-06, 11:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved