Allow my app to be opened with camera button - windows-phone-8

I'm working on a WP8 app that will utilize the camera for a feature. I've read that, as of GDR2, you can now change which app opens with the camera button, but:
it appears that an app needs to be specially written to be used like
this; not every photo or camera app can be configured to launch when
you press the Camera button.
Question: What do I need to do in my app for it to become an available option in the "Pressing the camera button opens: " drop down when navigating to Settings -> Applications -> photos + camera?
Additionally, part 2 of this question would be (if part 1 is possible), when the application is launching, can I determine if the user opened it via the camera button (so that I could go straight to my camera feature)?
I've seen this article but it only describes how to use and handle the shutter button, it doesn't mention how to allow this button to open the app.
Has anyone been able to accomplish this?

This thread (http://forums.wpcentral.com/windows-phone-8/234751-changing-default-camera-app.html) seems to suggest that only manufacturers can create apps that can do this. Not sure if it's definite, but I've never heard of a 3rd party camera app that can do more than register as a lens.

Related

SystemMediaTransportControls track name click event

I'm using SystemMediaTransportControls to control audio playback throughout my Windows Phone 8.1 Universal App.
The controls seem to have a one specific behaviour - the track name and artist act as a clickable button and clicking on it fires the OnLaunched event for the app.
Is there any way to either change the behaviour of this button or at least detect if the OnLaunched event is fired due to user clicking on this button?
Specifically, I need to direct the user to the currently playing album's page in the app when she clicks on this button.
The current behavior is that it launches/reactivates the app associated with the background audio playback. The same behavior applies to the Windows Store Music app.
Here's what I think you could try:
If your app has multiple album pages for currently playing audio, then you might consider subscribing to foreground messages from the background task. You can use "BackgroundMediaPlayer.SendMessageToForeground" to send messages to the foreground and navigate appropriately. Try making the call in the OnLaunched event before the Windows is activated. You should also be able to get currently playing audio information and use that accordingly.
Take a look at the Background Audio for Windows Phone 8.1 sample for more details on how to use background audio. Then you should try what I mentioned to see if that works for you.
Hope this helps.

Is a "close" icon necessary in other platforms?

In iOS, one doesn't need to add a close icon for an app. In the rare event that one wants to kill an app they can do it via the OS.
When looking at the cocos2d-x project that is created by default when using the console (v3.1.1), the sample HelloWorld scene places a button on screen to "close" the app.
Is this actually required in ANY platform ? Does it make sense to add this button at all ?
Apple usually rejects on this and Google and Microsoft don't like it.
You can, however, have close buttons on menus or popovers (say, like a pause screen).

Sliding control in wp8

I have developed wp8 app and looking for a control to slide. I am showing single verse in the page and I want the user to slide (forward and backward) to show next verse, verses may reach 286. I have seen this feature in many application in windows phone store, but I don't what wp8 control they are using.
appreciate your feedback!
Panorama is that you have one image in the background you move a little everytime you go to one side, it is what is used in the image app.
But since you need 286, you should not use the panorama control. Then you should rely on the pivot but beware of microsoft not wanting the users to be confused and caught inside 286 pages, so you need to give the user and overview and use a button that can return a person to the start page.

Determine if user opened an application by tapping currently playing song in system menu

In Windows Phone 8 it's possible to enter applications that use BackgroundAudio service by tapping a name of currently playing audio in systemwide accessible menu.
Can I somehow detect this specific entrance point inside my application? Pic related :)

Adobe Flash Player Settings not show Remember button

I have an Adobe Flash Player Application, when the page loads it shows a popup ( the Adobe flash player settings ), but in that popup it doesn't show the Remember checkbox.
Please help.
There are two different kind of popup:
The first one is displayed when then application try to access a webcam or a microphone. This one does not display a remember option. That the one you see in your application;
The second one is displayed programmatically by performing a call to Security.showSettings()
It is good practice to open the security panel before trying to access any of the webcams / cameras / microphones of the user anyway.
In case you don't develop this application but still want to display the popup with the remember option, you can do so by right-clicking on it and select Settings.... The privacy tab should be the second one.