PHP Classes

You should explain where to collect "android_smart_phone_id".

Recommend this page to a friend!

      PHP Push Notification Android and iOS  >  All threads  >  You should explain where to collect...  >  (Un) Subscribe thread alerts  
Subject:You should explain where to collect...
Summary:Package rating comment
Messages:7
Author:Tariqul Islam
Date:2015-01-28 05:27:08
 

Tariqul Islam rated this package as follows:

Utility: Good
Consistency: Sufficient
Examples: Bad

  1. You should explain where to collect...   Reply   Report abuse  
Picture of Tariqul Islam Tariqul Islam - 2015-01-28 05:27:08
You should explain where to collect "android_smart_phone_id".

In sendMessage method of the class $params array will have the following keys:

registration_id
msg
pushtype

Example file is not correctly show us the usage of the class and did not explain all the array keys.

  2. Re: You should explain where to collect...   Reply   Report abuse  
Picture of YoungHyeong Ryu YoungHyeong Ryu - 2015-01-28 05:47:15 - In reply to message 1 from Tariqul Islam
registration_id : this is come from smart phone(android or ios)
Ask your ios or android app developer

MSG : a message you want to send to a SmartPhone

pushtyhpe : "android" or "ios"

=====

First you have to gather an Id from smartphone, it depends on applications,
after obtaion you can use this class


Look registration method,
I am saving Id from smartphone to database using registration method


  3. Re: You should explain where to collect...   Reply   Report abuse  
Picture of Renato Moherdaui Renato Moherdaui - 2015-02-01 15:46:51 - In reply to message 2 from YoungHyeong Ryu
Excuse me..I dont understand..
Is the "android_smart_phone_id the phone number with country and state code??

  4. Re: You should explain where to collect...   Reply   Report abuse  
Picture of Renato Moherdaui Renato Moherdaui - 2015-02-03 20:21:27 - In reply to message 2 from YoungHyeong Ryu
Sorry Young..but I dont have a "android app developer" !!! Im just a smartphone user!!
Supose I develop a system where I record my clients.. and I want to send a notification to each one to remember them about, for example, a medical consult!! īDo I have to ask the "android app developer" of each client that I have?? Absurd!!!

  5. Re: You should explain where to collect...   Reply   Report abuse  
Picture of YoungHyeong Ryu YoungHyeong Ryu - 2015-02-11 00:00:33 - In reply to message 4 from Renato Moherdaui
I hope this url help you to understand your question

androidhive.info/2012/10/android-pu ...

  6. Re: You should explain where to collect...   Reply   Report abuse  
Picture of Ollie Ollie - 2015-02-21 20:43:06 - In reply to message 4 from Renato Moherdaui

  7. Re: You should explain where to collect...   Reply   Report abuse  
Picture of jack depp jack depp - 2015-04-18 19:12:25 - In reply to message 3 from Renato Moherdaui
Do you know how to get the android device id? I heard about permission manifest. Can you show me how please? Thanks!