Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    413

    Console application not running on Nokia 6210 Navigator and Nokia E61

    I have written console application for key press detection.No syntax error,code is working fine on emulator.I have also made sis file.i installed that sis file on Nokia E61 handset and Nokia 6210 Navigator.But there is error that application is not compatible with both phones.

    i want to ask that is it the case that console applications do not run on mobile device????how to run my console application on these devices?? Pls help me
    Last edited by rohanwaugh; 2008-09-12 at 08:35.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,798

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    If it is an installation problem refer http://wiki.forum.nokia.com/index.ph...roubleshooting first.

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    413

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    i visited that link...my error is not in that list..My error is application is not compatible with phone...

    first of all is it possible to run console applications on any mobile device??if is it possible then y my application is not working??

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,574

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    What SDK are you using ?

  5. #5
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    413

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    series 60 3rd edition FP2

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,574

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    E61 is a S60 3rd device based on Symbian 9.1 OS, use S60 3rd MR to compile and then use this binaries to install and see if it works.

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,798

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    Quote Originally Posted by rohanwaugh View Post
    i visited that link...my error is not in that list..My error is application is not compatible with phone...
    What is the exact error message you get, and when? Installation time? Upon clicking on the icon of your program?
    There is a compatibility message which offers continue and quit in installation time, that can be fixed via adding a platform/device ID as pre-requisite in the .pkg file (check any examples).
    first of all is it possible to run console applications on any mobile device??
    Yes, all S60 devices are capable of running console based executables. http://discussion.forum.nokia.com/fo...d.php?t=110301 contains an example for a working code.
    if is it possible then y my application is not working??
    Who knows? You have not given some proper description of your problems, it may happen that you are installing Windows binaries to the device, it may also happen that you are using an incompatible SDK (you can check SDK compatibility on www.forum.nokia.com/devices), or anything else.

  8. #8
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    413

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    wizard_hu_

    i installed my sis file on Nokia 6210 Navigator.I go the folder on the device where my sis file is copied.Then i double click the sis file ,then msg popped asking 'Do u want to install LongKeyPressEXE?'I clicked on yes.

    Then it showed me details like Name,version,supplier Vendor etc etc.. I clicked on continue

    Then it showed security warning saying 'Application is for development only.Continuing installation may cause serious problems to ur device.Continue?'... I clicked on Yes

    And here comes the msg saying that 'Application not compatible with phone.Continue anyway? If i clicked on no then installation canceled and if i clicked yes then installation completes but there is nothing available in the installations folder.

    wt should i do??I checked about Nokia 6210 Navigator on the link u provided,it has series 60 3rd edition FP2 SDK,i am using same...Now help me...

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,798

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    How do you execute the program in the emulator? Have you set Carbide to run it directly, or do you have an icon for that?
    In the other link I have provided the following parts are "responsible" for having an icon:
    - The complete HelloWorld_E000ABDE_reg.rss contains the description for the icon, important parts are the UID and the filename
    - HelloWorld.mmp "compiles" the icon
    Quote Originally Posted by HelloWorld.mmp
    START RESOURCE HelloWorld_E000ABDE_reg.rss
    TARGETPATH \private\10003a3f\apps
    END
    - HelloWorld.pkg installs the icon
    Quote Originally Posted by HelloWorld.pkg
    "C:\Symbian\9.1\S60_3rd_MR\Epoc32\Data\z\private\10003a3f\apps\helloworld_E000ABDE_reg.rsc"
    -"!:\private\10003a3f\import\apps\HelloWorld_E000ABDE_reg.rsc"
    Make sure that your code contains similar steps.

  10. #10
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    413

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    i started the emulator and automatically application started..i hadn't done any setting with carbide to the my knowledge.but there is an icon for my application in the installations folder in the emulator.

    and whatever u had written in the last reply,i didn't understand anything.What exactly steps my code should contain regarding mmp and pkg file??

    and basic question remain as it is.Y that error msg saying application is not compatible with the device is shown???

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,798

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    Show your .mmp and .pkg files.

  12. #12
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    413

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    .mmp file
    -------------------------------------------------------------------
    /*
    ============================================================================
    Name : LongkeyPress.mmp
    Author :
    Copyright : Your copyright notice
    Description : This is the project specification file for LongkeyPress.
    ============================================================================
    */

    TARGET LongkeyPress.exe
    TARGETTYPE EXE
    UID 0 0xE0EADB89

    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include

    SOURCEPATH ..\src
    SOURCE LongkeyPress.cpp

    LIBRARY euser.lib ws32.lib apgrfx.lib apparc.lib cone.lib

    #ifdef ENABLE_ABIV2_MODE
    DEBUGGABLE
    #endif
    -----------------------------------------------------------------
    .pkg file


    ; Installation file for Symbian OS 9.x for generic console application
    ; Installation file for LongkeyPress EXE
    ;
    ; This is an auto-generated PKG file by Carbide.
    ; This file uses variables specific to Carbide builds that will not work
    ; on command-line builds. If you want to use this generated PKG file from the
    ; command-line tools you will need to modify the variables with the appropriate
    ; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
    ;

    ;
    ; UID is the exe's UID
    ;
    #{"LongkeyPress EXE"},(0xE0EADB89),1,0,0


    ;Localised Vendor name
    %{"Vendor-EN"}

    ;Unique Vendor name
    :"Vendor"

    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\LongkeyPress.exe" -"!:\sys\bin\LongkeyPress.exe"

  13. #13
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,574

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    You do not have a registration file which would help you have an icon in the application folder that you can launch.
    Search for registration file in examples typically xxx_reg.rss and remember to package it (add in pkg) as shown by wizard above.

  14. #14
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    413

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    now what should i do ???how to proceed further??

  15. #15
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,574

    Re: Console application not running on Nokia 6210 Navigator and Nokia E61

    Quote Originally Posted by rohanwaugh View Post
    now what should i do ???how to proceed further??
    Well I really dont see any other words, but repeat what I said unless you have any specific question really
    Quote Originally Posted by Symbian_Neil View Post
    Search for registration file in examples typically xxx_reg.rss and remember to package it (add in pkg) as shown by wizard above.

Posting Permissions

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