Thank you for your attention. I now want to use the CHWRMVibra API in a non-UI application.
I notice that there is a function:
"ReserveVibraL (TBool aRestoreState, TBool aForceNoCCoeEnv)
If EFalse, then reservation requires that this client has the keyboard focus at the time of reservation and vibra will be automatically released and re-reserved based on the keyboard focus status of the this client. This also implies that CCoeEnv::Static() != NULL is required. If ETrue, the client will not require CCoeEnv to be present nor does it automatically reserve/release vibra by depending on foreground/background status of the client. Only trusted clients are allowed to set this flag to ETrue. Client is considered trusted if it has nonstandard priority defined in the vibra policy. "
which means that if I want to use the vibra function within a non-UI application, I must make my application trusted.
But how can I find the "vibra policy"? And how do I find the "nonstandard priority"?