Well my problem is similar to "couldn't sms and mms coexist?" thread..
When i register 2 MessageListeners,one for sms and one for mms,the messages are sometimes received but sometimes they aren't.The notifyIncomingMessage method,that is supposed to be called automatically when a message comes to the MessageConnection is called in an upredictable way(e.g:1st,4th,5th time)..so there's nothing specific wrong in my code. On the other hand when i register only one messageListener it works fine,so i can test seperately mms from sms but not together... Well,i know that if i have two different middlets,one only for sms and another only for mms it will work ok.I'm working with WTK2.5 and there is an example where sms is received in different middlet than sms does..but i want to have a general gui for both of them..
If anyone has faced a similar problem please help me....because...
Have you try to listen to both SMS and MMS in separate Threads ?
You mean different thread that handles sms and a different one for mms? Well i have different classes and different threads for sms and mms receiving.But it is not a thread problem(i also thought it could be)..The notifyIncomingMessage is being called sometimes but sometimes is not..