[Android] Push Notification Display Format & Sound
$10-30 USD
Completed
Posted about 10 years ago
$10-30 USD
Paid on delivery
We have currently a cross-platform application that requires a display format similar to other phone OS.
See the desired format (as windows [login to view URL])
The push notification coding is working correctly. The phone is receiving correctly the push from Google Cloud.
The requirement is to have:
1 - The phone wakeup and buzz (with a sound)
2 - Display kept active for a minimum of a few seconds
3 - Display similar to other OS
Current Coding for push:
import [login to view URL];
public class MyHandler extends NotificationsHandler {
@[login to view URL]("handle")
private static String mHandle;
public static String getHandle() {
return mHandle;
}
public static final void setHandle(String handle) {
mHandle = handle;
}
@Override
public void onRegistered(Context context, String gcmRegistrationId) {
[login to view URL](context, gcmRegistrationId);
[login to view URL](gcmRegistrationId);
}
}
========Current Registration==============
[login to view URL](SENDER_ID);
[login to view URL](getActivity(), SENDER_ID, [login to view URL]);