hi... Im also working on SMSLIB and making a project in which im sharing .TXT files from one computer to another through mobile SMS's where the mobile phones are connected to their respective systems via Bluetooth. So far i have done the file sending and receiving and now i want to implement CHECKS on the received SMS. I have designed a logical structure for my application's sms and every sms sent through my application has a unique FLAG. By check what i mean is that as soon as any sms is received on the mobile phone (which is connected to a PC via Bluetooth) my project checks whether the message is normal (regular) message or a Data Message of the application. But i am facing issues in completing this task... Can you kindly help me and direct me in how to perform such task on received messages?
Thanks! On Wednesday, June 6, 2012 3:58:01 PM UTC+5, Brian O Carroll wrote: > > Hi All, > > I have some successful test applications working with SMSlib but > there's one thing that I can't get working properly. When my phone is > connected and the service is started, all messages that arrive on the > phone immediately get marked as 'read' on the phone (even if I don't > read them from SMSlib or from the phone). > > Why is that? Is there some way I can stop SMSlib from doing that? > > I am using a regular check of > Service.readMessages(MessageClasses.UNREAD) to see when new messages > arrive. The callback method is not suitable for me because I need to > leave the messages on the phone. I don't want to just delete all > messages from the phone when they are read. > > Thanks, > Brian -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msg/smslib/-/VUtTHjG1hawJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
