×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Cr7pt0r
    Guest

    Question BIO Message Parser Starting Application + Security Hole ?

    Hello Everyone,

    I've developed a Bio Message parser (my phone E70) that parses a specific Bio Message and opens a custom application. What I'm seeking with this thread is an insight why I'm getting weird errors and why my "not embeddable" application is being embedded in the Messaging Application.

    The Bio Message Parser Resource is Defined Like this:

    Code:
    #include "biftool2.rh"
    
    RESOURCE BIO_INFO_FILE
    	{
    	message_type_uid=<uid of the bio message type>;
    	message_parser_name="\\sys\\bin\\bioparser.dll";
    	message_app_uid=<uid of my application>; 
    	message_appctrl_name="";
    	description="BioMessageApp";
            
    	icons_filename="bioparser.mbm";
    	icon_zoom_levels = {1};
    
    	ids=
    		{
    		ID
    			{
    			type=ENbs;
    			confidence=EPossible;
    			character_set=KCharSetDefault;
    			text="<BIOP>";
    			}
    		};
    	}
    Documentation of the BIO_INFO_FILE: http://www.symbian.com/developer/tec...INFO_FILE.html

    The Bio Message Application Resource (the one that will be invoked when the user open the Bio Message) is defined like this:

    Code:
    #include <appinfo.rh>
    #include <BioApp.rsg>
    #include <uikon.rh>
    
    UID2 KUidAppRegistrationResourceFile
    UID3 <id of my application>
    
    RESOURCE APP_REGISTRATION_INFO
      {
      app_file="BioApp";
    
      localisable_resource_file = "\\resource\\apps\\BioApp";
      localisable_resource_id = R_BIOAPP_LOCALISABLE_APP_INFO;
      
      embeddability=KAppNotEmbeddable;
      newfile=KAppDoesNotSupportNewFile;
      
      // ProcessCommandParametersL will be invoked.
      opaque_data = r_startup_type;
      }
    
    RESOURCE NUMBER_INT8 r_startup_type
      {
      // the value doesnt matter.
      value = 1;
      }
    As you can see my application is defined to not embeddable but when the user open the Bio Message, the native messaging application opens my Application and it's embedded. (What's an embeddable application - Nokia FAQ: http://www.symbian.com/developer/tec.../faq_1129.html)

    Another issue that I'm facing is that a wild system error is being shown when my Bio Message application is being opened by the parser:

    "General: Feature not supported"

    I'm struggling to understand what's happening here. "Feature not supported" doesn't mean anything to me, because my Bio Message is being correctly parsed and my Bio Message application is being opened (although embedded which I don't want to.)

    Anyone is kind enough to point me in the right direction to fix this problems ? or atleast enlight me what's happening ?

    -----------------------------------------------
    Nokia Security Hole:

    I'm being able to run two instances of the SAME application with the same UID. Here's what I've done:

    1. I've sent a Bio Message to my phone and opened it. The message is parsed and my Bio Message Application is opened (embedded) in the Messaging Application.

    2. I navigate to my installed application and open a second instance of the Bio Message Application.

    3. Right now I've two instances running. One embedded another standalone.

    4. Now I open my task list and kills the Messaging Application. BOOMM, the Bio Message Application that was running embedded is now running standalone with another instance of the same application running standalone. I never thought that this was possible.

    So,

    I'm asking kindly if there's anyone that can point me in the right direction to overcome the challenges that I've pointed in this thread.

    Thank you for the attention and time.

  2. #2
    Cr7pt0r
    Guest

    Re: BIO Message Parser Starting Application + Security Hole ?

    bump.

    Anyone can at least give me an insight ?

    Thank you for the attention and time.

Similar Threads

  1. carbide-error
    By upendersolanki in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2008-02-06, 11:09
  2. Error receiving message from J2ME application
    By sandude7 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-02-14, 06:27
  3. "Not found" message when starting an application
    By Nokia_Archive in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-05-30, 12:40
  4. Replies: 1
    Last Post: 2002-05-10, 18:59
  5. BIO message format (to be send a server)
    By golodorakgo in forum Symbian
    Replies: 1
    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
  •  
×