×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor
    Join Date
    Oct 2006
    Posts
    61

    please help cell id

    hi every body
    i have to get the cell id in my graduation project , i use nokia 6630 and donloaded all required tool and started work . but i can't get cell id although i get etel.h and etelgsm.h also gsmbas.lib and etel.lib , also i tried mobinfo.lib and all the codes supplied in this forum and newlc and many forums but with no use .
    please i want to know how to get cell id urgently , i want an integer variable held the cell id only not more
    thanks in advance

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Smile Re: please help cell id

    I hope you have gone through more or less all the posts in the following thread:
    http://discussion.forum.nokia.com/fo...ad.php?t=19693

    And provide some more information about your usage.
    Your implementation?
    Any error? etc...

    Kiran.

  3. #3
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Bangalore
    Posts
    200

    Smile Re: please help cell id

    See you will find a lots of post about cell id here .Search in this forum for Hello world.zip file .In that file you will get cell id with integer value,u can also check more details on Newlc.com with search key word mission impossible,u will get all the details about LBS.

    Chirag

  4. #4
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Bangalore
    Posts
    200

    Smile Re: please help cell id


  5. #5
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Bangalore
    Posts
    200

    Smile Re: please help cell id


  6. #6
    Regular Contributor
    Join Date
    Oct 2006
    Posts
    61

    Re: please help cell id

    thanks chirag_cel for your reply but i have tried this code and there were many errors .
    the error was SystemManager.h can't be opened although ia copied it and included it in the sdk files in the path :\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\include

    and give me the errors

    =~CSystemManager();
    >illegal constructor/destructor declaration
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include\SystemManager.h|27|0|14|490|14)
    =CSystemManager();
    >undefined identifier 'CSystemManager'
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|12|16|14|232|14)
    =CSystemManager* CSystemManager::NewL()
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|13|0|1|256|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|19|0|6|391|6)
    =return self;
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|20|0|1|405|1)
    =}
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|22|0|14|410|14)
    =CSystemManager::CSystemManager() : CActive(EPriorityHigh), // HIGH priority
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|30|0|1|611|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|32|0|1|616|1)
    =}
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|34|5|14|626|14)
    =void CSystemManager::ConstructL()
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|35|0|1|656|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|40|0|14|748|14)
    =CSystemManager::~CSystemManager()
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|41|0|1|783|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|44|0|6|872|6)
    =delete iTelephony;
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|45|0|1|892|1)
    =}
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|47|19|1|916|1)
    =void CSystemManagerCancel()
    >illegal name overloading
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|48|0|1|928|1)
    ={
    >data object 'CSystemManager' redefined
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|63|5|14|1232|14)
    =void CSystemManager::StartL()
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|64|0|1|1258|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|89|0|9|1829|9)
    =SetActive(); // Tell scheduler a request is active
    >undefined identifier 'SetActive'
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|90|0|20|1881|20)
    =iActiveSchedulerWait.Start();
    >undefined identifier 'iActiveSchedulerWait'
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|91|0|1|1912|1)
    =}
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|93|5|14|1922|14)
    =void CSystemManager::RunL()
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|94|0|1|1946|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|118|0|1|2423|1)
    =}
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|120|0|1|2429|1)
    =}
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|122|12|14|2446|14)
    =const TPtrC CSystemManager::GetIMEI()
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|123|0|1|2473|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|127|0|6|2525|6)
    =StartL();
    >undefined identifier 'StartL'
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|128|10|5|2546|5)
    =TPtrC ptr(iIMEI.Ptr());
    >undefined identifier 'iIMEI'
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|129|0|6|2561|6)
    =return ptr;
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|130|0|1|2574|1)
    =}
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|132|12|14|2591|14)
    =const TPtrC CSystemManager::GetIMSI()
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|133|0|1|2618|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|137|7|1|2677|1)
    =StartL();
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|138|9|1|2690|1)
    =TPtrC ptr(iIMSI.Ptr());
    >data object 'ptr' redefined
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|139|0|6|2706|6)
    =return ptr;
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|140|0|1|2719|1)
    =}
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|142|5|14|2729|14)
    =void CSystemManager::GetNetworkInfoL(TUint& aLocationCode, TUint& aCellId)
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|143|0|1|2800|1)
    ={
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|149|0|6|2911|6)
    =return;
    >declaration syntax error
    mwccsym2.exe|Compiler|Error
    (C:\Symbian\Carbide\workspace\MizoCellId5\src\gettingcellid.cpp|151|0|1|2922|1)
    =}
    >declaration syntax error

    Errors caused tool to abort.
    make: *** [src/gettingcellid.o] Error 1
    'Building file: ../.generated/winscw_uid.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\workspace\MizoCellId5\inc" -i "C:\Symbian\Carbide\workspace\MizoCellId5\data" -i- -i "C:\Symbian\8.0a\S60_2nd_FP2_CW\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o .generated/winscw_uid.o ../.generated/winscw_uid.cpp
    'Finished building: ../.generated/winscw_uid.cpp'
    ' '
    make: Target `all' not remade because of errors.
    Build complete for project MizoCellId5

    thanks

  7. #7
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Bangalore
    Posts
    200

    Post Re: please help cell id

    This is header file for Systemanager.h



    #ifndef __SYSTEM_MANAGER_H__
    #define __SYSTEM_MANAGER_H__

    #include <Etel3rdParty.h>

    class CystemManager : public CActive
    {
    public:
    typedef enum {EHandsetIMEI, EHandsetIMSI, EHandsetNetworkInfo } InfoType;

    public:
    static CystemManager* NewL();

    // Destructor
    ~CSystemManager();

    public:
    // New functions
    void StartL(); // Request

    const TPtrC GetIMEI();
    const TPtrC GetIMSI();
    void GetNetworkInfoL(TUint& aLocation, TUint& aCellId);

    private:
    // C++ constructor
    CSystemManager();
    // Second-phase constructor
    void ConstructL();



    // From CActive
    void RunL();

    // Cancel
    void DoCancel();

    private:
    enum TGetInfoState
    {
    EStart = 1,
    EGetPhoneInfo,
    EDone
    };

    private:
    InfoType iPhoneInfoType;
    TInt iState; // State of the active object
    CTelephony* iTelephony;

    CTelephony::TPhoneIdV1 iPhoneId;
    CTelephony::TSubscriberIdV1 iSubscriberId;
    CTelephony::TNetworkInfoV1 iNetworkInfo;

    CActiveSchedulerWait iActiveSchedulerWait;
    TBuf<CTelephony::KPhoneSerialNumberSize>iIMEI;
    TBuf<CTelephony::KIMSISize> iIMSI;
    TUint iCellId;
    TUint iLocationAreaCode;
    };
    #endif // __SYSTEM_MANAGER_H__

  8. #8
    Regular Contributor
    Join Date
    Oct 2006
    Posts
    61

    Re: please help cell id

    i already made a header file and adeed it in /inc it was Systemanger.h then i added your file but also the error still the same . i have added the haeader file in .mmp also but still the same problem
    thanks

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

    Re: please help cell id

    For example the first error message says that while your class has the name CystemManager, you are trying to declare a destructor with the name CSystemManager.

  10. #10
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Bangalore
    Posts
    200

    Smile Re: please help cell id

    i gave this header file for you reference .You need to do change accoding to your requirement and program .

  11. #11
    Regular Contributor
    Join Date
    May 2007
    Posts
    320

    Re: please help cell id

    for which device you are doing cell id application if you are doing for 2nd edition devices then the APIs which providing this information are now private & u dont get access to that. pls use mobinfo API for ur application. for further query mail me. I'll send you feedback.
    Life is Short..... Live it with Positive Attitude...

  12. #12
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Bangalore
    Posts
    200

    Smile Re: please help cell id

    As per my knowleadge Nokia6630 is 2nd editionFP3 mobile phone. So still we can use that one,Yes , mobiinfo api is also equally good.-

  13. #13
    Regular Contributor
    Join Date
    May 2007
    Posts
    320

    Re: please help cell id

    Hi Chirag,
    Did you get location string in 3rd edition devices? If yes pls tell me the procedure of that. I m in urgent need of that.....
    Life is Short..... Live it with Positive Attitude...

Similar Threads

  1. Replies: 3
    Last Post: 2009-06-09, 16:25
  2. I have some question about Cell ID and Cell Name
    By clickzika in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2008-12-03, 14:46
  3. Need help Yucca!! on Grid cell formatting
    By xxyyzz in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-11-17, 06:23
  4. Grid Cell formatting are not getting effected on 6600
    By xxyyzz in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-11-16, 11:35
  5. Cell name
    By aaron1 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-09-01, 10:48

Posting Permissions

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