/18CSMP68

18CSMP68 Mobile Application Development Lab for VTU Students. This repository contains all lab programs, lab manual and learning resources and will be updated on regular basis to fix any error and bugs.

Primary LanguageKotlin

Logo

MOBILE APPLICATION DEVELOPMENT

Share this repo using bit.ly/18csmp68

(Effective from the academic year 2018 -2019)
SEMESTER – VI
Course Code : 18CSMP68

Laboratory Objectives:This laboratory (18CSMP68) will enable students to

  • Learn and acquire the art of Android Programming.
  • ConfigureAndroid studio to run the applications.
  • Understand and implement Android's User interface functions.
  • Create, modify and query on SQlite database.
  • Inspect different methods of sharing data using services.

Learning Resources

List of Applications

Part-A

  • Visiting Card

    Create an application to design aVisiting Card. The Visiting card should havea companylogoatthe top right corner. The company name should be displayed in Capital letters, aligned to the center. Information like the name of the employee, job title, phone number, address, email, fax and the website address isto be displayed. Insert a horizontal line between the job title and the phone number.

  • Calculator

    Develop an Android application usingcontrols like Button, TextView, EditText for designing a calculatorhaving basic functionality like Addition, Subtraction, Multiplication,andDivision.

  • LoginSignUp

    Create a SIGN Up activity with Username and Password. Validation of password should happen based on the following rules: Password should contain uppercase and lowercase letters. Password should contain letters and numbers. Password should contain special characters. Minimum length of the password (the default value is 8). On successful SIGN UP proceed to the next Login activity. Here the user should SIGN IN using the Username and Password created during signup activity. If the Username and Password are matched then navigate to the next activity whichdisplays a message saying “Successful Login” or else display a toast message saying “Login Failed”.The user is given only two attempts and after thatdisplay a toast message saying “Failed Login Attempts” and disable the SIGN IN button. Use Bundle to transfer information from one activity to another.

  • Wallpaper

    Develop an application to set an image as wallpaper. On click of a button, the wallpaper image should start to change randomly every 30 seconds.

  • Counter

    Write a program to create an activity with two buttons START and STOP. On pressingoftheSTART button, the activity must start the counter by displaying the numbers from One and the counter must keep on counting until the STOP button is pressed. Display the counter value in a TextViewcontrol.

  • Parsing XML and JSON

    Create two files of XML and JSON type with values for City_Name, Latitude, Longitude, Temperature,andHumidity. Develop an application to create an activity with two buttons to parse the XML and JSON files which when clicked should display the data in their respective layouts side by side.

  • Text To Speech

    Develop a simple application withoneEditTextso that the user can write some text in it. Create a button called “Convert Text to Speech” that converts the user input text into voice.

  • Phone Dialer

    Create an activity like a phone dialer withCALLand SAVE buttons. On pressing the CALL button, it must call the phone number and on pressing the SAVE button it must save the number to the phone contacts.

Part-B (Mini-Projects)

  • File Application

    Write a program to create an activity having a Text box, and also Save, Open and Create buttons. The user has to write some text in the Text box. On pressing the Create button the text should be saved as a text file in MkSDcard. On subsequent changes to the text, the Save button should be pressed to store the latest content to the same file. On pressing the Open button, it should display the contents from the previously stored files in the Text box. If the user tries to save the contents in the Textbox to a file without creating it, then a toast message has to be displayed saying “First Create a File”.

  • Media Player

    Create an application to demonstrate a basic media playerthat allows the user to Forward, Backward, Play and Pause an audio. Also, make use of the indicator in the seek bar to move the audio forward or backward as required.

  • Asynchronous Task

    Develop an application to demonstrate the use of Asynchronous tasks in android. The asynchronous task should implement the functionality of a simple moving banner. On pressing the Start Task button, the banner message should scrollfrom right to left. On pressing the Stop Task button, the banner message should stop.Let the banner message be “Demonstration of Asynchronous Task”.

  • Clipboard

    Develop an application that makes use of the clipboard framework for copying and pasting of the text. The activity consists of two EditText controls and two Buttons to trigger the copy and paste functionality.

  • Car EMI Calculator

    Create an AIDL service that calculates Car Loan EMI. The formula to calculate EMI is E = P * (r(1+r)n)/((1+r)n-1) where E = The EMI payable on the car loan amount P = The Car loan Principal Amount r = The interest rate value computed on a monthly basis n = The loan tenure in the form of months The down payment amount has to be deducted from the principal amount paid towards buying the Car. Develop an application that makes use of this AIDL service to calculate the EMI. This application should have four EditText to read the PrincipalAmount, Down Payment, Interest Rate, Loan Term (in months) and a button named as “Calculate Monthly EMI”. On click of this button, the result should be shown in a TextView. Also, calculate the EMI by varying the Loan Term and Interest Rate values.