How do I programatically close a windows phone 8 application in vb.net
on clicking a image
On WP8 you can do it using
Application.Current.Terminate();
but it's not really recommended...
Related
We are facing an issue on creating signature pad on windows Phone 8.1 RT ( Not window phone Silverlight) Using Xamarin Form (Portable class library), can you please recommend which library or component to go ahead with, can you please respond as soon as possible.
I have a device with a hard-coded NFC tag that opens an Android app based on an Android Application Record (AAR). Basically it calls an Android app to open with type android.com:pkg and payload com.something.Something.
I have researched on how to launch my Windows Phone app with that existing tag, but in the end I have only found that Windows Phone can launch an app if the NFC tag is adequately programmed to open the Windows Phone app ID or the custom protocol registered in my app. But it is very important that I use the existing NFC tag which opens the Android app ID.
What is curious is that my Windows 10 Mobile detects this existing NFC tag to want to open the app when I touch it with my phone and prompts me if I want to launch an app? But the app with that ID isn't installed so I did a research on how to put this app ID on my Windows Phone app but in the end I only got deployment errors.
Android Application Records (AAR) cannot be used to launch Windows apps. Windows uses a different system to launch apps (Launch Record). The main probem is that Windows uses a different scheme to identify apps (not a Java package name as Android does). Moreover, Windows apps cannot be set to be automatically launched based on the data contained in an AAR, hence, it's not possible to build some custom filter that starts your Windows app based on that AAR.
The workaround that's currently known seems to be what's discussed in Cross platform launch records with extra data on Windows Phone and Android. Though this requires modification of the data structures on the tag side.
I am new to windows phone and developing an app to change general to silent mode while reaching a place.
How can i access windows phone profile settings silent/vibrate? is there any way to change profile using GPS while reaching on a specific location?
Or is there any way to create a new profile settings and using these settings instead of built-in one?
It is not possible to access the silent, vibrate and volume settings in the current Windows Phone SDK.
Similair question: How to access silent/vibrate mode for windows phone using C#?
I have developed an app for windows phone in windows phone 7.Everything is fine in windows phone 7.
But when i upgraded it for windows phone 8,I found that the listbox of images is not showing in a page.After debugging
I found that media library is returning null,thats why listbox of images not showing any images
After searching over internet I found that for accessing media library images we have to first open windows phone's native photo app(native pictures).So I did it ,windows phone 8 emulator.Now it is working,but every time I have to open this native photo app,then I have to open my app,then only its working..Actually I dont have windows phone device,I just installed windows phone 8 sdk and tested it..
So my question is,Is there any way to directly access the media library with out opening native photo app,so that user dont have to open his native app every time before opening my app
You don't have to worry, that problem won't affect Windows Phone 8 devices, it only concerns the emulator.
Here's how I access media library's album and pictures:
https://multiphotochooser.codeplex.com/
You could check on the source code to know how to achieve your goal.
Similar to Windows store Apps .How could i pause the game in windows phone 8.
In windows Store apps
Windows.Current.Activated = Activated;
For Windows Phone 8
???
You probably want the App.Deactivated event to know when the user has left your application without closing it.