×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Angry App refuses to run in one 3rd edition phone

    Hi!

    I made a sis package which contains one GUI exe and several console exe files. This SIS installs and runs normaly in E70 and N91 phones. In my N93 it installes OK, but none of the programs start! The funny thing is that couple of days ago it run there also.

    When run it's flashes screen once and then dies. All my programs create some logs and first line is to create logfile. Now as there are no logs, it seems that none of the programs can be started.


    All hints and proposals are welcome.

    BTW. The b***y N93 phones don't support RFileLogger . THe logfiles are created but they remain with 0 length. It has been confirmed on 2 phones

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: App refuses to run in one 3rd edition phone

    maybe you removed something from the phone (or added), which causes the crash in the application start-up. To check this out, you could try formatting the phone and then trying again.

    yucca

  3. #3
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: App refuses to run in one 3rd edition phone

    Finaly solved the problem. In hindsight its kind of obvious.
    I have some debugging macros
    Code:
    #ifdef __DEBUGMODE__
    	#define _LOGCREATE(aFolder)     {RFs iFs;iFs.Connect();iFs.MkDirAll(_L(aFolder));iFs.Close();}
    	#define _LOGOPEN(aFolder,aName) iLog.Connect();	iLog.CreateLog(_L(aFolder),_L(aName),EFileLoggingModeAppend)
    	#define _LOGENTRY(aFmt) iDBuff.Copy(iName);iDBuff.Append(' ');iDBuff.Append(_L(aFmt));iLog.Write(iDBuff)
    	#define _LOGCLOSE() iLog.CloseLog();iLog.Close();
    #else if
    	#define _LOGCREATE(aFolder)
    	#define _LOGOPEN(aFolder,aFmt) 
    	#define _LOGENTRY(aFmt) 
    	#define _LOGCLOSE()  
    #endif
    ...but sometimes I have called iLog.WriteFormat(...) in my code.

    As Nokia has ruined the logging system of N93 it fails if I have not defined __DEBUGMODE__ and call RFileLogger's WriteFormat() function without calling Connect() before.
    I know that it's not correct, but for debugging it has worked OK in all other phones (also 3rd edition) so far.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    22

    Unhappy Re: App refuses to run in one 3rd edition phone

    Can anyone at Nokia counter this statement? I have the same experience -- the N93 appears to have logging disabled. Is there some way to configure this (remember ErrRd?) to enable it?

  5. #5
    Super Contributor
    Join Date
    Nov 2005
    Location
    London
    Posts
    584

    Re: App refuses to run in one 3rd edition phone

    Hmm, I'm not speaking for Nokia here, but more of a general observation.

    The RFileLogger class is marked @internalTechnology in the flogger header file in S60 3rd Edition MR. From the Symbian paper about their tagging policy
    http://www.symbian.com/developer/tec...lines_v1.0.pdf

    So any official message from either Symbian or S60 will probably be "use at your own risk" without support if it becomes broken for externals in one or more products.

    That doesn't really answer the question though - sorry.

  6. #6
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: App refuses to run in one 3rd edition phone

    Yes, I know the risks. I don't understand why this class is marked as internal use - it's very usefull to all developers.

    Now it seems that part of N93 was developed by summer interns who played around with this logging class and broke it.

Similar Threads

  1. 3rd edition Audio playing (with phone calls)
    By symbianyucca in forum Symbian Media (Closed)
    Replies: 8
    Last Post: 2006-06-30, 04:11
  2. make sis on symbian 3rd edition
    By Rx-lee in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-06-27, 00:37
  3. Replies: 0
    Last Post: 2006-04-25, 12:52
  4. Replies: 0
    Last Post: 2006-02-18, 18:42
  5. Phone App listed in TApaTaskList?
    By teamore in forum Symbian
    Replies: 3
    Last Post: 2004-10-04, 13:59

Posting Permissions

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