Sunshine app: highlight Today’s forecast

github:  S11.01- NewListItemLayout , S11.02-TodayListItem , S11.03- DataBinding * The source information is from Udacity Nanodegree Program- Become an Android Developer * S11.01- Sunshine's New Layout: S11.02- Sunshine Today's List Item: RecyclerViews allow you to inflate different layouts for each of its items, this flexibility give us the power to come up with more user friendly designs, like the one we about to … Continue reading Sunshine app: highlight Today’s forecast

SUNSHINE APP : Background Task

GitHub: Synchronizing The Weather: S10.01-SynchronizingTheWeather SmarterSyncing: S10.02- SmarterSyncing Sunshine FirebaseJobDispatcher: S10.03-FirebaseJobDispatcher Sunshine Notifications: S10.04-Notifications * Reference: Udacity Nanodegree Program- Become an Android Developer * Fill out NotificationUtils We’ve started this for you, as there is some code that simply has nothing to do with creating notifications, and rather just accessing our data. We wanted you to get right into it, so … Continue reading SUNSHINE APP : Background Task

Sunshine app: Create a SQLite database for Sunshine

github: S7.01-DatabaseCreation, S07.02-PreventInvaildInserts , S07.03-ConflictResolutionPolicy Create a WeatherContract, in the class to create an inner class called WeatherEntry class, which implements BaseColumns, which implate, that defines the table contents of the weather table. Create a DBHelper extends SQLiteOpenHelper and implement with onCreate and onUpgrade. Prevent invalid inserts into the Weather DB. To Change each column's type declaration to append NOT … Continue reading Sunshine app: Create a SQLite database for Sunshine

Sunshine app: Launch Setting Activity for SunShine app

github: S06.01-LaunchSettingsActivity , S06.02-SettingsFragment ,  S06.03-PolishingPreferences Settings for Sunshine: Unit Setting- Fahrenheit   Celsius Location Setting  * Reference: Udacity Nanodegree Program- Become an Android Developer * public class SettingsActivity extends AppCompatActivity { // TODO (1) Add new Activity called SettingsActivity using Android Studio wizard <!--TODO (2) Add a Settings option to the main menu--> <item android:id= "@+id/action_settings" android:orderInCategory="2" android:title="@string/action_setting" app:showAsAction="never"/> … Continue reading Sunshine app: Launch Setting Activity for SunShine app