First steps with Android Studio

First steps with Android Studio

Having completed a few of the excellent Java and Android related courses on Lynda.com I have started to work on Android Studio to achieve some of the tasks I need to develop a fully featured app.

connected

This starting activity contains several TextView and Button objects which display information based on network connectivity.

There are two buttons at the bottom of this activity. Only one button is visible in the running app offering the chance to login if an internet connection is detected (in this case it is) or refresh the screen if you have not been connected and then do connect.

In future if the student has logged in successfully and a login key stored in the local application then the Student Login option will be replaced by a link to an activity offering various options like timetable, attendance etc.

login screen

The Student Login activity has a login handler which uses an AsyncTask to check if the login details are correct and will store the returned login key very soon in a private file. So far I only have some Logcat outputs to prove that the AsyncTask is actually working !

Next time how I manage to get a value back from the Async task.

Leave a Reply

Your email address will not be published. Required fields are marked *

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.