Hi,
I have a sound recording program which works with Nokia 6620. Recently I got a Nokia 6682 phone and am trying to make the program work on it.
According to Nokia website, 6682 has #60 2nd Edition FP2 (OS v8.0a). So I download the SDK (The one supporting VC++ and C++ Builder) and recompile everything. Compile is ok. But I found the program doesn't work on either the emulator and the phone. My program just use CMdaAudioRecorderUtility to do file recording. On both emulation and real phone, as long as I call iMdaAudioRecorderUtility->RecordL(), it leaves with a number 4294967291.
And I tried with 3 Nokia sample programs, Sound, Record and AudioClientEx, none of them works either on the emulator or the phone. For Sound, after creating the recorder, iMdaAudioRecorderUtility->State() always returns NotReady, therefore it can never start recording. Acturally during iMdaAudioRecorderUtility initialization, MoscoStateChangeEvent is called with a KErrNotSupported(-5) error. For Record, it simply crashes after launch. AudioClientEx can't be compiled with a bad rss file which has portions like:
DLG_LINE
{
type=EEikCtChoiceList;
prompt="Sample rates:";
id=ESampleRates;
control=CHOICELIST
{
};
},
Here CHOICELIST can't be accepted by RCOMP.
Any one can help me out? I need to make my program work. I've checked SDK document it never mention any change to CMdaAudioRecorderUtility. Can anyone pass me a working sample or point out what's wrong with my SDK or so. Huge thanks.



