Android notification

About Monkey 2 Forums Monkey 2 Programming Help Android notification

This topic contains 2 replies, has 2 voices, and was last updated by  mac767 3 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15996

    mac767
    Participant

    Hello,
    for a turn-based online game I would like to use Android notifications to tell the user when it’s his turn again.

    Has anyone had any experience with notification or a working example that they will share?

    #16083

    nerobot
    Participant

    Hi, slow answer, but maybe anyone is still interested in.

    I created example app with android notifications.

    There are java (native folder) and mx2 sources.

    Click on notification will open your app again.

    But for your purposes there is a background service needed, or not?

    Sources: https://yadi.sk/d/zzm5anlVfbEYYQ

    #16087

    mac767
    Participant

    Hi nerobot,
    thanks a lot for your answer and your sample code.
    I agree, for my purposes I will need a background service.

    But your code is a code start point because notifications is a new topic to me.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.