Silent Mode problem.. | developer.brewmp.com Silent Mode problem.. | developer.brewmp.com

Developer

Silent Mode problem..

Forums:

Is there any way for a brew application to know whether the device in in silent mode or not ?

I suppose theres no api in 2.0 -2.1. Is there anything in 3.0 ?

Also if a phone is in silent mode, does it mean that its volume level will be zero?
If it is so, how proper is it to correlate the Sound volume level with Silent mode ?

Regards

From the 3.0.3 SDK release notes:
Quote: To access a user’s manner mode settings, a BREW application can invoke SHELL_GetDeviceInfoEx() with AEE_DEVICEITEM_MANNER_MODE value.

From the 3.0.3 SDK release notes:
Quote: To access a user’s manner mode settings, a BREW application can invoke SHELL_GetDeviceInfoEx() with AEE_DEVICEITEM_MANNER_MODE value.

Thanx Max
That really helped.
Thanx Again.
Regards

Thanx Max
That really helped.
Thanx Again.
Regards

Hi dear shantanu ( shan ),
I am facing this problem in LGVX6000,
Device has gone to silent mode while doing something.
How to reset back to original settings in the handset ? ( not programatically )
I am not finding any options in the handset to reset to factory settings.
Any way out ???

Hi dear shantanu ( shan ),
I am facing this problem in LGVX6000,
Device has gone to silent mode while doing something.
How to reset back to original settings in the handset ? ( not programatically )
I am not finding any options in the handset to reset to factory settings.
Any way out ???

Hi
For VX6000 hold down the ' * ' key....
-deepali

Hi
For VX6000 hold down the ' * ' key....
-deepali

thanx ...deepali.

thanx ...deepali.

Is there any alternative to get the mode of the device for BREW 2.0 and 1.0 devices.
Thanks in advance.
Prasad.

Is there any alternative to get the mode of the device for BREW 2.0 and 1.0 devices.
Thanks in advance.
Prasad.

I have same problem. I have to know if the device is on silent mode. I use brew 2.0.
It is possible?

I have same problem. I have to know if the device is on silent mode. I use brew 2.0.
It is possible?

I have not personally checked on this, but you might want to read the include files for your BREW version I have found many undocumented functions in there. When i say undocumented is that you cannot find them on the help docs, thus you don't know they are there. Also, you might want to check the return value of the function in question as one of the undocumented ones that we found does return a value when the description in the include file said it was a void function.
Albert

I have not personally checked on this, but you might want to read the include files for your BREW version I have found many undocumented functions in there. When i say undocumented is that you cannot find them on the help docs, thus you don't know they are there. Also, you might want to check the return value of the function in question as one of the undocumented ones that we found does return a value when the description in the include file said it was a void function.
Albert

crispus wrote:I have same problem. I have to know if the device is on silent mode. I use brew 2.0.
It is possible?
No, it's not possible.

crispus wrote:I have same problem. I have to know if the device is on silent mode. I use brew 2.0.
It is possible?
No, it's not possible.

In BREW 2.x devices closest you can get is:
Call ISOUND_Get for AEE_SOUND_DEVICE_HANDSET
Then call ISOUND_GetVolume() and from there you can deduce something.

In BREW 2.x devices closest you can get is:
Call ISOUND_Get for AEE_SOUND_DEVICE_HANDSET
Then call ISOUND_GetVolume() and from there you can deduce something.

mohlendo wrote:From the 3.0.3 SDK release notes:
Hi, that doesn't seem to work for LG9800. It never returns AEE_MANNER_MODE_SILENT even when the master volume is all the way down to Sounds Off. :eek:
Any1 found out how to solve this? :confused:

mohlendo wrote:From the 3.0.3 SDK release notes:
Hi, that doesn't seem to work for LG9800. It never returns AEE_MANNER_MODE_SILENT even when the master volume is all the way down to Sounds Off. :eek:
Any1 found out how to solve this? :confused:

I have simillar issue in MotorolaV3C where the following code is implemented just before playing the sound
void playSound(int id)
{
#if MotorolaV3C
uint32 mode = 0;
int size = sizeof(mode);
int res = ISHELL_GetDeviceInfoEx(mBgp->pIShell,
AEE_DEVICEITEM_MANNER_MODE, &mode, &size);
if(mode == AEE_MANNER_MODE_SILENT)
{
return;
}
#endif
...............code for playing sound.............
}
Also i checked using ISOUNDPLAYER_GetVolume(ISoundPlayer * pISoundPlayer)
and getting the value in the CallBack but this also does not work.
Is there any issue with the device as it sometimes Mutes but sometimes it plays, so randomly i am getting correct or incorrect values.
Does anybody has solution for the same?

I have simillar issue in MotorolaV3C where the following code is implemented just before playing the sound
void playSound(int id)
{
#if MotorolaV3C
uint32 mode = 0;
int size = sizeof(mode);
int res = ISHELL_GetDeviceInfoEx(mBgp->pIShell,
AEE_DEVICEITEM_MANNER_MODE, &mode, &size);
if(mode == AEE_MANNER_MODE_SILENT)
{
return;
}
#endif
...............code for playing sound.............
}
Also i checked using ISOUNDPLAYER_GetVolume(ISoundPlayer * pISoundPlayer)
and getting the value in the CallBack but this also does not work.
Is there any issue with the device as it sometimes Mutes but sometimes it plays, so randomly i am getting correct or incorrect values.
Does anybody has solution for the same?