Docsity

The introduction in App Development, Cheat Sheet of Computer Science

Partial preview of the text

Download The introduction in App Development and more Cheat Sheet Computer Science in PDF only on Docsity!

Mobile Applications

(Development Concepts & Introduction)

Dr. Mohamad Al-Dabbagh

1

Chapter 1

Outline

− General Introduction

− Mobile Development Concepts

− SDK
− API
− IDE

− Introduction to Flutter

− Flutter Architecture

− Advantages & disadvantages

q “Weolcome to Mobile Course” app

Introduction Year Name Services Size (cm) Weight (Kg) 1983 Motorola DynaTAC 8000X (called Brick) Calling 30 1. 1989 Motorola Microtac 9800X Calling 23 0. 1992 Motorola International 3200 Calling (GSM) 19.5 0. 1993 Nokia 1011 Calling (GSM) 19.5 0. 1994 IBM Simon Calling 20 0. 1996 Motorola Strartac Calling 9.4 0. 1996 Nokia 8810 Calling 14.4 0. 2021 iPhone and Samsung What you see in them? 4

Introduction

− They are applications that specially developed for handy devices,
such as mobiles, tablets, and iPad.

− Operating systems (OS). − Complexity and simplicity − Free and Paid App − Used memory space. − Graphical User Interface (GUI)

− The differences of applications are:
− There are a lot of mobile platform:

Introduction − A native app is one that is installed directly onto the smartphone and can work, in most cases, with no internet connectivity depending on the nature of the app. − Native apps are installed Google Play or Apple’s App Store. − Features:

  • Faster
  • Can access to specific hardware (GPS)
  • Can use device notification system. − Web apps are not real applications; they are websites that, in many ways, look and feel like native applications, but are not implemented as such. − They are run by a browser and typically written in HTML. − Users first access them as they would access any web page: they navigate to a special URL
v What is Native App?
v What is Web App?

Introduction − Hybrid apps are part native apps, part web apps − Like native apps, they live in an app store and can take advantage of some device features available. − Like web apps, they rely on HTML being rendered in a browser, with the caveat that the browser is embedded within the app. − Hybrid apps are also popular because … − using HTML in Web UI views

v What is Hybrid App?

Mobile Development Concepts − has the packages and command-line tools that you need to develop Flutter apps across platforms. v What’s in the Flutter SDK?

v What is Flutter SDK?

− Dart SDK, and Dart DevTools for testing, debugging, and profiling your app − 2D rendering engine with excellent support for text − Modern react-style framework − Rich set of widgets implementing Material Design and iOS styles − APIs for unit and integration tests − Interop and plugin APIs to connect to the system and 3rd-party SDKs − Headless test runner for running tests on Windows, Linux, and Mac − flutter and dart command-line tools for creating, building, testing, and compiling your apps

Mobile Development Concepts − API (Application Programming Interface): is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software.

v What is API?

− Enables companies to open up their applications’ data and functionality to external third-party developers. − An SDK can take the form of APIs in the form of on-device libraries of reusable functions used to interface to a particular programming language. − Ex:

Flutter

Flutter − Flutter is Google’s portable UI framework for building modern, native, and reactive applications for iOS and Android with one codebase only.

v What is a Flutter?

− Desktop, Web, embedded devices. − Flutter is an open-source project. − Flutter uses the Skia 2 D rendering engine that works with different types of hardware and software platforms. − Flutter is a framework for Dart programming language − Dart is ahead-of-time (AOT) compiled to native code. − Dart is also just-in-time (JIT) compiled

Flutter

v What is a Flutter?

Flutter Architecture − Flutter uses Dart to create your user interface. − Flutter builds the UI to reflect the state of the app. − Flutter is fast, 60 & 120 fps for capable devices. − Flutter uses widgets to create the user interface − Flutter uses its own rendering engine to draw widgets. widgets

Flutter Architecture − Widgets are the building blocks of a Flutter app − Each widget is an immutable declaration of the user interface − Widget Tree.

v What are widgets?

Flutter Architecture

v How Flutter use Widgets?

− Flutter uses the widget as the configuration to build each element − The element is the widget that is mounted on the screen

− Element Tree