Skip to main content

Day 4

Today we learnt to work with sensors and notification manager.Sensors are used on the device to add rich location and motion capabilities to your app, from GPS or network location to accelerometer, gyroscope, temperature, barometer, and more.Most Android-powered devices have built-in sensors that measure motion, orientation, and various environmental conditions. These sensors are capable of providing raw data with high precision and accuracy, and are useful if you want to monitor three-dimensional device movement or positioning, or you want to monitor changes in the ambient environment near a device. For example, a game might track readings from a device's gravity sensor to infer complex user gestures and motions, such as tilt, shake, rotation, or swing. Likewise, a weather application might use a device's temperature sensor and humidity sensor to calculate and report the dewpoint, or a travel application might use the geomagnetic field sensor and accelerometer to report a compass bearing.

Comments

Popular posts from this blog

Day 14

Today we started working on UI of our application and we developed sin up and login forms and customized it's design. The user interface for an Android app is built using a hierarchy of  layouts  ( ViewGroup  objects) and  widgets ( View  objects). Layouts are containers that control how their child views are positioned on the screen. Widgets are UI components such as buttons and text boxes.

Day 24

Today we worked on a navigation activity, worked with use of float button and item listeners.We also added the validation of unique data storage in fire base in our app. Android  Event  Listeners . In  android , Event  Listener  is an interface in the View class that contains a single call-back method. These methods will be called by the  Android  framework when the View which is registered with  listener  is triggered by user interaction with the item in UI.

Day 62

Worked on time stamp of a ride and history of single page system. A thin wrapper around  java.util.Date  that allows the JDBC API to identify this as an SQL  TIMESTAMP  value. It adds the ability to hold the SQL  TIMESTAMP  fractional seconds value, by allowing the specification of fractional seconds to a precision of nanoseconds. A Timestamp also provides formatting and parsing operations to support the JDBC escape syntax for timestamp values. The precision of a Timestamp object is calculated to be either: 19  , which is the number of characters in yyyy-mm-dd hh:mm:ss 20 + s  , which is the number of characters in the yyyy-mm-dd hh:mm:ss.[fff...] and  s  represents the scale of the given Timestamp, its fractional seconds precision.