Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor RajeevSahu's Avatar
    Join Date
    Aug 2009
    Posts
    331
    Hi,

    I am not able to open the installed application on my N97 device. I am actually trying to make a phone call from the application.

    I have followed the following link form Wiki and successfully build the application. But after installing the signed sis when i tried to run the application, it didn't open.

    http://wiki.forum.nokia.com/index.ph...one_call_in_Qt

    I have qt-mobility installed on my N97 device!!

    What's the problem I don't understand. Please help me in this regard.

    Thanks,
    Rajeev

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    XQTelephony is not part of Qt Mobility.

  3. #3
    Registered User Tuomo's Avatar
    Join Date
    Mar 2010
    Posts
    49
    You can try to build your sources directly to the project. It works with XQInstaller. Instructions:

    http://discussion.forum.nokia.com/fo...l=1#post715884

  4. #4
    Regular Contributor RajeevSahu's Avatar
    Join Date
    Aug 2009
    Posts
    331
    Quote Originally Posted by Tuomo View Post
    You can try to build your sources directly to the project. It works with XQInstaller. Instructions:

    http://discussion.forum.nokia.com/fo...l=1#post715884
    Hi Tuomo,

    I tried as per the link provided by You, but still not able to open the application. Please check the file contents and kindly let me know if anything else is missing to mention! Thanks...

    built-in_telephony.pri file contents:

    # built-in_telephony.pri

    symbian: {
    # remove xqvibra library, compile sources directly into this project
    DEFINES += XQTELEPHONY_NO_LIBRARY
    LIBS -= -lxqtelephony
    HEADERS += xqtelephony.h \ xqtelephony_p.h \ telephony_global.h
    SOURCES += xqtelephony.cpp \ xqtelephony_p.cpp
    LIBS += -letel3rdparty
    }

    My application pro(CallNumber.pro) contents:

    TEMPLATE = app
    TARGET = CallNumber
    DEPENDPATH += .
    INCLUDEPATH += .
    QT += core \
    gui


    CONFIG += mobility
    MOBILITY += telephony

    HEADERS += CallNumber.loc \
    CallNumber.h
    SOURCES += CallNumber.rss \
    CallNumber_reg.rss \
    main.cpp \
    CallNumber.cpp
    FORMS += CallNumber.ui
    RESOURCES +=
    symbian:TARGET.UID3 = 0xE2E24849
    symbian:LIBS += -lxqtelephony
    symbian:TARGET.CAPABILITY = NetworkServices \
    ReadUserData \
    ReadDeviceData

    include(built-in_telephony.pri)

    CallNumber.h file contents:

    #ifndef CALLNUMBER_H
    #define CALLNUMBER_H

    #include <QtGui/QMainWindow>
    #include "ui_CallNumber.h"
    #include "xqtelephony.h"

    QTM_USE_NAMESPACE

    class CallNumber : public QMainWindow
    {
    Q_OBJECT

    public:
    CallNumber(QWidget *parent = 0);
    ~CallNumber();

    private:
    Ui::CallNumberClass ui;
    };

    #endif // CALLNUMBER_H

    CallNumber.cpp file contents:

    #include "CallNumber.h"
    #include <XQTelephony>
    #include <QMessageBox>

    CallNumber::CallNumber(QWidget *parent)
    : QMainWindow(parent)
    {
    ui.setupUi(this);
    XQTelephony *telephony = new XQTelephony(this);
    telephony->call("+919867467348");//caller number
    }

    CallNumber::~CallNumber()
    {

    }

  5. #5
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    I'm thinking you might actually have to do some debugging.

  6. #6
    Regular Contributor RajeevSahu's Avatar
    Join Date
    Aug 2009
    Posts
    331
    Hi,

    Please check the file contents in my previous post whether everything is OK or not.

    Thanks...
    Last edited by RajeevSahu; 2010-07-22 at 08:11.

  7. #7
    Regular Contributor RajeevSahu's Avatar
    Join Date
    Aug 2009
    Posts
    331
    Hi davanov,Tuomo, danhicksbyron...

    Able to compile successfully with out any error for the Emulator Debug build of my CallNumber Application. How ever for Phone Release it is giving me errors like:
    "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\QtMobility\QtonCarbide\CallNumber\CALLNUMBER_0XE2E24849\GCCE\CALLNUMBER_0XE2E24849.GCCE" UREL
    main.cpp
    cc1plus.exe: /tmp: Permission denied
    cc1plus.exe: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    Send email to arm-gnu@codesourcery.com for instructions.
    callnumber.cpp
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\QtMobility\QtonCarbide\CallNumber\CALLNUMBER_0XE2E24849\GCCE\urel\main.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    cc1plus.exe: /tmp: Permission denied
    cc1plus.exe: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    Send email to arm-gnu@codesourcery.com for instructions.
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\QtMobility\QtonCarbide\CallNumber\CALLNUMBER_0XE2E24849\GCCE\urel\CallNumber.o] Error 1
    make: *** [TARGETCALLNUMBER_0XE2E24849] Error 2
    And finally:

    ***Invoking makesis.exe ....
    C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools\makesis.exe C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\build\QtMobility\QtonCarbide\CallNumber\_resolvedCallNumber_template.pkg C:\QtMobility\QtonCarbide\CallNumber\CallNumber_template.sis
    Error : Cannot find file : /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/release/GCCE/UREL/CallNumber.exe

    (32) : error: file I/O fault.
    What could be the problem for Phone Release Build??? Any guesses please!

    Thanks..

  8. #8
    Regular Contributor RajeevSahu's Avatar
    Join Date
    Aug 2009
    Posts
    331
    Any Updates... Please reply...!

  9. #9
    Regular Contributor RajeevSahu's Avatar
    Join Date
    Aug 2009
    Posts
    331
    Hello Friends,

    I created a new application that uses "xqtelephony" from "Mobile_extensions_preview_3". However building the project gives me following error:

    make[2]: *** No rule to make target `\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\armv5\LIB\xqtelephony.dso', needed by `\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\gcce\udeb\telephonyexwindow.exe'. Stop.
    make[1]: *** [TARGETTELEPHONYEXWINDOW_0XE83BF801] Error 2
    could anybody figure out what's the problem?

  10. #10
    Regular Contributor treinio's Avatar
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329
    No rule to make target `\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\armv5\LIB\xqtelephony.dso
    This means that your app is still trying to link against the xqtelephony library, which it shouldn't when compiling XQTelephony sources directly into the project. So, somethings wrong with your .pro/.pri files.

    I suggest the following course of action:

    - Download the Mobile Extensions configuration for Qt for Symbian 4.6 script - read the Wiki for instructions and run configure.bat

    - Test with the following code:

    dialertest.pro:

    Code:
    TEMPLATE = app
    TARGET = dialertest
    
    SOURCES += main.cpp
    
    HEADERS += dialer.h
    
    CONFIG += mobile_extensions
    MOBILE_EXTENSIONS = telephony
    
    symbian {
      TARGET.UID3 = 0xE2E24849
      TARGET.CAPABILITY = NetworkServices \
                          ReadUserData \
                          ReadDeviceData
    }

    dialer.h:
    Code:
    #ifndef __DIALER_H__
    #define __DIALER_H__
    
    #include <QObject>
    #include "xqtelephony.h"
    
    class MyDialer : public QObject
    {
    Q_OBJECT
    
    public:
      MyDialer() { m_telephony = new XQTelephony(this); }
      ~MyDialer(){}
      
    public slots:
    
      void dial() { m_telephony->call(SOME_PHONE_NUMBER); }
    
    private:
      XQTelephony* m_telephony;
    };
    
    #endif
    main.cpp:
    Code:
    #include <QtGui>
    #include "dialer.h"
    
    int main(int argc, char *argv[])
    {
        QApplication a(argc, argv);
        MyDialer dialer;
        QPushButton button("Dial");
        
        QObject::connect( &button, SIGNAL(clicked()), &dialer, SLOT(dial()) );
        button.showMaximized();
        return a.exec();
    }

  11. #11
    Regular Contributor Nikolaos's Avatar
    Join Date
    Dec 2007
    Posts
    74
    did that worked?

Similar Threads

  1. Replies: 6
    Last Post: 2010-11-09, 12:34
  2. Help me regarding Making Anti-Phishing Application for Symbian Phone
    By imrankhan2k2 in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2009-11-23, 01:37
  3. Help me regarding Making Anti-Phishing Application for Symbian Phone
    By imrankhan2k2 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-11-19, 20:10
  4. Making a call while application is running.
    By aminuddin09 in forum Mobile Java General
    Replies: 4
    Last Post: 2006-03-21, 20:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved