Build an App in Android Studio using Read-Write

4.7
28 个评分
提供方
Coursera Project Network
2,583 人已注册
在此指导项目中,您将:

Building Apps in Android Studio

Building Android Apps

Programmatically creating files in app internal storage, reading from, writing to those files.

Clock120 Minutes.
Intermediate中级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

In this project you will build an Android app that creates text files in internal storage when needed, will write to those files, and will read from those files. The app will also interact 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). 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. 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 Below this quote will be two buttons, one with "Read Review" on it, and the second with "Submit Review" on it. When the user clicks the "Read Review" button a TextView will appear containing a the previously submitted review (if one exists). The user will also be given the option to "Submit Review" whiich when clicked gives access to an imput box (EditText) into which a review can be typed. When a "Submit" button is then clicked this review is written to a text file in internal storage (not resources) to a review file for that author. If the file does not exist then the app will create the file first, then write the review to it. When the user closes the app the program will remember the final choice made by the user in their previous visit. When launched the app will also read all information in the review files in internal storage and bring the reviews into the app for use. 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

您要培养的技能

Android StudioJava ProgrammingAndroid DevelopmentMobile Application Development

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Introduction to Project and Rhyme Platform

  2. Overview of Drawable Directory, Raw Directory, and Strings File.

  3. Overview of the User Interface and Connecting it to Resources

  4. Overview of the Java File and Connecting it to Resources and Internal Storage

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

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心