×

Discussion Board

Results 1 to 3 of 3

Thread: media list

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    11

    media list

    I'm developing python script, it will detect which types of media (e.g, real player, radio , camera) are available on mobile phone. Is this information store in Symbian database? How can I get this information using python?

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,801

    Re: media list

    Quote Originally Posted by furqanraza View Post
    I'm developing python script, it will detect which types of media (e.g, real player, radio , camera) are available on mobile phone. Is this information store in Symbian database? How can I get this information using python?
    IMHO, This kind of information can not be retrieved through pys60.
    Moreover, if a specific appllication is present, then it supports the corresponding media formats.

    For eg, if you have real player installed then your device is capable to recognize the rm files and play them using the real play when you open them.

    In PyS60 however you can just check the extension of the file with endswith function.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: media list

    You can see if the phone has a camera like this:
    Code:
    import camera
    
    print camera.cameras_available()
    #Returns the number of cameras available in the device.
    As for the other things, I think Pankaj is right. There probably isn't any way to do that in Python (yet...).

Similar Threads

  1. Replies: 2
    Last Post: 2007-09-19, 20:17
  2. Nokia E60 - Media player problems...
    By Guntis in forum Audio
    Replies: 0
    Last Post: 2007-02-05, 23:50
  3. SIP content type
    By hlothman in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-05-17, 09:26
  4. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24

Posting Permissions

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