This app is a sort of simplified version of a full-blown produce seasons app released on the Play store. With this short project, I wanted to explore tabbed navigation with swipe views to represent two consecutive months worth of produce that was currently in season this month and the next.
Unlike previous projects of this nature, this app would automatically pull the current month from the system clock in order to load the corresponding produce lists. This was achieved by declaring a Calendar object in order to retrieve the Calendar's DAY_OF_MONTH parameter. // Retrieving Calendar instance and saving to Calendar object Calendar calObj = Calendar.getInstance(); int currentMonth; // obtaining current month - 0-11 for Jan-Dec currentMonthNumber = calObj.get(Calendar.DAY_OF_MONTH); The actionbar was styled and generated with the first-time use of the nifty Android Action Bar Style Generator. This Android app was made with the intention to support a freshwater aquarium hobby. For now, most of the items consist of embedded Webviews, but sometime in the future, I'd like to make customized content for possible release.
This app is a further exploration of the navigation drawer menu for versions 4.0 and up. So far, I haven't experimented with support for versions below 4.0, but after some experience with published apps on the Play store, I'd likely limit support to 4.0 and up as it is simply easier for testing and eliminates some of the issues with the earlier versions. Currently, there is no overflow menu with additional options as this app is not going live. Normally, when publishing, the overflow menu would contain sections consisting of an about, help, legal, and additional app settings. |
AuthorExploring Android and mobile web design, security, and development. Archives
March 2021
Categories |