×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Bangalore
    Posts
    200

    Post I want to detect which application is installed .

    I want such program through i can access which appliaction is installed on mobile phone ,likewise i want to run flash file on mobile but same time my mobile doesn't have flash player installed. So i want to check first that flash player is installed . Even i want such kind of examples.


    Regards

    Chirag

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: I want to detect which application is installed .

    All S60 3rd Edition based devices have built-in Flash Lite 1.1 (and S60 3rd Edition Feature Pack 1 based devices will, as far as I know, have Flash Lite 2.0).

    So, if you check the platform ID for S60 3rd Ed. or later, you know that you have Flash Lite (at least on Nokia's S60 based devices).

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

    Post Re: I want to detect which application is installed .

    Ya agree, 3rd editition have flash lite. but i want appliaction in which flash lite is not installed(like Nokia 6600 eariler version), Can you guide me?

    Thanxz

    Regards'

  4. #4
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: I want to detect which application is installed .

    i find this in Nokia tech library.check whether it works for u!

    Code:
    Subject: How can I get a list of all applications currently installed on a phone? 
    
    General Description: The following code creates a text file containing a list of all applications and their UID values. It can be run on any Symbian OS phone.
    
    The following code creates a text file containing a list of all applications and their UID values. It can be run on any Symbian OS phone.
    
    #include <f32file.h> // link against efsrv.lib
    #include <apgcli.h> // link against apgrfx.lib, apparc.lib
    _LIT(KFileName, "c:\\applications.txt");
    const TInt KMaxSize = 512;
    LOCAL_C void WriteAppInfoToFileL()
    {
    RFs fs;
    RFile file;
    RApaLsSession lsSession;
    // Connect to file server
    User::LeaveIfError(fs.Connect());
    CleanupClosePushL(fs);
    // Connect to application architecture server
    User::LeaveIfError(lsSession.Connect());
    CleanupClosePushL(lsSession);
    // Open (replace if exists) the file for writing
    file.Replace(fs, KFileName, EFileWrite | EFileStreamText);
    CleanupClosePushL(file);
    TApaAppInfo appInfo;
    TBuf<KMaxSize> buf;
    TBuf8<KMaxSize> fileBuf;
    // Get info on all apps, then iterate through each app
    // and write its info (caption, name, uid) to file
    lsSession.GetAllApps();
    while(lsSession.GetNextApp(appInfo) == KErrNone)
    {
    buf.Zero();
    buf.AppendNum(aInfo.iUid.iUid, EHex);
    buf.Append(_L("\t"));
    buf.Append(appInfo.iCaption);
    buf.Append(_L("\t"));
    buf.Append(appInfo.iFullName);
    fileBuf.Copy(buf);
    fileBuf.Append(_L("\n"));
    file.Write(fileBuf);
    }
    CleanupStack::PopAndDestroy(3); // file, lsSession, fs
    }
    Im not sure whether it lists only 3rd party apps.check it out anyway

    Priju

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

    Post Re: I want to detect which application is installed .

    Thanks i will check it out..


    Chirag

Similar Threads

  1. How can I detect foreground application?
    By cassioli in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-02-06, 17:44
  2. Replies: 0
    Last Post: 2004-10-31, 13:14
  3. Replies: 0
    Last Post: 2004-10-31, 13:13
  4. Bluetooth Application Identifier Tool before Application is Installed on Series 60
    By asabagh in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-10-31, 13:12
  5. Replies: 2
    Last Post: 2002-12-04, 03:04

Posting Permissions

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