Monday, May 27, 2019

Here are the assignments for All 5 Platforms

You will develop 2 mobile apps:
1) Practice: An app the reads the radius and creates a circle object to calculate the area and circumference of the circle. I will give you an example of this for each chapter.
2) Assignment: An app that reads the length and width and creates a rectangle object to calculate the area and perimeter of the rectangle. Note you will add another textbox (input) control and create a constructor that take two parameters. 
Examples of constructors that take 2 parameters:
JavaScript:
    var myRect = new Rectangle(len,wid);
    //Rectangle.js
    constructor(len,wid)
    {
  this.length=len;
          this.width=wid;
    }
Java:
    Rectangle myRect = new Rectangle(l,w);
    //Rectangle.java
    public Rectangle(double length, double width)
    {
        this.length = length;
        this.width = width;
    }
C#:
    Rectangle myRect = new Rectangle (Double.Parse(etLength.Text),Double.Parse(etWidth.Text) );
    //Rectangle.cs
    public Rectangle (double length, double width)
   {
            this.length  = length;
            this.width  = width;
    }
Swift:
     let myRect=Rectangle(length:len!, width:wid! );
    //Rectangle.swift
     init(length: Double, width: Double) { // Constructor
        self.length= length
        self.width=width        
     }
You will implement the assignments on the following platforms:
  • MIT AppInventor
  • Android and Android studio, language is java.
  • Xamarin and Microsoft Visual Studio. lamguage is C#. 
  • iOS and Xcode , the language is Swift.
  • Cross Platform Web: with a code editor (replit.com is preferred), the language is HTML5, CSS and Javascript.

6 comments:

  1. I have found that this site is very informative, interesting and very well written. keep up the nice high quality writing

    Mobile Application Development in Barrie

    ReplyDelete
  2. Awesome! I have read many other articles on the same topic, your article convinced me! I hope you continue to have high-quality articles like this to share with everyone!
    Mobile App Development Services
    How to Develop an Android App for Beginners

    ReplyDelete
  3. I really enjoyed reading this article!! The article was really fantastic about Mobile App Development Companies, types of mobile app, and much more. I wish a similar work later on.

    ReplyDelete
  4. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work.
    Website Design Company in Pune

    ReplyDelete

Note: Only a member of this blog may post a comment.