×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    27

    5th edition application will not launch on 3rd edition devices

    Hi masters,

    I have built an application on 5th edition. It works file on 5th edition device. But when i will install the same app on 3rd edition device e.g. Nokia C5-00, it will not launch the app at all.

    Please suggest me what could be the issue for this.

    Thanks in advance,
    Datta

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

    Re: 5th edition application will not launch on 3rd edition devices

    you should compile the application with oldest platform SDK that you are planning to support. Thus try compiling it with 3rd ed FP2 SDK and see whether it works.

    Also for crashes, you could see the panic code: http://wiki.forum.nokia.com/index.ph...ded_panic_code

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    27

    Re: 5th edition application will not launch on 3rd edition devices

    Thanks for the reply Yucca.

    My application is built for touch enabled devices, like it has setiings list. So can it have cross-enabled api's provided on 5th edition.

    Does it solve the problem if i build it on 3rd edition sdk's?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: 5th edition application will not launch on 3rd edition devices

    In particular, settings lists exist for a long time. But it is true that you should use the SDK for the oldest device you want to support. It does not 'solve' issues, but it will quickly turn out if you are using API-s which simply do not exist on older devices.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,173

    Re: 5th edition application will not launch on 3rd edition devices

    If you want to use Settings List on 3rd edition, then you can do so. In 5th edition SDK ( touch enabled), you handle the touch event but on 3rd edition (Non touchable devices) you will have to handle key events.

  6. #6
    Registered User
    Join Date
    May 2008
    Location
    Surat Thani
    Posts
    260

    Re: 5th edition application will not launch on 3rd edition devices

    Quote Originally Posted by wizard_hu_ View Post
    In particular, settings lists exist for a long time. But it is true that you should use the SDK for the oldest device you want to support. It does not 'solve' issues, but it will quickly turn out if you are using API-s which simply do not exist on older devices.
    There are quite a few binary compatibility issues between 5th edition SDK and 3rd edition devices, even if new APIs for 5th edition are not used, and compilation with an older SDK fixes many of them.

    One such case was where simply subclassing a setting list item class (don't remember excactly whcih) without adding any new code except constructor calling the base class constructor, caused application binary built on S60v5 SDK not to be able to start on S60 3.x devices. Binary built on S60 3.2 SDK ran fine everywhere. I remember comparing the imports between the two, and there was an extra import in the S60v5 binary, which wasn't exported for the DLL on S60v3 devices (checked the corresponding .lib on S60 3.2 SDK)

    So, it really does make sense to make the "release" builds with an older SDK, even if you want to use S60v5 emulator for development. You don't need to worry about touch events, they work just fine when compiling with earlier SDKs too, and the S60v3 emulators (at least 3.2) even support touch events. And if the app can't be built on a certain SDK version, it probably won't run on devices with that S60 version either.

  7. #7
    Registered User
    Join Date
    Mar 2008
    Posts
    23

    Re: 5th edition application will not launch on 3rd edition devices

    My QT based app which works fine with the 5th ed & S^3 but fails to launch in the 3rd Edition FP2. I removed all the symbian API calls, still the app doesnt launch. Is there any way to find the reason for it ? ErrRd.sis dint help too.

    On launch the call doesnt even reach the app's main(). Anyway to debug why this happens...

  8. #8
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,560

    Re: 5th edition application will not launch on 3rd edition devices

    Quote Originally Posted by ravi_sarma View Post
    My QT based app which works fine with the 5th ed & S^3 but fails to launch in the 3rd Edition FP2. I removed all the symbian API calls, still the app doesnt launch. Is there any way to find the reason for it ? ErrRd.sis dint help too.

    On launch the call doesnt even reach the app's main(). Anyway to debug why this happens...
    Are you using Q 4.7? S60 3rd Ed. FP2 is only supported with Qt 4.6.3, so you must build the app for Qt 4.6.3.

  9. #9
    Registered User
    Join Date
    Mar 2008
    Posts
    23

    Re: 5th edition application will not launch on 3rd edition devices

    Quote Originally Posted by petrib View Post
    Are you using Q 4.7? S60 3rd Ed. FP2 is only supported with Qt 4.6.3, so you must build the app for Qt 4.6.3.
    I checked, am using Qt 4.6.3... Is there any Qt functions which might not be supported ? I read somewhere using QDateTime might fail in 3rd Ed.

    And any idea how to debug the failure reason, since the main() isnt even called !!

  10. #10
    Registered User
    Join Date
    May 2008
    Location
    Surat Thani
    Posts
    260

    Re: 5th edition application will not launch on 3rd edition devices

    Quote Originally Posted by ravi_sarma View Post
    I checked, am using Qt 4.6.3... Is there any Qt functions which might not be supported ? I read somewhere using QDateTime might fail in 3rd Ed.

    And any idea how to debug the failure reason, since the main() isnt even called !!
    Hi,

    Nokia Qt SDK for is (or at least was, when I last used it) based on S60 5.0 SDK, so it could be a binary compatibility issue between that SDK and S60 3.x devices as well. Without knowing any other details, I'd guess it's the infamous integer division bug:
    https://bugreports.qt.nokia.com//browse/QTSDK-170

    There are several threads discussing this issue in this forum, search. If fixing integer division doesn't solve the problem, I'd simply start commenting out parts of the application until you can get the app started on the device, then adding the problematic part back and narrowing down the problem to a specific line of code, and checking if you can find another way to do what is does.

Similar Threads

  1. Replies: 2
    Last Post: 2010-12-21, 14:02
  2. Application for 5th edition fails to launch on Symbian^3 emulator
    By developer 123 in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2010-09-16, 11:30
  3. run 3rd edition application on 5th edition emulator
    By ahmed.mansi in forum Symbian
    Replies: 2
    Last Post: 2010-05-04, 17:22
  4. Replies: 2
    Last Post: 2010-04-28, 12:36
  5. Replies: 4
    Last Post: 2009-08-12, 05:39

Posting Permissions

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