03 Chapitre 2
03 Chapitre 2
Master STRI
(Systèmes de Télécommunication et Réseaux informatiques)
2022/2023
2) At the top of the documentation page menu, we look for the GUIDES, RERERENCE,
SAMPLES, and DESIGN & QUALITY links. We follow each of the links and familiarize with the
navigation structure.
Guides: These documents teach you how to build Android apps using APIs in the Android
framework and other libraries.
Reference: These documents contain the Android API reference and additional libraries that
make it easy to add additional functionality and features to your app.
Samples: A selection of code samples and templates for you to use to accelerate your app
development.
Design & Quality: The following link provide everything you need to design a high quality
Android app including Material design guidelines, Material design components and App
quality guidelines.
We use search or navigate the documentation to complete the following tasks:
3) See the “API Guide to Launcher Icons” to learn more about how to design effective launcher
icons.
An adaptive icon, or AdaptiveIconDrawable, can display differently depending on individual
device capabilities and user theming. Adaptive icons are primarily used by the launcher on the
homescreen, but can also be used in shortcuts, the Settings app, sharing dialogs, and the
overview screen.
The Android Profiler tools provide real-time data to help you to understand how your app uses
CPU, memory, network, and battery resources.
A quality application is an application that is secure and easy to use, can change the size of its
window while using the application on a larger device such as a Tablet, also that targets all
segments of society. Listed down are few best practices that you can take on to have better
outcomes in your development.
3) In Stack Overflow search box, we type [android]. And explore an android related question that
received more than 20 answers.
4) We can combine tags and search terms to make the search more specific. Like: [android] and
[layout]. And then explore an android related question that received more than 1000 votes.
6) Explain in detail the mechanism used by Stack Overflow to reward users who regularly provide
useful content.
StackOverflow members can vote for questions and answers posted, the purpose of these votes
is to highlight quality answers while rewarding their actors, giving them access to privileges when
certain reputation thresholds are reached, for example: being able to vote see fewer ads, being
able to close questions
7) How Stack Overflow accepts a response as valid response?
When a user receives a good answer to their question, that user has the option to "accept" an
answer. Acceptance is indicated by a colored checkmark next to the answer that has been
accepted by the original author of the question.
To add an Android project component using a template, use the Project window. Right-click the
folder where you want to add the new component, and then select New. Depending on the
components that can be added to the folder you clicked, you then see a list of template types.
3) Choose and explore the architecture of one of the common activity templates for Android
smartphone and tablet apps.
Taking into account the common architectural principles mentioned in the previous section,
each application should have at least two layers:
After we check the Accessing Resources for details on the XML syntax for accessing resources.