Build an App in Android Studio using Static Files

Offert par
Coursera Project Network
Dans ce projet guidé, vous :

Building Apps in Android Studio

Building Android Apps

Using Strings and Image Resources in your Android Studio Project

Clock120 Minutes
IntermediateIntermédiaire
CloudAucun téléchargement requis
VideoVidéo en écran partagé
Comment DotsAnglais
LaptopOrdinateur de bureau uniquement

In this project you will build an Android app with text files, images, strings, and a string array that are saved as resources in the project (can be accessed by reference throughout the app). You will use the java programming language and will be given an explanation of the usefulness of using resources. In different parts of the res (resources) directory of your Android Studio project you will put text files, , create strings and all of these will be accessible for all appropriate widgets in your app. This app will have a piece of text (from the strings file) asking the user to select the name of an author from a spinner (a type of drop down menu where the user selects from a set of options - from the strings file). There will be an image (ImageView) below the spinner which will change (from the drawable directory) to match whichever author the user selects. Beneath this will be a piece of text (TextView) with the name of a book and the year it was published (from the strings file) which will change to match the selected author. Finally, there will be another piece of text (TextView) which will contain an appropriate quote (read from the appropriate text file in a raw directory) from the named book When the user closes the app the program will remember the final choice made by the user in their previous visit. You will upload an APK of the app to a website called Appetize.io to test the app. Projects in Series 1: 1. Build a Simple App in Android Studio with Java 2. Build a Persistent Storage App in Android Studio 3. Build a Linear Layout App in Android Studio 4. Build a Relative Layout App in Android Studio 5. Build a Table Layout App in Android Studio Projects in Series 2: 1. Build an App in Android Studio using Resources 2. Build an App in Android Studio using Static Files 3. Build an App in Android Studio using Read - Write 4. Build an App in Android Studio using onTouch 5. Build an App in Android Studio using Activities

Les compétences que vous développerez

Android StudioJavaAndroid DevelopmentMobile Application Development

Apprendrez étape par étape

Votre enseignant(e) vous guidera étape par étape, grâce à une vidéo en écran partagé sur votre espace de travail :

  1. Introduction to the Project and the Rhyme Platform.

  2. Open the Project, Create a raw Directory, and put Text Files of Quotes into the Directory.

  3. Understand the Strings and Drawable sections of the res Directory.

  4. Examine the User Interface and Connect Appropriate Widgets to Images and Strings in Resources.

  5. Examine the Java File and Connect to items in the raw and drawable Directories as well as the strings File.

  6. Upload your App to Appetize.io and Test the App.

Comment fonctionnent les projets guidés

Votre espace de travail est un bureau cloud situé dans votre navigateur, aucun téléchargement n'est requis.

Votre enseignant(e) vous guide étape par étape dans une vidéo en écran partagé

Foire Aux Questions

Foire Aux Questions

D'autres questions ? Visitez le Centre d'Aide pour les Etudiants.