Android Question Strange log Message while managing SMS

GiovanniPolese

Well-Known Member
Licensed User
Longtime User
Hello to everybody
To day I have posted a problem on Sms management. The problem was resolved, but still remains a strange message that I get while running the App. I am running the App in Release mode, must be clear. I am using the PhoneLibrary and I am managing the SEND_SMS a RECEIVE_SMS permissions, being this the previous resolved problem. The message that I get in the Log is:

** Receiver (s1) OnReceive **
Cannot start from a receiver in debug mode.

This message seems not to be important, in practice, because the App works anyway, but it seems strange because I am running the App in Release mode, and I am afraid that it may hide something wrong that I did.
I attach the SmsModule that I use in the App.
 

Attachments

  • SmsModule.bas
    2.1 KB · Views: 19

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

GiovanniPolese

Well-Known Member
Licensed User
Longtime User
Does not look like it is compiled in release mode
This is the question and why it is strange. If I write that I am compiling in Release mode, this should be the starting point. I know the difference between compiling in Debug and Release mode. BTW, B4A has not a separate option for compiling or just running. It compiles and runs, either in a mode or in the other. So I cannot compile in a mode and run in another , if I don't miss something. Normally I run my Apps with USB cable connected to computer, so to get the Log messges, even when running in Release mode. My suspect is that the library (PhoneLibrary) may contain a wrong message. But I don't have the skills to say anything about. Anyway, it seems not important.. Thanks.
 
Upvote 0
Top