Android Question Not handle sms receive

Discussion in 'Android Questions' started by omidaghakhani1368, Apr 14, 2015.

  1. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Hi.
    I use sms interceptor.
    Code:
    Sub sms1_MessageReceived (From As String, Body As StringAs Boolean
        
    Return True
    end sub
    in up code Return True not working and sms show in inbox
    what's problem?
     
  2. lemonisdead

    lemonisdead Well-Known Member Licensed User

    Hello,

    Which Android version is it please ? Since KitKat, only the default SMS app can cancel the SMS received.
     
    omidaghakhani1368 likes this.
  3. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Thank you for reply.
    In some version android working,in kitkat not work or version 4.1
     
  4. DonManfred

    DonManfred Expert Licensed User

    STARTING from KitKat (and all newer versions) only the DEFAULT SMS APP are allowed to read the SMSs
    It should work on older Versions if you have set the needed permissions.
     
    omidaghakhani1368 likes this.
  5. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    I'm sorry i have a question:
    If in new version android i set default my app to receive sms,but how android detect sms for show it?(my app goal is receive sms and save it)
     
  6. DonManfred

    DonManfred Expert Licensed User

    Have you followed the tutorial?
     
  7. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Yes but Is it working in android 4x?
     
  8. DonManfred

    DonManfred Expert Licensed User

    it works in EVERY version. I dont know if it works on android 2
    BUT the App MUST BE the default SMS-App if android is >=4 (it is said multiple times in this thread. And maybe a few hundret times if you search the forum for similar problems)
     
  9. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Ok.I have a idea.I send activation code to sim card and user enter activation code in form of course if not support intercept sms.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice