PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → How to retrieve Registration ID on Android Device ?
How to retrieve Registration ID on Android Device ?
Iniciado por Pizzy, jun., 17 2016 2:44 PM - Sem resposta
Publicado em junho, 17 2016 - 2:44 PM
Hello,

I'm a new bee to WinDev Mobile.

In the project that I'm working on, There is a need for implementing Push Notification.

The notification will be sent from PHP script running on our web server.

For this, It is necessary that the mobile app registers with Google Cloud Messaging (GCM) . This seems to work, But I'm getting the Registration ID like this as a String type..
!‘‰åpWx£Üx½ZÌ얍´äUü;jÚÿ†Pȧ#úùrjIìÑtð*æW‹1ç‰Yæµß ;Ar‘ýãU»ç

I've to do this because I'm not able to send Buffer content to MySQL. For communicating between mobile app & MySQL I'm using c_PHP4WM 7.0 webservice.

In MySQL the field name is pn_reg_no & its datatype is text . Is this correct?

Pls help me to solve this issue.