How to move app from background to foreground in ionic 2? - push-notification

Is there any method to move app from background to foreground when a push-notification arrive?

you can not do such this by push notification you need something like direct video call or voice call try Voip. Maybe you find it useful for what you need.

Related

How to disable expanded image view in Firebase push messaging?

I'm trying to send a small image in a push notification. It looks great in the initial state
But in the expanded view, it shows a huge version of the same image which I'm trying to avoid.
How is it possible via code? Unable to find any documentation around it.

Azure Notification Hub App Logo for multiple platforms

I have NH working ok, but I want to have an image accompany the push. Basically, this image is a branding option, so it wouldn't change for each push, but could change occasionally.
This seems pretty straightforward for WNS, using the App Logo Override option.
Can something similar be done for iOS and Android? I haven't played with them yet and I don't really need a whole solution, I just can't seem to find it spelled out like it is for WNS.
I did see an example for iOS that involved sending a silent notification that prompted the user to see the image, but that's not what I'm trying to do.
I just want a message from a particular vendor to have their little logo on it.
Is this possible?
TIA
Turns out the best way to do this is to send a URL for an image in the template and substitute it for the applogo image source. Remember that when you do that, the system will not automatically size it for you.

Triggering Windows Store background task from Band tile opened events

Is there a good way to trigger a Windows Store background task when a band tile is opened? And are there any examples for working with the band from a background task with the latest SDK? I have seen mentions of the ability to do so but can't find any code examples of this.
I have a scenario where the tile's content is only valid for a short time (~30 seconds) and would like to wake up a background service on the phone while the band's tile is open to update the content as needed.
I was hoping to find an IBackgroundTrigger in the SDK that would do the trick but no luck there. The best I can think of to fill this need would be to have a task that uses a system trigger and hooks up listeners for the tile opened/closed events. This seems like a lot of unnecessary work for the task though and could end up with unnecessary battery usage on the phone.
Thanks,
Tony
I'm afraid that is not possible. As far as I can see from the SDK, the app on the phone has to be running to allow a tile on the band to send an event back to the phone.
An alternative would be to open your app from the Band using a voice command. Would that solve your problem?

Run TIdeSDK app in Background

I want to run the tideSDK app in background when user clicks the run app in background button. How can I achieve this. So that app is not showing in the front.
Is it possible to this stuff in tideSDK? Any pointers to achieve this would be Great.
Just do
win.hide();
where win is a Ti.UI.UserWindow. When the app is hidden it is run as a background process:
(背景處理程序 means "Background Processes")

Flex Native Local Notifications

I've an air app that needs to put a notification on the status bar on android devices like "2 New Tips" etc. Rest everything works fine, but I am not able to find something that can put a notification on the status bar. A simple demo that puts some text on the status bar on a button click.
I really need it, as this is the last thing left in my app. Please help!!
you'll need to make Native Extensions. http://www.adobe.com/devnet/air/articles/ane-android-devices.html

Resources