windows phone 8 camera events - events

I am developing an App which needs to capture an event when the user takes a photo. But I don't want to use the photo task within my app, I mean, this app runs in background and when the user decides to use the camera and takes a photo, then the app shows a toast and uses the Stream to save the photo to the local storage.
I would like to know if doing this is possible and, if so, how could I do it.
Thank you in advance.

No, you can't but when your application is use for update picture or other things about picture, your application can be found in --> Photo --> application (item of pivot)

Related

Nativescript + Vuejs - Show dialog while app is in background

I am developing an app very similar to Uber in Nativescript + Vuejs.
There is a moment in the flow of the application, where a driver, having accepted a trip, runs the device's default satnav application (eg Google Map, Waze, etc.) to perform GPS navigation. The point is that while the driver is navigating -with the maps application in the foreground- there is a use case where he can receive an offer to take another trip (as the current trip is soon to end), which he has to confirm or reject/dismiss. Is there a way to do one of the following scenarios:
Show a dialog that appears above the map application showing trip details and two CTA buttons? Like a dark overlay maybe?
Return my application to foreground to show the dialog (leaving the maps application in the background). Important detail is that the map application is opened programmatically by my application.
Please remember that I am using nativescript and not Java/Obj-C.
Thank you!

Tile image animation on Windows Phone 8.1

I am trying to implement live tiles in my Windows phone 8.1 application. I saw nice feature in default Photos application. When on tile displaying large picture, it starting to "float" inside tile. Can anyone tell me how to achive this effect? I have read all info in the internet, but nowhere can find anything about that.
Here is what i am talking about:
If you're using Silverlight app, you can get this exact behavior using CycleTileTemplate to show upto 9 images.
If you're using XAML app, you can use notification queue (by calling EnableNotificationQueue in your TileUpdater object) to queue up to 5 tile updates, each containing an image, so that they'll be shown one after another. However, the tile updates do not slide as the Photos app. Instead they flip to show different queued updates.

How can we update the tile in Windows Phone 7 like the in build people app

I am trying to make a Windows Phone App. I could not find any resources about updating the tiles like it is done in people app. Is the people app having special features because the it is in-build?
If not they should be joining all the profile pics and showing as a new tile image every time a an update happens. If this is what happening, how is it been done, from the coding perceptive?
Thanks in advance.
If you mean the People tile, then no, you can't create a animated tile like that.
But generally you can create very custom tiles, and you can utilize the flip-functionality, and display two different tiles. If you run it as a background service, you can also update the image(s) every 30th minute.
I wrote a guide on how to create advanced tiles.

How to update a screen when an event occurs at another screen?

I am developing a chat application in blackberry.
I have made a main screen which acts like the home screen of the application. Whenever application is started this screen appears first.
There are like 5 screens (1 Main screen and 4 other screens).
My problem is..I want to update this 1 main screen when something happens on other 4 screens. Like For example, if I'm using the voice recording screen of my application. I have to add an icon to my main screen of the application indicating I have recorded a voice message after I have finished up.
I am not able to get the logic for doing this. Since I want to update a screen's UI which is already on stack, from a screen which is at the top of the stack.
And also, I want to keep those things at the main screen of the application whenever I start my application(just like history of the activities).
please help.
Read this article:
http://berrytutorials.blogspot.com/2009/12/blackberry-threads-dynamically-update.html
It shows how to update UI from different thread using Observer Design pattern. But you can use same technique to update screen from different screens.
Take a look at MVC design pattern.
Implement screens as Views which get notified when data model changed.

How to create a LiveTile on Windows Phone 7 series

How do you create a live tile? Do you have to create a special sort of XAML file or is it predefined and we just pass parameters or both?
You create an application which can be pinned to the start screen by the user. The image of the tile used is in your application. After that you can use the pushnotification system to update the picture of the tile.
it's not possible to create a tile which animates like the xbox live tile for example.

Resources