I made recognizer but doesn't work. How can I debug the reason why it doesn't work?
I tried to make file name recognizer which simply storing files with extension given in the special directory. When I get bluetooth message with the file the device just shows "unknown file".
I did the following. I added recognizer.mmp file to my project.
TARGET pdbrecog.mdl
TARGETTYPE mdl
TARGETPATH \system\recogs
UID 0x10003a19 0x0070BF81
USERINCLUDE ..\inc
SYSTEMINCLUDE \epoc32\include
SOURCEPATH ..\src
SOURCE recognizer.cpp
LIBRARY euser.lib
LIBRARY apmime.lib apparc.lib apgrfx.lib
LIBRARY efsrv.lib flogger.lib
I added these lines to my pkg file
"\...\group\0070BF81.ini"-"!:\system\SharedData\0070BF81.ini"
"\Symbian\6.1\Series60\Epoc32\release\armi\urel\myrecog.mdl" -"!:\system\recogs\pdbrecog.mdl"
0070BF81.ini file
SDDataDir=c:\nokia\MyApp
yes recognizers are tricky, can't get mine to work either... Will let you know if I manage eventually.
urrg wrote:I made recognizer but doesn't work. How can I debug the reason why it doesn't work?
I tried to make file name recognizer which simply storing files with extension given in the special directory. When I get bluetooth message with the file the device just shows "unknown file".
I did the following. I added recognizer.mmp file to my project.
TARGET pdbrecog.mdl
TARGETTYPE mdl
TARGETPATH \system\recogs
UID 0x10003a19 0x0070BF81
USERINCLUDE ..\inc
SYSTEMINCLUDE \epoc32\include
SOURCEPATH ..\src
SOURCE recognizer.cpp
LIBRARY euser.lib
LIBRARY apmime.lib apparc.lib apgrfx.lib
LIBRARY efsrv.lib flogger.libI added these lines to my pkg file
"\...\group\0070BF81.ini"-"!:\system\SharedData\0070BF81.ini"
"\Symbian\6.1\Series60\Epoc32\release\armi\urel\myrecog.mdl" -"!:\system\recogs\pdbrecog.mdl"
0070BF81.ini file
SDDataDir=c:\nokia\MyApp
I think the uid used to create the ini file should be of the embedded application not the recognizers....
Just check by replacing the UID with your applications UID.... e.g.
say your applications UID is 00703333
"\...\group\00703333.ini"-"!:\system\SharedData\00703333.ini"
"\Symbian\6.1\Series60\Epoc32\release\armi\urel\myrecog.mdl" -"!:\system\recogs\pdbrecog.mdl"
00703333.ini file
SDDataDir=c:\nokia\MyApp[/QUOTE]
Dennis
urrg wrote:I made recognizer but doesn't work. How can I debug the reason why it doesn't work?
I tried to make file name recognizer which simply storing files with extension given in the special directory. When I get bluetooth message with the file the device just shows "unknown file".
I did the following. I added recognizer.mmp file to my project.
TARGET pdbrecog.mdl
TARGETTYPE mdl
TARGETPATH \system\recogs
UID 0x10003a19 0x0070BF81
USERINCLUDE ..\inc
SYSTEMINCLUDE \epoc32\include
SOURCEPATH ..\src
SOURCE recognizer.cpp
LIBRARY euser.lib
LIBRARY apmime.lib apparc.lib apgrfx.lib
LIBRARY efsrv.lib flogger.libI added these lines to my pkg file
"\...\group\0070BF81.ini"-"!:\system\SharedData\0070BF81.ini"
"\Symbian\6.1\Series60\Epoc32\release\armi\urel\myrecog.mdl" -"!:\system\recogs\pdbrecog.mdl"
0070BF81.ini file
SDDataDir=c:\nokia\MyApp
I think the uid used to create the ini file should be of the embedded application not the recognizers....
Just check by replacing the UID with your applications UID.... e.g.
say your applications UID is 00703333
"\...\group\00703333.ini"-"!:\system\SharedData\00703333.ini"
"\Symbian\6.1\Series60\Epoc32\release\armi\urel\myrecog.mdl" -"!:\system\recogs\pdbrecog.mdl"
00703333.ini file
SDDataDir=c:\nokia\MyApp[/QUOTE]
Dennis
urrg wrote:I made recognizer but doesn't work. How can I debug the reason why it doesn't work?
I tried to make file name recognizer which simply storing files with extension given in the special directory. When I get bluetooth message with the file the device just shows "unknown file".
I did the following. I added recognizer.mmp file to my project.
TARGET pdbrecog.mdl
TARGETTYPE mdl
TARGETPATH \system\recogs
UID 0x10003a19 0x0070BF81
USERINCLUDE ..\inc
SYSTEMINCLUDE \epoc32\include
SOURCEPATH ..\src
SOURCE recognizer.cpp
LIBRARY euser.lib
LIBRARY apmime.lib apparc.lib apgrfx.lib
LIBRARY efsrv.lib flogger.libI added these lines to my pkg file
"\...\group\0070BF81.ini"-"!:\system\SharedData\0070BF81.ini"
"\Symbian\6.1\Series60\Epoc32\release\armi\urel\myrecog.mdl" -"!:\system\recogs\pdbrecog.mdl"
0070BF81.ini file
SDDataDir=c:\nokia\MyApp
Hi Everybody!
I made an mp3 player. I created also a recognizer for it, but every time I try to open the mp3 file, always start the Voce Recorder instead of my application.
I put my application's UID into the recognizer. What else I have to do?
Thanks and regards,
Lorand