Join David Gassner for an in-depth discussion in this video Analyzing code with Android Studio, part of Building a Note-Taking App for Android.
- My work on my Plain Old Notes app is almost done.…Before I package the app for deployment,…I'll take it through a few steps…to make sure my code is as good as it can be.…Android Studio has some great tools…for analyzing your code and finding minor issues.…I'll go to the menu and select Analyze, Inspect Code.…I'll set the Inspection Scope to the app module.…That's my application.…And I'll click Okay.…That will ignore any issues that might appear…in testing code.…
It might take a few moments…the first time you run the Analyze feature…on a new project.…Issues are separated in the Inspection Results window…into a number of different categories…Under Android Lint…you'll find issues that are captured by the Lint tool.…Some of them are issues you'll need to act on.…Some of them are optional…and many of them can be ignored.…For example, this issue is saying…that the parent activity name only is used…in API level 16 and higher,…though our app has a minimum SDK of 15.…
In theory you could just delete this attribute…and depend on the metadata,…
Building a Note-Taking App for iOS 8 and Building a Note-Taking App for Windows Phone 8 and Windows Store use the same assets to develop a similar app. Compare and contrast the steps and discover the similarities and differences between the three platforms.
- Understanding Android UI and data management patterns
- Creating an Android Studio project
- Customizing material design theme colors
- Defining an SQLite database structure
- Managing data with ContentProvider and Loader classes
- Retrieving and displaying data
- Customizing data display with a CursorAdapter
- Creating, updating, and deleting notes
- Preparing the app for deployment