Join David Gassner for an in-depth discussion in this video Unique concepts for Android, part of Building a Note-Taking App for Android (2013).
Here are some concepts, vocabulary and other ideas about working in Android.…First let's talk about the screens that go into making up an Android app.…Each screen is known as an activity and it's represented by a Java class.…When you want to create a new screen, you create a new class, you extend a class…code activity, and you add the class to your application by editing the app…manifest. We'll talk about all the details of this…process later on in the video. The activity's presentation is determined…by it's layout. You can predefine a layout using an XML…file or a group of XML files known as fragments.…
Or you can build the layout dynamically at run time with Java code.…And then when you want to switch from one activity or one screen to the next, you…create an object called an intent. Just like activities, these are…represented by Java classes. Each screen has a lifecycle.…When you launch a screen it goes into a state called created, from there into a…state called started, and then into something called resumed.…
Like its companions, this course will take you through building a complete mobile app from scratch; but this installment uses the Android SDK and Java to get the job done. Author David Gassner shows you how to install the SDK and the Android Developer Toolkit, create a project, save data on a device, build and control screen layouts, and create action bars and icons that control navigation.
These three related courses will use the same assets to develop the same app. (See Building a Note-Taking App for iOS and Building a Note-Taking App for Windows Phone 8 and Windows Store for more information.) Compare and contrast the different steps and discover the similarities and differences!
- Previewing the note-taking app
- Creating virtual devices for testing
- Unique concepts in Android
- Creating the Eclipse project
- Using local data storage
- Adding and retrieving data with the Shared Preferences API
- Creating screen designs
- Creating and editing notes
- Supporting older versions of Android with ActionBarSherlock