Mobile Programming 2 - 1`st Periodical Examination

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/60

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

61 Terms

1
New cards

5 Phases of the Mobile Software Development Lifecycle

ā€¢ Inception

ā€¢ Design

ā€¢ Development
ā€¢ Stabilization

ā€¢ Deployment

2
New cards

Inception

All apps start with an idea. That idea is usually refined into a solid basis for an application.

3
New cards

Design

Consists of defining the app's User Experience (UX), such as what the general layout is, how it works, etc., as well as turning the UX into a proper User Interface (UI) design.

4
New cards

Development

Usually the most resource-intensive phase, this is the actual building of the application.

5
New cards

Stabilization

When development is far enough, Quality Assurance (QA) usually begins testing the application and bugs are fixed. Often, an application will go into a limited beta phase in which a wider user audience is given a chance to use it, provide feedback, and inform changes.

6
New cards

Deployment

In this phase, applications and updates are delivered from developers to users.

7
New cards

.NET Multi-platform App UI (.NET MAUI)

Is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. It allows you to develop apps that can run on Android, iOS, macOS, and Windows from a single shared code-base.

It provides a single framework for building the UIs for mobile and desktop apps.

8
New cards

More about .NET MAUI

ā€¢ v.NET MAUI unifies Android, iOS, macOS, and Windows APIs into a single API that allows a write-once run-anywhere developer experience while providing deep access to every aspect of each native platform.

ā€¢ .NET provides a series of platform-specific frameworks for creating apps: .NET Android, .NET iOS, .NET macOS, and Windows UI 3 (WinUI 3) library. These frameworks all have access to the same .NET Base Class Library (BCL).

ā€¢ BCL abstracts the details of the underlying platform away from your code. The BCL depends on the .NET runtime to provide the execution environment for your code.

ā€¢ For Android, iOS, and macOS, the environment is implemented by Mono, an implementation of the .NET runtime. On Windows, .NET CoreCLR provides the execution environment.

ā€¢ The various platforms have different ways of defining the user interface for an app, and they provide varying models for specifying how the elements of a user interface communicate and interoperate. You can craft the UI for each platform separately using the appropriate platform-specific framework (.NET Android, .NET iOS, .NET macOS, or WinUI 3), but this approach requires you to maintain a code-base for each individual family of devices.

9
New cards

.NET MAUI Features

An elaborate layout engine for designing pages.

ā€¢ Multiple page types for creating rich navigation types, like drawers.

ā€¢ Support for data-binding, for more elegant and maintainable development patterns.

ā€¢ The ability to customize handlers to enhance how UI elements are presented.

ā€¢ Cross-platform APIs for accessing native device features. These APIs enable apps to access device features such as the GPS, the accelerometer, and battery and network states.

ā€¢ Cross-platform graphics functionality, that provides a drawing canvas that supports drawing and painting shapes and images, compositing operations, and graphical object transforms.

ā€¢ A single project system that uses multi-targeting to target Android, iOS, macOS, and Windows.

ā€¢ .NET hot reload, so that you can modify both your XAML and your managed source code while the app is running, then observe the result of your modifications without rebuilding the app.

10
New cards

.NET MAUI for Accessing Device Features

ā€¢ Access to sensors, such as the accelerometer, compass, and gyroscope on devices

ā€¢ Ability to check the device's network connectivity state and detect changes.

ā€¢ Provide information about the device the app is running on.

ā€¢ Copy and paste text to the system clipboard between apps.

ā€¢ Pick single or multiple files from the device.

ā€¢ Store data securely as key/value pairs.

ā€¢ Utilize built-in text-to-speech engines to read text from the device.

ā€¢ Initiate browser-based authentication flows that listen for a callback to a specific app-registered URL.

11
New cards

.NET MAUI Single Project Features

ā€¢ A single shared project that can target Android, iOS, macOS, and Windows.

ā€¢ A simplified debug target selection for running your .NET MAUI apps.

ā€¢ Shared resource files within the single project.

ā€¢ A single app manifest that specifies the app title, id, and version.

ā€¢ Access to platform-specific APIs and tools when required.

ā€¢ A single cross-platform app entry point.

12
New cards

.NET MAUI Project Initially Contains:

ā€¢ MauiProgram.cs
ā€¢ App.xaml and App.xaml.cs
ā€¢ AppShell.xaml and AppShell.xaml.cs
ā€¢ MainPage.xaml and MainPage.xaml.cs

13
New cards

MauiProgram.cs

Contains the code for creating and configuring the Application object.

14
New cards

App.xaml and App.xaml.cs

Provide UI resources and create the initial window for the application.

15
New cards

AppShell.xaml and AppShell.xaml.cs

Specify the initial page for the application and handle the registration of pages for navigation routing.

16
New cards

MainPage.xaml and MainPage.xaml.cs

Define the layout and UI logic for the page displayed by default in the initial window

17
New cards

App Class

Represents the .NET MAUI application as a whole. It inherits a default set of behaviors from Microsoft.Maui.Controls.Application. It is instantiated and loaded by the bootstrap code for each platform.

18
New cards

The App Class Contains

Methods for handling life-cycle events, including when the app is sent to the background.

Methods for creating new Windows for the application. The .NET MAUI application, by default, has a single window but can create and launch additional windows, which is helpful in desktop and tablet applications.

19
New cards

Shell

Reduces the complexity of app development by providing the fundamental features that most apps require, including:

ā€¢ A single place to describe the visual hierarchy of an app.

ā€¢ A common navigation user experience.

ā€¢ A URI-based navigation scheme that permits navigation to any page in the app.

ā€¢ An integrated search handler.

20
New cards

Visual hierarchy of the app is described in a class that subclasses the Shell class

ā€¢ FlyoutItem or TabBar
ā€¢ Tab
ā€¢ ShellContent

21
New cards

FlyoutItem

Represents one or more items in the flyout and should be used when the navigation pattern for the app requires a flyout.

22
New cards

TabBar

Represents the bottom tab bar and should be used when the navigation pattern for the app begins with bottom tabs and doesn't require a flyout.

23
New cards

Tab

Represents grouped content, navigable by bottom tabs.

24
New cards

ShellContent

Represents the ContentPage objects for each tab.

25
New cards

Pages

Are the root of the UI hierarchy in .NET MAUI inside of a Shell.

26
New cards

.NET MAUI Built In Pages

ā€¢ TabbedPage
ā€¢ FlyoutPage
ā€¢ NavigationPage

27
New cards

TabbedPage

This is the root page used for tab navigation. A tabbed page contains child page objects, one for each tab.

28
New cards

FlyoutPage

This page enables the implementation of a master/detail style presentation. It contains a list of items. When selecting an item, a view displaying the details for that item appears

29
New cards

NavigationPage

This page provides a hierarchical navigation experience where you can navigate through pages, forwards and backwards, as desired.

30
New cards

View

enables users to retrieve and present data in a specific manner.

31
New cards

ContentView,

The default view for a content page which displays items as-is. If the view is shrunk, items may disappear from the display until the view is resized.

32
New cards

ScrollView

Enables the display of items in a scrolling window; if the window is shrunk, items will be displayed by scrolling up and down.

33
New cards

CarouselView

Is a scrollable view that lets the user swipe through a collection of items.

34
New cards

CollectionView

Can retrieve data from a named data source and present each item using a template as a format. There are many other types of views available as well.

35
New cards

Layout

Defines the rules by which the controls are displayed relative to each other. It is also a control so it can be added to a view.

36
New cards

Common Controls Used to Define Layouts

ā€¢ VerticalStackLayout

ā€¢ HorizontalStackLayout
ā€¢ AbsoluteLayout
ā€¢ FlexLayout
ā€¢ Grid

37
New cards

VerticalStackLayout and HorizontalStackLayou

optimized stack layouts that lay out controls in a top-to-bottom or left-to-right stack. A StackLayout is also available, which has a property named StackOrientation, which can be set to Horizontal or Vertical.

38
New cards

AbsoluteLayout

Which is used to set exact coordinates for controls.

39
New cards

FlexLayout

Is similar to StackLayout, except that it enables wrapping the child controls it contains if they do not fit in a single row or column. This layout also provides options for alignment and adapting to different screen sizes.

40
New cards

Grid

Which positions its child elements in a grid of rows and columns.

41
New cards

Markup Language

Is a computer language that is used to introduce various elements in a document. Elements are described using predefined tags.

42
New cards

Extensible Application Markup Language (XAML

is a declarative language created by Microsoft that is based on XML. It was designed to simplify the process of creating the UI in applications.

43
New cards

ContentPage

The root element of a XAML document.

44
New cards

Button

Is the most fundamental interactive control. It controls a defined Clicked event that is fired once the it is tapped.

45
New cards

RadioButton

It is a type of button that allows users to select one option from a set.

46
New cards

SearchBar

It is a user input control used to initiate a search.

47
New cards

SearchButtonPressed (Event Handler)

Is called when the user either clicks the search button or presses the enter key.

48
New cards

TextChanged (Event Handler)

Is called anytime the text in the query box is changed

49
New cards

Points

The values on iOS

50
New cards

DPI (density-independent pixels)

Values for Android

51
New cards

Orientation

represents the direction in which child views are positioned. The default value of this property is Vertical.

52
New cards

Spacing

Indicates the amount of space between each child view. The default value of this property is 0.

53
New cards
54
New cards
55
New cards
56
New cards
57
New cards
58
New cards
59
New cards
60
New cards
61
New cards