0% found this document useful (0 votes)
97 views4 pages

Green University of Bangladesh: Course Code: CSE 401 Course Title: Mobile Application Development Section: 183-DB

This document is an assignment submission for a Mobile Application Development course. It contains answers to questions about the Android framework and front-end development frameworks. The response discusses that the Android framework is a set of APIs that makes app development faster and more efficient by providing basic code structures. It then focuses on Flutter, an open-source framework for building mobile apps, describing how it uses widgets as building blocks and outlining the basic process to develop a user interface in Flutter.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views4 pages

Green University of Bangladesh: Course Code: CSE 401 Course Title: Mobile Application Development Section: 183-DB

This document is an assignment submission for a Mobile Application Development course. It contains answers to questions about the Android framework and front-end development frameworks. The response discusses that the Android framework is a set of APIs that makes app development faster and more efficient by providing basic code structures. It then focuses on Flutter, an open-source framework for building mobile apps, describing how it uses widgets as building blocks and outlining the basic process to develop a user interface in Flutter.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Green University of Bangladesh

Department of Computer Science & Engineering

Course Code: CSE 401

Course Title : Mobile Application Development

Section: 183-DB

Assignment

Submitted By:

Md. Daiyan Uddin Mozumder


ID: 182002041
Submission Date: 16.01.2022

Submitted to:

Ms. Shifat Ara Rafiq


Lecturer
Department of CSE
Green University of Bangladesh
Mobile Application Development

Answer to the Question No: 1

Android Framework: Application framework is a set of services that


are collectively from the environment in which android applications
run and managed. It is a set of API's which allows developers to quickly
and easily write code for applications.. It consists of tools for designing
User Interface like buttons, text fields, image panes, and system tools
like intents, phone controls, media players, etc.

Necessity of Android Framework: Android framework is a set of APIs


which helps developers to make apps easily and efficiently. In the
framework, basic code structure is developed. So it takes less time to
build new apps. So the application development process becomes
faster and more efficient.

It minimizes time in building basic codes. So it saves time and


overhead associated with building applications. Many popular
frameworks are free to use. So it saves time in application development
and deployment.

Generally popular frameworks are supported by large communities of


developers. So it is secured and qualityful. These popular frameworks
provide support documents which help developers to develop
applications.

For all of these features, Android Framework is necessary to develop


Android Applications.

Front End Development Framework and Its Procedure to develop


User Interface: I choose Flutter which is an open-source development
framework that was released by Google. It is Google’s portable UI
toolkit for building beautiful, natively-compiled applications for
mobile, web, and desktop from a single codebase. That's why it's

Page 2
Mobile Application Development

become popular recently. Flutter is written in the Dart programming


language. It provides rendering support by using the 2D rendering
engine Skia.

The Flutter framework is widget based. Widgets are the building blocks
of the Flutter app. Each widget is an immutable declaration of the UI.
Widgets are the configuration or the instructions for different parts of
the UI, and placing the widgets together creates the application.

There are some basic widgets which help to develop User interface.

❖ Text widget allows to create a run of styled text within the


application.
❖ Flex widgets create flexible layouts in both the horizontal (Row)
and vertical (Column) directions. The design of these objects is
based on the web’s flexbox layout model.
❖ Stack widget places widgets on top of each other in paint order.
We can then use the Positioned widget on children of a Stack to
position them relative to the top, right, bottom, or left edge of the
stack. Stacks are based on the web’s absolute positioning layout
model.
❖ The Container widget creates a rectangular visual element. A
container can be decorated with a BoxDecoration, such as a
background, a border, or a shadow. A Container can also have
margins, padding, and constraints applied to its size. In addition,
a Container can be transformed in three dimensional space using
a matrix.

The core of Flutter’s layout mechanism is widgets. In Flutter, almost


everything is a widget—even layout models are widgets. The images,
icons, and text that we see in a Flutter app are all widgets. But things
we don’t see are also widgets, such as the rows, columns, and grids
that arrange, constrain, and align the visible widgets.

Page 3
Mobile Application Development

To design the user interface of Applications, First of all we have to


select layout widgets from a variety of layout widgets based on how we
want to align or constrain the visible widget, as these characteristics
are typically passed on to the contained widget.

Then we have to create visible widgets. These widgets can be text,


icon, image etc.

Then we have to add these visible widgets to the layout widgets. All
layout widgets have either of the following:

1. A child property if they take a single child—for example, Center


or Container
2. A children property if they take a list of widgets—for example,
Row, Column, ListView, or Stack.

Then we have to add the layout widgets to the page. A Flutter app is
itself a widget, and most widgets have a build() method. Instantiating
and returning a widget in the app’s build() method displays the widget.

We can use a Row widget to arrange widgets horizontally, and a


Column widget to arrange widgets vertically. To create a row or
column in Flutter, we have to add a list of children widgets to a Row or
Column widget. In turn, each child can itself be a row or column, and
so on. We can control how a row or column aligns its children using
the ‘mainAxisAlignment’ and ‘crossAxisAlignment’ properties. For a
row, the main axis runs horizontally and the cross axis runs vertically.

That's how we can develop a user interface using flutter.

Page 4

You might also like