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

CLoud-Cab

, 8 May 2013 CPOL
Rate this:
Please Sign up or sign in to vote.

Please note

This article is an entry in our Windows Azure Developer Challenge. Articles in this sub-section are not required to be full articles so care should be taken when voting. Create your free Azure Trial Account to Enter the Challenge.

Introduction 

This is my first article on codeproject where i have been learning all the things from 3-4 years so kindly pardon me in advance for errors and mistakes i will encounter during this article .Cloud Cab is an Online Cab information service provider specially for airlines travelers with various add on option Web application which will used the cloud vendor-Windows Azure.As Cab is an important source during the journey hassle to and from airport so this Application will solve the need of planning and estimation in seconds.Users can search and choose the cab providers and then book their seats for the required day and time. This is just a brief introduction some ideas will be posted in future versions of this article.

Background   

The idea came in my mind During a trip when one of my friend unable to reach airport on time due to sudden defects in his car and by the time the cab came (which he got after trying so many cab service providers) his flight was already left.So in a situation like this cloud cab can be quite useful as users can see the status of availability of cabs online and then if they face any troubles they can call and book the cab quickly and easily.

Using the code  

Some codes snippets ....

For Finding out fare price(rough estimation but actual will be based on cab providers prices)

 public void findfare(object sender, EventArgs e)
    {
double calc = 0;
        string s = TextBox2.Text;
        if (TextBox2.Text == "")
        {
            calc = 0;
        }
        else
        {
            double waittime = Convert.ToDouble(TextBox2.Text);
            calc = waittime * 1;
        }
        double dis = Convert.ToDouble(TextBox1.Text);
        double cal;
        if (dis > 1)
        {
            cal = calc + 15 + ((dis - 1) * 13);
        }
        else
        {
            cal = calc + (dis * 15);
        }

        Label1.Text = "Calculated Fare: Rs. " + cr.GetFare(Convert.ToDouble(TextBox1.Text), calc).ToString()+"/-only";
        TextBox1.Text = "";
        TextBox2.Text = "";
    }  

i have written some codes on search and find options as well but i will post about them in future versions,

Points of Interest 

My points of interest are Mobile Apps Development using HTML5 and mobile Jquery,Windows and Windows Phone Apps Development in C# and Web Development in Asp.net with Sql Server Database .

License

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

Share

About the Author

ctechman
Engineer Cvent
India India
I am chandan a part time blogger,Mobile apps Developer for windows phone and blackberry and currently working as Application Engineer in Cvent.I love to learn and implement new technologies and always remain open for new ideas and challenges.
Follow on   Twitter   Google+

Comments and Discussions

 
QuestionHave You Read "The Tyranny of the Taxi Medallions"? PinprotectorAspDotNetDev8-May-13 10:29 
AnswerRe: Have You Read "The Tyranny of the Taxi Medallions"? Pinprofessionalctechman8-May-13 19:39 

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 | Terms of Use | Mobile
Web02 | 2.8.141220.1 | Last Updated 8 May 2013
Article Copyright 2013 by ctechman
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid