CommManager (Ring or Vibrate)

  • Thread starter Thread starter Roger Odermatt
  • Start date Start date
R

Roger Odermatt

Hello

I have a HTC P4350 and i want make a little application to switch between
RING and VIBRATE with a schedule.

So when i going into the CommManager on my Device, then i have a function to
set my device to ring or to vibrate. When i set i to ring or vibrate, is
this setting in the registry? When yes, where can find it?

My Idea is, when i can find this setting in the registry, then i can design
my application so, that i read and write the registry and can so switch
between RING and VIBRATE by scheduling.

Can anybody help my?

regards
Roger
 
Hello

I find it,
HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0

But now i can read value from the registry, but when i want write a new
value then i have a error
System.UnauthorizedAccessException

Want i must do, to write values to the registry?

Thank you very much
regrads Roger
 
Thank you very much.

Can you tell me how must signed my application?

regards
Roger
 
Back
Top