Join David Gassner for an in-depth discussion in this video Getting and integrating ActionBarSherlock, part of Building a Note-Taking App for Android (2013).
The application now works well on the newer versions of Android, starting with…Android 3 or Honeycomb. But before deploying the application, I'd…like to make it compatible with older versions, starting with Froyo, in…developer terms that's API version 8. So, I've opened a version of my eclipse…project called older versions. In this version of the project, I've done…a little bit of code clean up. I've removed unused imports, and I've also…tuned my code a little bit using constants instead of literal strings whenever I've…referring to the key and the text values. And also using string resources instead of…literal strings. Such as this one, r.string.delete in the…context menu. The only change I'll make directly to this…project right now, is to make it usable on the older versions of Android.…
I'll go to the application manifest. If it opens in the visual interface, click…on the XML view, and change the minimum SDK version from 13 to 8.…Save your changes. And then, assuming that you have a virtual…machine created with 2.3 or Gingerbread, you can now test it.…
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