How to know when a user subscribes?

21 views
Skip to first unread message

kasuncp

unread,
Mar 20, 2012, 12:09:24 PM3/20/12
to mChoice Developer
Hi, I've been developing a small application for appzone and I need a
bit of help with the following questions.

1) Is there a way to know when a user subscribes or unsubscribes to my
app? (I need to use this knowledge in my code) If there is, how?

2) Is there any way within the mChoice API to automate sms sends?
(like sending an sms when a particular event fires)

Thank you very much.

asanka ishara

unread,
Mar 24, 2012, 11:02:40 AM3/24/12
to mChoice Developer
1) Since all the request to your application received to your
application you can detect user subscription/unsubscription by the
application logic
2) You can use schedulers to automate the sms sending

Lahiru Nirmal

unread,
Apr 3, 2012, 8:34:53 AM4/3/12
to mchoice-...@googlegroups.com

Using data base triggers will help

Amila Silva

unread,
Apr 3, 2012, 10:03:11 AM4/3/12
to mchoice-...@googlegroups.com

Hi
For your first question.
   You will receive all the user requests; from that u can filter out reg and unreg commands.

Question no 2:
     In give API u don't find such A functionality to send messages by listening for events. U can design ur system to listen such events and send messages. Check for observer pattern for more details.

I hope u got answer z
thanks
cheers
Amila Silva

Kasun Perera

unread,
Apr 3, 2012, 10:10:46 AM4/3/12
to mchoice-...@googlegroups.com
Hey,

Thank u all for your support. I'm sorry I couldn't reply earlier as I've been very busy. I will look into the methods suggested by you all and let u know how they go. 

Amila Silva

unread,
Apr 3, 2012, 10:14:33 AM4/3/12
to mchoice-...@googlegroups.com

Great ,let us know if u need any assistance.

Reply all
Reply to author
Forward
0 new messages