×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2004
    Location
    California, USA
    Posts
    121

    Question Can a System application register for events?

    Hello,

    I have an S60 UI application which needs to run as a system application. That is:

    CEikonEnv::Static()->SetSystem( ETrue );

    ... to ensure this app doesn't close as the media card is inserted and removed. See http://wiki.forum.nokia.com/index.ph...removal_events for details.

    Unfortunately, this approach fails Symbian Signing: - "System Events and Task List Compliance". The explicit test is:

    1. Switch focus to Task List (by holding down the S60 Applications key).
    2. Close application from Task List using the ‘c’ or back key.

    Is there some way to register for this system event and determine if it is a card removal which I need to ignore or the key event which I want to address?

    [aside: At this point, the astute reader is wonder why I did write this as a console application. Here(
    http://discussion.forum.nokia.com/fo...922#post426922) is a post which talks about the pitfalls. While it sounds possible, it sounds difficult too. The deadline will not give me time to revisit this issue. ]

    Thanks for your time and consideration.

    Sincerely,

    John

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Can a System application register for events?

    Hey John,

    Do you want to stop your application being able to be closed by other applications or just prevent it being closed by the mmc card event.

    For example, loading the webkit browser will also close your app under some cases as it requires a LOT of memory.

    Anyway you can apply for a waiver for that test case if its in keeping with the application design and functionality
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  3. #3
    Regular Contributor
    Join Date
    Nov 2004
    Location
    California, USA
    Posts
    121

    Re: Can a System application register for events?

    Hello Paul,

    Thanks for the feedback. It's helpful as always. Since nothing good or holy can achieved by a user closing this application, I'm going to recommend my client apply for waiver.

    -jk

Similar Threads

  1. system application
    By kingkiko in forum Symbian C++
    Replies: 9
    Last Post: 2010-03-02, 13:13
  2. System error(-1), Application closed, Alloc:2ae42e940
    By noman_csedu in forum Symbian C++
    Replies: 1
    Last Post: 2007-12-10, 17:05
  3. Replies: 2
    Last Post: 2007-02-06, 15:16
  4. Urgent help (Application system error !)
    By chandanp in forum Mobile Java General
    Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

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