location based proximity alert in windows phone 8 - windows-phone-8

Is there any way to add location for proximity alert in windows phone 8 ?
For example .Suppose I have added a particular location xyz with radius 50 meter .Once user entered in the location xyx proximity alert should be triggered .
How to do this?
I did in android but I do not know how to do in windows phone 8 . I checked official documentation as well as I googled but I got nothing
Any help is appreciated

WP7/WP8 doesn't allow for full multitasking. As such having a background process open at all times listening to geoloc changes isn't a possibility.
Depending on your usecase though you could consider using WP8 geolocation tracking background support. Your app first has to be launched by the user and if may remain open in the background as long as it's tracking location and no other location tracking app has been activated. You can read more about how to create geolocation tracking apps on MSDN # http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662935%28v=vs.105%29.aspx
A good example for when a geolocation tracking app can be used for proxmity alerts is an easter egg hunt game. After the user launches the app they can move it to the background and have it popup ShellToasts and Tile updates corresponding to a user's location.

Related

can google map send push notification to user without app install?

I need some help to understand better about google maps push notifications.
Nowadays we are getting push notifications from different restaurants, hotels or shops whenever we visited or leave the area.
how this is happening. Do we need to use any product from the Google to support this feature or Google is promoting the app itself?
I need the same feature to integrating for my project. so whenever a person comes to a place within the radius defined. we need to track their location using GPS and google maps. and once the person leaves the area we need to send a push notification to their mobiles
But our goals is to a person should not install any other Android or IOS app and bluetooth is off. The notification should be get using the Google maps only
so can anyone please let me if this can be achieved? do we have any APIS which Google can provide
Your phone should be subscribed for the Push Notifications. So some app in your phone did this. Also it is impossible to be subscribed without user's permission (at least at iOS). You can check permissions in app settings.
to get more undestanding you can look into: Apple Push Notification Service (APNS)

AS3 Air app needs to continue running in the background

I am developing an app for iOS and Android that monitors a users locations and plots a course with markers every 10 seconds or so however when the phone is locked the location stops tracking and plotting the positions stop.
I have added UIBackgroundModes to location and also .executeInBackground = true.
Anything I could be missing?
I think you should ask this permission.
Yet the IOS is through incosistente this sense, not necessarily you'll get an update every 10 seconds.
Permission -> Background Location Updates

Co-ordinates on wp8 emulator

I am trying to get my current location; my code is correct but wp8 emulator is giving every time same results (Microsoft place while I am in Asia). I also read people posts even on stack overflow but I could not understand their answer. they are saying set location from emulator ">>" "Location". I want to know can emulator give me correct answer when I run my app ? Is it emulator fault ? how will it work on real device ? will it give same wrong results or correct ones ?
Thanks
The WP8 emulator doesn't have a GPS or other means to get a location like a phone or other devices might be able to. So, the emulator has other ways of getting location information.
If you want to change your location settings around, you need to click on the double chevron to the right of the emulator. This will open up the additional tools menu. Click on the Location tab. Then, click anywhere on the map to set your emulator's location to the place where you clicked. When you run code to get the location it will reflect the new location.
Now you asked
can emulator give me correct answer when I run my app
The emulator does not know where it is, you set its location in the way described above. So, as long as you give it a location you deem correct then it will be correct.
how will it work on real device
On a real device there are multiple ways of obtaining the location. 1. GPS. 2. Location of cellular towers. 3. You could connect to a Wifi network (The location of some wifi connection points can be ascertained by the phone.) The phone will use one of these mechanisms to get the location.
It will work fine on real device. Emulator doesn't have required hardwares to detect your location correctly (such as mobile GPS) when a real windows phone device has.
That's the reason why people setting location in emulator manually for purpose of testing their location-aware application.

How to build a windows phone 8 application like kid's corner?

I need help on how to build an app for windows 8 phone which is exactly similar to Kid's Corner application which is available with NOKIA LUMIA 520.
I registered with the App Studio of Microsoft and tried to create a simple application like album but as a nubee I am not aware of all fundamentals and so need a simple guide.
Here is what I want my application should do:
Once you launch it, you can not go back until you lock phone and unlock it using password. same way as Kid's Corner.
I want that the app user should be able to see videos and photos only which the app is allowed to access.
User should be able to Zoom photos and play pause videos and using touch-slide can view the next one.
User should not be able to delete any files.
Thanks for pointing me to the exact resource where I can find some things which are easy to understand and simple to do :) .
Thanks a lot!
EDIT:
Is it possible to get the source code of Kid's Zone/Corner application?
1. Once you launch it, you can not go back until you lock phone and unlock it using password. same way as Kid's Corner.
This is impossible to lock user into your app. User always can exit or suspend your app using hardware buttons, you just can handle back button tab, but user also can touch to startmenu button or can hold to backbutton.
And you cant get kid zone's source code, its part of Windows Phone OS.

Not able to install app made using App studio Windows phone 8

Initially I was able to install on my lumia 620 apps made using app studio.
Now I'm getting the following error.
"We haven’t been able to contact the Microsoft Corporation company account to make sure you can install this app. Make sure you’re connected to a mobile or WiFi network, and we’ll try again as soon as we can.
Unfortunately, it may take a couple of days before we can make that connection. If you continue to have trouble contact your company’s support person for help."
I'm in India and I'm using the same live account I used earlier.
Take a look at this : How do I get my app on my Windows Phone device?
It explains in details all the steps you need to do.
For Windows Phone 8.1
As well as various 3rd party QR Code readers you can use, you can also use Bing vision by doing the following. Open your camera on your Windows phone. Press the “Lenses” button Search icon( Sometimes the lenses button won’t be bound to your screen, you can do this by pressing the three dots and adding it to your bindings ) From here, a new menu will appear with various lenses listed. Choose Bing Vision.
Remember that by clicking “install” you download the app. By clicking Tap to open, you add the company certificate. It pushes you back to “Install company app” at that point, but you do not have to do it a second time. At this point, go to your app menu and you will see your app. Point the phone’s camera at the QR code that opens with the certificate link, and the phone will automatically scan it. Click “add” and the certificate is successfully installed once it returns to the original Install the certificate page.
...... CAN'T UNDERSTAND THIS FULLY. PLEASE EXPLAIN