0

I am trying to embed SMS feature in my Android app. So for this, I thought of using FCM and develop push notification, but it demanded the usage of an app server, hence decided not to pursue in that path.

A friend of mine suggested to use Twilio. So started to use since yesterday. I downloaded Java library and worked on it. Then realised that should not be used. While browsing through, fortunately, came across the below link:

https://www.twilio.com/blog/2016/05/how-to-send-an-sms-from-android.html

Please can you clarify the below questions:

Where will I deploy backend project? In which Android folder do I need to deploy this? Do I need to take it as a complete project or take only the Java class?

The Android application is manageable and I can complete the work now.

1
  • I understood the overall working. I completed. But messages are leaving, but the messages are not received at the other end. Also no error messages are received. How can I check where is the issue?
    – DBHari
    Nov 2, 2019 at 20:59

1 Answer 1

0

Twilio developer evangelist here.

The back-end project needs to be deployed to a remote server, not as part of your Android application.

In the blog post you reference you build a Spark application which you can choose to deploy wherever you want. For your convenience there is a Deploy to Heroku button in the post, which you can use to automatically deploy the example application to Heroku for example.

1
  • Thanks PhilNash for your reply. I will close this thread as I have implemented push notification using fcm. Thanks and apologies for not closing this
    – DBHari
    Nov 12, 2019 at 11:10

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.