Lost Focus of App In windows Phone 8 - windows-phone-8

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.

Related

Alternative way to obtain WIFI readings in windows phone 8

I worked on Android project to get wifi info, such as: rssi, ssid, mac..
I want to do same that on windows phone 8, but unfortunately not allowed to access to its API in windows phone!
There is any alternative idea to get wifi info in windows 8? in other word: can I read wifi info without using this API?
This topic is very impotent for me and for other developers, so any help would be appreciated.
I don't see any way to get the WiFi SSID information on windows Phone from an app.
You can retrieve device networking information but not specific details for WiFi.
https://msdn.microsoft.com/en-us/library/windows/apps/microsoft.phone.net.networkinformation.devicenetworkinformation(v=vs.105).aspx
You can launch the WiFi settings from your app
https://msdn.microsoft.com/en-us/library/windows/apps/jj662937%28v=vs.105%29.aspx
There is no way to do this in Windows Phone 8.1. This is a new API available to apps, but it is being introduced in Windows 10.
I know it isn't the answer you want to hear, but here is a link to the API (says availability is 10 only) https://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.devices.wifi.aspx

Can I programatically close a windows phone 8 application in vb.net

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...

medialibrary in windows phone 8

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.

Getting captured video from Windows Phone 8

While Microsoft appears to have a robust video capture API for Windows Phone 8, it appears that any videos captured must be stored in the application's local storage, which is not accessible from the File Explorer when the WinPhone 8 device is connected to a Windows 8 PC.
Also, the app cannot store the videos anywhere the user could easily copy them from the phone. It is limited to its own isolated file system. This stackOverflow posting explains how the Win8 phone is locked down:
Windows Phone 8: Media file access
So, I can capture and store a video, but how do I get it off the phone to somewhere a user can manipulate it?
If you want those captured video off your phone then you can email/share it using ShareMediaTask & then can get that video out off the phone.
May be its not worth your requirement but if the purpose is to get it out off phone then it will help.

Debugging the App in WindowsPhone 8 Device

I am having a windowsPhone 8(lumia) device and I want to debug my App in Real Device.I used Developer Phone Registration.The problem i am facing now is,If click register button a small window appears and Vanishes after 15 seconds and cant able to register,plz help me.
Make sure you're running Developer Phone Registration from Windows Phone SDK 8.0, on Windows 8 - 64 bit.
Unlock phone screen during registration
Windows will ask you to enter a valid Windows Phone Developer account (which cost you $100)
You need to connect to Internet
Are the date and time set correctly on the phone? In SETTINGS | date + time, turn off the Set automatically setting and then retry registration. After registration succeeds, turn this setting on again.