JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

ANDROID APPLICATION DEVELOPMENT LAB

M.Tech I Year II Semester (R17)

Course Objectives:

  • To learn how to develop Applications in android environment.
  • To learn how to develop user interface applications.
  • To learn how to develop URL related applications.

Course Outcomes:

  • be able to use and program in the programming language R
  • be able to use R to solve statistical problems
  • be able to implement and describe Monte Carlo the technology
  • be able to minimize and maximize functions using R The student is expected to be able to do the following problems, though not limited. Create an Android application that shows Hello + name of the user and run it on an emulator. (b) Create an application that takes the name from a text box and shows hello message along with the name entered in text box, when the user clicks the OK button. Create a screen that has input boxes for User Name, Password, Address, Gender (radio buttons for male and female), Age (numeric), Date of Birth (Date Picket), State (Spinner) and a Submit button. On clicking the submit button, print all the data below the Submit Button. Use (a) Linear Layout (b) Relative Layout and (c) Grid Layout or Table Layout. Develop an application that shows names as a list and on selecting a name it should show the details of the candidate on the next screen with a “Back” button. If the screen is rotated to landscape mode (width greater than height), then the screen should show list on left fragment and details on right fragment instead of second screen with back button. Use Fragment transactions and Rotation event listener. Develop an application that uses a menu with 3 options for dialing a number, opening a website and to send an SMS. On selecting an option, the appropriate action should be invoked using intents. Develop an application that inserts some notifications into Notification area and whenever a notification is inserted, it should show a toast with details of the notification. Create an application that uses a text file to store user names and passwords (tab separated fields and one record per line). When the user submits a login name and password through a screen, the details should be verified with the text file data and if they match, show a dialog saying that login is successful. Otherwise, show the dialog with Login Failed message. Create a user registration application that stores the user details in a database table. Create a database and a user table where the details of login names and passwords are stored. Insert some names and passwords initially. Now the login details entered by the user should be verified with the database and an appropriate dialog should be shown to the user. Create an admin application for the user table, which shows all records as a list and the admin can select any record for edit or modify. The results should be reflected in the table. Develop an application that shows all contacts of the phone along with details like name, phone number, mobile number etc. Create an application that saves user information like name, age, gender etc. in shared preference and retrieves them when the program restarts. Create an alarm that rings every Sunday at 8:00 AM. Modify it to use a time picker to set alarm time. Create an application that shows the given URL (from a text field) in a browser. Develop an application that shows the current location’s latitude and longitude continuously as the device is moving (tracking). Create an application that shows the current location on Google maps.

Note:

Android Application Development with MIT App Inventor:For the first one week, the student is advised to go through the App Inventor from MIT which gives insight into the various properties of each component. The student should pay attention to the properties of each components, which are used later in Android programming. Following are useful links:

  • 1. http://ai2.appinventor.mit.edu
  • 2. https://drive.google.com/file/d/0B8rTtW_91YclTWF4czdBMEpZcWs/view PART- II R PROGRAMMING LAB
  • 1. Write an R-Program to print Hello World
  • 2. Write an R-Program to take input from user.
  • 3. Write an R-Program to demonstrate working with operators (Arithmetic, Relational, Logical, Assignment operators).
  • 4. Write an R Program to Check if a Number is Odd or Even
  • 5. Write an R Program to check if the given Number is a Prime Number
  • 6. Write an R Program to Find the Factorial of a Number
  • 7. Write an R Program to Find the Factors of a Number
  • 8. Write an R Program to Find the Fibonacci sequence Using Recursive Function
  • 9. Write an R Program to Make a Simple Calculator
  • 10. Write an R Program to Find L.C.M of two numbers
  • 11. Write an R Program to create a Vector and to access elements in a Vector
  • 12. Write an R Program to create a Matrix and access rows and columns using functions colnames() and rownames() .
  • 13. Write an R Program to create a Matrix using cbind() and rbind() functions.
  • 14. Write an R Program to create a Matrix from a Vector using dim() function.
  • 15. Write an R Program to create a List and modify its components.
  • 16. Write an R Program to create a Data Frame.
  • 17. Write an R Program to access a Data Frame like a List.
  • 18. Write an R Program to access a Data Frame like a Matrix.
  • 19. Write an R Program to create a Factor.
  • 20. Write an R Program to Access and Modify Components of a Factor.
  • 21. Write an R Program to create an S3 Class and S3 Objects.
  • 22. Write an R Program to write a own generic function in S3 Class.
  • 23. Write an R Program to create an S4 Class and S4 Objects.
  • 24. Write an R Program to write a own generic function in S4 Class.
  • 25. Write an R Program to create Reference Class and modify its Methods.

Loading Question Papers

Fetching data from database...