Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Getting started with Udoo
  • Toc
  • feedback
Getting started with Udoo

Getting started with Udoo

By : Emanuele Palazzetti
4.8 (4)
close
Getting started with Udoo

Getting started with Udoo

4.8 (4)
By: Emanuele Palazzetti

Overview of this book

If you are an Android developer who wants to learn how to use UDOO to build Android applications that are capable of interacting with their surrounding environment, then this book is ideal for you. Learning UDOO is the next great step to start building your first real-world prototypes powered by the Android operating system.
Table of Contents (10 chapters)
close
9
Index

Improving user settings


Before we proceed with our implementation of the voice recognition service, we need to change how settings are stored in our physical application. At the moment, we're using the Chronotherm application's shared preferences in which we store the chosen setpoint for each SeekBar class. According to new requirements, this is no longer suitable for our application because we need to persist different setpoints for each preset. Moreover, we need to persist the current activated preset and all these changes force us to design a new user interface together with a new settings system.

We can take a look at the following screenshot to find what changes we should take:

The first required step is to update our user interface. Following the suggestion in the above mock-up, we should:

  1. Add a new TextView at the top of the layout that shows the name of the current preset. The name should be changed while loading the activity and whenever the user activates a new preset.

To achieve the...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete