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