×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Netherlands
    Posts
    115

    ActivateViewL to open Settings on N95

    I'm trying to launch the phone's settings from my application. In this article I found several application and view UID's, which work fine on the N91, but not at all on the N95. I'm guessing the view UID's are not applicable to the N95, since its configuration menu differs too much from the N91...?

    This is the code I'm using to switch to the Settings application:
    Code:
    	const TUid KSettingsUid = { 0x100058ec };
    	const TUid KSettingsViewUid = { 0x01 };
    	AppUi()->ActivateViewL( TVwsViewId( KSettingsUid, KSettingsViewUid ) );
    On both N91 and N95 I see the Settings application launch. But whereas the N91 shows the correct view (according to the article), the ViewUid has various different effects on the N95:
    1. Settings application crashes with KERN-EXEC 3
    2. Settings opens at "Applications => Realplayer => Video" (??)
    3. Settings freezes with an empty view, phone must be rebooted
    4. Settings freezes with an empty view, phone must be rebooted
    5. ...


    Does anyone have an idea whether the view UID's have changed for the N95, and if so, where can I find them? I'm particularly interested in the Connections view.
    Last edited by dracula78; 2007-08-24 at 11:35.
    IDE: Carbide.c++ 1.3 / 2.0beta
    SDK: S60 3rd edition MP / FP1
    V2.10.013 (15-09-06) @ Nokia N91
    V20.0.058 (21-10-06) @ Nokia N93
    V30.0.015 (15-07-08) @ Nokia N95

  2. #2
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Netherlands
    Posts
    115

    Re: ActivateViewL to open Settings on N95

    I try to avoid bumping threads, but among all my threads without replies this one is currently annoying us most ;)

    Anyone some experience with ActivateViewL on S60 3rd, especially to activate the phone's Settings application at the Connections view (or actually *any* view)...?
    IDE: Carbide.c++ 1.3 / 2.0beta
    SDK: S60 3rd edition MP / FP1
    V2.10.013 (15-09-06) @ Nokia N91
    V20.0.058 (21-10-06) @ Nokia N93
    V30.0.015 (15-07-08) @ Nokia N95

  3. #3
    Regular Contributor
    Join Date
    Sep 2006
    Location
    Helsinki
    Posts
    109

    Unhappy Re: ActivateViewL to open Settings on N95

    It works in S60 3rd ed (3.0), but not in S60 3rd FP1 anymore. FP1 has new settings application, that loads views dynamically. I investigated some time to get view switching working, but no luck.

    It seems that only way is to use extension plugins for S60 3rd FP1. We skipped that as it would have required too much work for installation-time and run-time variation for small feature that we needed. Pity.
    Teemu Kurppa
    Blog: http://dirtyaura.org/blog

  4. #4
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Netherlands
    Posts
    115

    Re: ActivateViewL to open Settings on N95

    Thanks for the reply. What extensions plugin were you referring to exactly?

    Most documentation pages show a line "Support since S60 2nd Ed", but it seems many should also include something like "Removed since S60 3rd FP1". Programmatically changing SIP profiles has been removed, changing view to settings doesn't work anymore... :(
    IDE: Carbide.c++ 1.3 / 2.0beta
    SDK: S60 3rd edition MP / FP1
    V2.10.013 (15-09-06) @ Nokia N91
    V20.0.058 (21-10-06) @ Nokia N93
    V30.0.015 (15-07-08) @ Nokia N95

  5. #5
    Regular Contributor
    Join Date
    Sep 2006
    Location
    Helsinki
    Posts
    109

    Arrow Re: ActivateViewL to open Settings on N95

    You can find it from here:
    http://www.forum.nokia.com/info/sw.n...g-In_Pack.html
    from there Settings Framework plugin.

    Note that I haven't tried it. How I see variation issue (for us at least)

    We normally develop on top of S60 3rd ed MR SDK. Code that uses Settings Framework has to be compiled on top of S60 3rd ed FP1. We want only one SIS for all 3rd ed devices to ease distribution, thus we have to combine different parts to one SIS.

    During runtime, we have top dynamically load DLL that contains code using settings framework only and only if device is 3rd ed FP1 or newer.

    Although doable, we thought that is too much work for us for now. If you find easier way to variate that, please tell us.
    Teemu Kurppa
    Blog: http://dirtyaura.org/blog

  6. #6
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    98

    Re: ActivateViewL to open Settings on N95

    Hi, this is rather old thread but I am facing right now exactly the same problem: did somebody succeed switching to any specific view of the new (3rd Ed FP1+) Settings application?

Similar Threads

  1. not possible to connect java-apps via Web/services proxy settings
    By helgobender in forum General Development Questions
    Replies: 12
    Last Post: 2009-01-07, 16:06
  2. N95 Some Questions & Suggestions
    By subzero_brighton in forum General Development Questions
    Replies: 0
    Last Post: 2007-06-22, 15:37
  3. Duplicate APN settings after OTA configuration (series60)
    By sidshaw in forum Smart Messaging
    Replies: 0
    Last Post: 2005-07-05, 14:04
  4. Problem sending GPRS settings
    By maronk in forum Smart Messaging
    Replies: 1
    Last Post: 2002-09-24, 06:28

Posting Permissions

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