Works for Forum Nokia where his task is to represent Nokia in Symbian Signed and Java Verified.
Rippe | 18 November, 2009 14:22
I know two reasons: Because you did not want to check the set of capabilities your application actually needs you selected all 13 that you can get through Express Signed. AND you have a DLL which you load to a system process so your applications needs All-TCB (all except TCB capability).
But which are the true reasons? Which are the APIs/features that you use and require PowerMgmt and/or TrustedUI?
S60, Symbian C++ |
Next |
Previous |
Comments (13) |
Trackbacks (0)
Igor Pchelko | 18/11/2009, 18:21
PowerMgmt is needed to Kill process.
Igor Pchelko | 18/11/2009, 18:25
I have other question:
When Symbian/Nokia release tool that shows which API required which capability.
The quite interesting API is SendA, could you explain which exact capability it require?
In general documentation is too poor against capabilities.
jaggernod | 19/11/2009, 07:58
Carbide has "Capabilitie Scanner" feature. It works in 85% of cases
ltomuta | 19/11/2009, 20:57
@igor That is obvious, but why and how freqently do your application need to kill processes?
You are right about the capability requirements documentation problem but the tool exists (see jaggernod's comment) and for static analysis 85% success rate is pretty OK in my opinion. The emulator gives you run time solutions with a 99.3443% acuracy. ;)
truf | 19/11/2009, 23:33
As I remember Symbian have API for restarting device programmatically. Its was private, not sure if its in Kernel Kit now, but i will post function name anyway as Symbian goes opensource sooner or later: SysStartup::ShutdownAndRestart().
Not shure, but i suppose its require PowerMgmt. Anyway, I think you will found couple API's with PowerMgmt or TrustedUI requirements if you drill down to Symbian private API's.
ltomuta | 20/11/2009, 01:23
True again, although that API does not exist any more ;) (IIRC)
The question is however not as much which API need such capability (there are lists with them in SDK's docs) but which ones are really used, and why? How frequently did you use SysStartup::ShutdownAndRestart()?
tote_b5 | 20/11/2009, 02:08
Part I, my original comments was too big, thus I split it into two. :(
I recall when we were contributing to the implementation of a Device Management solution it needed this feature. When a device was stolen, we disabled a lot of stuff (maybe changed PIN code as well? can't remember) then we rebooted the device. It was such a feature that was rarely used, but essential for that kind of program.
tote_b5 | 20/11/2009, 02:13
Back in 2003 when the idea was first introduced we were told there would be such components that would give visual indication as to e.g. a dialog is safe to ask for a PIN or password. An ISV can write such a dialog and TrustedUI capability ensures that some extra LED will light or some part of the screen will change indicating that everything is okay. Did it happen? Are you aware of such LEDs, protected video memory area reserved for this purpose? This idea has proved to be a dead one from day one.
wizard_hu_ | 21/11/2009, 22:26
If you want to re-install damaged/removed shared components (like the OpenC plugin) in runtime, TrustedUI would be required for doing that silently.
adammathewjones | 24/11/2009, 16:03
Power Management is must in 3G phones. 3G phones are consuming lots of resources, so there is need for the higher power management in 3G's.
boat accessories
عرب نوكيا | 04/01/2010, 08:31
Amazing ...
Propecia | 22/01/2010, 21:49
Thank you very much for the information provided! I was looking for this data for a long time, bit I was not able to find the trusted source
Animation DLLs
mgroeber9110 | 18/11/2009, 15:15
One other example for a system DLL that needs less capabilities than ALL -TCB, but still requires PowerMgmt, is Animation DLLs.
They require PowerMgmt ReadDeviceData WriteDeviceData ProtServ.