User Tag List

Results 1 to 5 of 5

Thread: Run Android App in Background or Background Notification?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    CruddyBuddy's Avatar
    Join Date
    May 2010
    Posts
    185
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Run Android App in Background or Background Notification?

    Is there any possible way to get a Fusion 2.5 Android app to run in the background, or, is there some workaround to be able to send a notification to an Android device so at least the user knows to open the app?

    I have a little app that checks a mysql database every second to see if data has changed. Once it changes, it sends a notification. This works just fine, so long as the Android device is turned on and the app is running. But as soon as the screen turns off the app stops running and it stops checking the database.

    If this is 100% impossible though Fusion 2.5, perhaps someone could suggest an alternate option for checking the mysql database every second for a field change?

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2017
    Location
    Nantes
    Posts
    229
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Many smartphones kill the apps in the background to reduce ram and energy consumption. The solution for you is to have a backend that checks the db and then sends a push notification to the device. This can be done with the onesignal push extension.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    CruddyBuddy's Avatar
    Join Date
    May 2010
    Posts
    185
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by haoujey View Post
    Many smartphones kill the apps in the background to reduce ram and energy consumption. The solution for you is to have a backend that checks the db and then sends a push notification to the device. This can be done with the onesignal push extension.
    Thanks so much for the reply! Are you talking about this extension: OneSignal Object (clickteam.com)

    Do you know if it comes with any documentation for setting up?

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2017
    Location
    Nantes
    Posts
    229
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    This one is not maintained and doesn't work any more. There is another onesignal extension that i have made for my own needs. https://clickstore.clickteam.com/push_one_signal?keyword=Onesignal

    There is a small documentation delivered with it, it's very simple to use. The most difficult I think is the backend.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    CruddyBuddy's Avatar
    Join Date
    May 2010
    Posts
    185
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by haoujey View Post
    This one is not maintained and doesn't work any more. There is another onesignal extension that i have made for my own needs. https://clickstore.clickteam.com/push_one_signal?keyword=Onesignal

    There is a small documentation delivered with it, it's very simple to use. The most difficult I think is the backend.
    Thank you for the link. It's priced out of my budget for this non-commercial project, but perhaps if I have a client in the future who needs this feature I can justify the cost.

Similar Threads

  1. Background video on android?
    By Guilherme in forum Android Export Module 2.5
    Replies: 1
    Last Post: 10th March 2019, 06:32 AM
  2. android notification : send a notification kill the app ?
    By arthurh in forum Android Export Module 2.5
    Replies: 10
    Last Post: 1st November 2015, 01:06 PM
  3. Replies: 3
    Last Post: 26th January 2014, 06:18 PM
  4. Setting Static Text Background to MDI Background
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th September 2006, 03:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •