Results 1 to 4 of 4

Thread: How to send PUSH messages to an Android APP (General overview)

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2014
    Posts
    55

    How to send PUSH messages to an Android APP (General overview)

    Hello,

    I have a vb.net program I wrote that monitors and controls my home alarm system which works with an Android APP written in B4A (Basic for Android). The phone App is used to simply control the alarm state and make requests. The VB.net end of the setup will alert my phone by sending an SMS text message if there is a problem. It does this simply be creating an email to my phone_number AT vtext.com (Verizon email to SMS service).

    A couple years ago Gmail decided not to allow 3rd party access to their SMTP server to send emails unless 2-step verification was enabled, which I finally gave in and setup to get my alarm notifications working again. Now Verizon has decided to eliminate their email to SMS service (vtext.com). In my search for another email to SMS service, I am wondering if PUSH notifications would be a better option rather than depending on services that can stop working at the drop of a hat.

    I understand that my Phone app does not need to be running in order for the phone to be able to receive PUSH messages, but it does need to be modified. I do not understand how to setup up PUSH messages or what is involved and I was wondering if anyone has done something similar and can explain the process to me so that I can decide if this is even feasible. What needs to be done on the vb.net side, does a 3rd part service or server need to be used or does the vb.net code communicate with the phone APP directly? Any information on the process or pointing me in the right direction to get me started would be greatly appreciated. I am getting tired of depending on services that change or disappear.
    Thanks,
    Jim
    Last edited by Shaggy Hiker; Apr 3rd, 2023 at 11:21 AM.

  2. #2
    Hyperactive Member pourkascheff's Avatar
    Join Date
    Apr 2020
    Location
    LocalHost
    Posts
    384

    Re: How to send PUSH messages to an Android APP (General overview)

    However considering this thread as a VBForums Mobile Development thread would be wrong, but you may find your answer here. </Peace>

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: How to send PUSH messages to an Android APP (General overview)

    I slightly edited your initial post to alter the email address. I suppose that, in this case, I only really benefitted the bots, as you pretty much stated that the address is either currently invalid, or about to be invalid. Still, as a general rule, it's not a good idea to post an email address to a public forum. Bots will pick it up and deliver spam. Since the address is about to become invalid, there remains the question of how much spam a black hole can absorb before it evaporates?
    My usual boring signature: Nothing

  4. #4
    Addicted Member
    Join Date
    Jun 2015
    Posts
    174

    Re: How to send PUSH messages to an Android APP (General overview)

    You can use firebase cloud messaging, for B4A side you have a good support of it, and for vb.net side you can use basically HTTP Methods GET vs POST.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width