Click here to Skip to main content
15,892,072 members
Articles / Mobile Apps / Windows Mobile

Learn How to Find GPS Location on Any SmartPhone, and Then Make it Relevant

Rate me:
Please Sign up or sign in to vote.
4.94/5 (126 votes)
10 Feb 2009CPOL10 min read 775.1K   11.1K   381  
A step by step tutorial for getting GPS from any SmartPhone, even without GPS built in, and then making location useful.
namespace DeepCast
{
    partial class TwitterForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        private System.Windows.Forms.MainMenu mainMenu1;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.mainMenu1 = new System.Windows.Forms.MainMenu();
            this._saveMenu = new System.Windows.Forms.MenuItem();
            this._cancelMenu = new System.Windows.Forms.MenuItem();
            this._emailBox = new System.Windows.Forms.TextBox();
            this._userNameLabel = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this._passwordBox = new System.Windows.Forms.TextBox();
            this._enabledCheckBox = new System.Windows.Forms.CheckBox();
            this.SuspendLayout();
            // 
            // mainMenu1
            // 
            this.mainMenu1.MenuItems.Add(this._saveMenu);
            this.mainMenu1.MenuItems.Add(this._cancelMenu);
            // 
            // _saveMenu
            // 
            this._saveMenu.Text = "Save";
            this._saveMenu.Click += new System.EventHandler(this._saveMenu_Click);
            // 
            // _cancelMenu
            // 
            this._cancelMenu.Text = "Cancel";
            this._cancelMenu.Click += new System.EventHandler(this._cancelMenu_Click);
            // 
            // _emailBox
            // 
            this._emailBox.Location = new System.Drawing.Point(17, 55);
            this._emailBox.Name = "_emailBox";
            this._emailBox.Size = new System.Drawing.Size(200, 21);
            this._emailBox.TabIndex = 0;
            // 
            // _userNameLabel
            // 
            this._userNameLabel.Location = new System.Drawing.Point(17, 37);
            this._userNameLabel.Name = "_userNameLabel";
            this._userNameLabel.Size = new System.Drawing.Size(129, 18);
            this._userNameLabel.Text = "Twitter User Name";
            // 
            // label1
            // 
            this.label1.Location = new System.Drawing.Point(17, 88);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(129, 18);
            this.label1.Text = "Twitter Password";
            // 
            // _passwordBox
            // 
            this._passwordBox.Location = new System.Drawing.Point(17, 106);
            this._passwordBox.Name = "_passwordBox";
            this._passwordBox.PasswordChar = '*';
            this._passwordBox.Size = new System.Drawing.Size(200, 21);
            this._passwordBox.TabIndex = 3;
            // 
            // _enabledCheckBox
            // 
            this._enabledCheckBox.Location = new System.Drawing.Point(17, 11);
            this._enabledCheckBox.Name = "_enabledCheckBox";
            this._enabledCheckBox.Size = new System.Drawing.Size(129, 20);
            this._enabledCheckBox.TabIndex = 5;
            this._enabledCheckBox.Text = "Twitter Enabled";
            this._enabledCheckBox.CheckStateChanged += new System.EventHandler(this._enabledCheckBox_CheckStateChanged);
            // 
            // TwitterForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.AutoScroll = true;
            this.ClientSize = new System.Drawing.Size(240, 268);
            this.Controls.Add(this._enabledCheckBox);
            this.Controls.Add(this.label1);
            this.Controls.Add(this._passwordBox);
            this.Controls.Add(this._userNameLabel);
            this.Controls.Add(this._emailBox);
            this.Menu = this.mainMenu1;
            this.Name = "TwitterForm";
            this.Text = "TwitterForm";
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.TextBox _emailBox;
        private System.Windows.Forms.Label _userNameLabel;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox _passwordBox;
        private System.Windows.Forms.MenuItem _saveMenu;
        private System.Windows.Forms.MenuItem _cancelMenu;
        private System.Windows.Forms.CheckBox _enabledCheckBox;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Web Developer PageLabs
United States United States
I'm the founder of PageLabs, a web-based performance and SEO optimization site.

Give your site a boost in performance, even take a free speed test!

http://www.pagelabs.com

Comments and Discussions