Click here to Skip to main content
Click here to Skip to main content

Emergency's Be safe Everywhere

, 11 Aug 2013
Rate this:
Please Sign up or sign in to vote.
Now a we are busy with over work and dont know when we will get into a unavoidable situation so the app locates you and provides all sort of emergency services : Be Safe Every Where Life Is Precious

Please note

This article is an entry in our AppInnovation Contest. Articles in this sub-section are not required to be full articles so care should be taken when voting.

Introduction

Now a we are busy with over work and dont know when we will get into a unavoidable situation like an accident or in remote location where we dont know anything about the surroundings like a new city. Let's take an Example where a guy/girl had got the job into a new city and he went there the city is new to him and he feels alone over there, he gets into a emergency situation where he dont have any contact , far from his family so from the App Emergency's Be safe Just with one Button click the app locates him and provides all sort of emergency services : Be Safe Every Where Life Is Precious

Background

This Application is For the Windows Tablets ,Win Phone (7.8, 8.0)

Using the code

This app is Is C# and contains the API of the location access , it includes the database of the services which is updated every month or on a service requests.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Sensors;
using Windows.Devices.Geolocation;
using Windows.Devices.Geolocation.Geoposition;
using Windows.Foundation;

namespace Location
{
    public partial class Form1 :
    {
        public Form1()
        {
            InitializeComponent();
        }

        async private void Form1_Load(object sender, EventArgs e)
        {
            Geolocator loc = new Geolocator();
            try
            {
                loc.DesiredAccuracy = PositionAccuracy.High;
                Geoposition pos = await loc.GetGeopositionAsync();
                var lat = pos.Coordinate.Latitude;
                var lang = pos.Coordinate.Longitude;
                Console.WriteLine(lat+ " " +lang);
                  //Code
            }
            catch (System.UnauthorizedAccessException)
            {
                // handle error
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {

         }
    }
}

Points of Interest

When I was Writing the Code I came to learn that how i can utilize the location and location tracking API In the Better way and the Most Important thing is that I came to know and aprox 43% of the new persons in any town or city feels less secure and feels unsafe ( Girls more feel unsafe in the new atmosphere ). When I was Writing the Code I came to learn that how i can utilize the location and location tracking API In the Better way and the Most Important thing is that I came to know and aprox 43% of the new persons in any town or city feels less secure and feels unsafe ( Girls more feel unsafe in the new atmosphere ).

History

Location Services more accurate.

The User Interface is now more attractive.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Member 10202352
Student SIMS
India India
No Biography provided

Comments and Discussions

 
AdminThanks for entering! PinstaffKevin Priddle16-Aug-13 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 11 Aug 2013
Article Copyright 2013 by Member 10202352
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid