postheadericon GTU Mobile Computing - 4649303 Practical Solution



GUJARAT TECHNOLOGICAL UNIVERSITY’S
Syllabus for Master of Computer Applications, 4th Semester
Subject Name: Mobile Computing (MC)
Subject Code: 4649303
With effective from academic year 2018-19

Practical Solution

1. Installing "Android Studio IDE" and "Android SDK"  [ Download Example ]

2. Write your First Android App [ Download Example ]



3. Create “Hello World” application. That will display “Hello World” in the middle of the screen in the red color with white background. [ Download Example ]

4. Create an application that designs a layout with a text box and button named Submit. The user should enter the text in the text box. When the submit button is clicked then the text in the text box should be displayed in the toast. [ Download Example ]

5. Create an application to demonstrate Android Activity Life Cycle. [ Download Example ]

6. To understand Activity,Intent Create sample application with login module.(Check username and password) On successful login, go to next screen. And on failing login, alert user using Toast. Also pass username to next screen. [ Download Example ]

7. Create an application that designs a layout having two text boxes user name and password. The user and password will be taken from the user. The username and password will be verified from the username and password stored in the resources folder. If the verification is successful then a new layout will appear which will open any URL in browser. [ Download Example ]

8. Create an application to call specific entered number by user in the Edit Text [ Download Example ]

9. Create an application that will show List of Countries in One fragment , and on selecting one country, second fragment should be displayed with name selected country and its flag. [ Download Example ]

10. Understanding of UI : [ Download Example ]
a. Create an UI such that, one fragment of screen have list of all the types of cars.
b. On selecting of any car name, second fragment of screen should show Car details Like: name, launched date, company name, images (using gallery) if available, show different colors in which it is available.

11. Android Program to Perform all Operations using Calculators [ Download Example ]

12. Understand resource folder & Adapter : [ Download Example ]
a. Create spinner with strings taken from resource folder (res >> value folder).
b. On changing spinner value, change image.

13. Create an application that parses given XML File. [ Download Example ]

14. Create an application that parses given JSON File. [ Download Example ]  

15. Create an application that fetches foreground and background colors from User. Save it as preference. On the next screen change background color and font color based on values passed by user. If no preferences are set then use Black and White as default background and foreground color respectively. [ Download Example ]

16. Create an application that designs a layout having two text boxes user name and password. The user and password will be taken from the user. The username and password will be verified from database. If the verification is successful then a new layout will appear which will contain text "Welcome ,<UserName>" otherwise displays error message. [ Download Example ]

17. Create an application that will create database with country table( Country short Name ( IND), Name). Create an application to make Insert, update, Delete and retrieve operation on the database. [ Download Example ]

18. Understanding content providers and permissions: Read phonebook contacts using content providers and display in list. [ Download Example ]

19. Android Program to Demonstrate Layouts in an Activity and Nesting of Layouts and Demonstrate List View Activity  [ Download Example ]

20. Create application that works like an alarm. [ Download Example ]

21. Understand Menu option and Context Menu : Create an application that will change color of the screen, based on selected options from the menu. [ Download Example ]

22. Create an application that will have spinner with list of animation names. On selecting animation name, that animation should affect on the images displayed below. [ Download Example ]

23. Android Program to Demonstrate an Adapter and Advanced Adapter. [ Download Example ]

24. Android Program to Demonstrate Broadcast Receiver, Broadcast Receiver to Intercept Custom Intent, Pending Intent, OrderedBroadcast. [ Download Example ]

25. Android Program to Demonstrate Intent Filter, Local Broadcast Manager, to Monitoring Device State Changes Using Broadcast Intents. [ Download Example ]

26. Android Program to Open an Internet Data Stream. [ Download Example ]

27. Android Program to Parse Xml Using Xml Pull Parser, Parse Xml Using Dom Parser. [ Download Example ]

28. Android to demonstrate Download Manager in Android, Android Program to Demonstrate Connection to an Internet Resource. [ Download Example ]

29. Android Program to Demonstrate Creating and Saving Shared Preferences and Demonstrate Preference Screen and Sub-screen in a Preference Screen and Intent in Preference Screen. [ Download Example ]

30. Android Program to Demonstrate Preference Fragment, Preference Headers Preference Activity. [ Download Example ]

31. Android Program to Demonstrate Reading a File on SD Card, Reading and Writing to a File in Android and Instance Save State. [ Download Example ]

32. Create an application that will play a media file from the memory card. [ Download Example ]

33. Create an application to take picture using native application. [ Download Example ]

34. Create an application to pick up any image from the native application gallery and display it on the screen. [ Download Example ]

35. Read messages from the mobile and display it on the screen. [ Download Example ]

36. Create an application to send message between two emulators. [ Download Example ]

37. Android Program to Demonstrate Action Bar in Android, Disable the Action Bar in an Activity, Hide Title Label of Action Bar in Android, Add Actions in Action Bar, Respond to Added Actions in Action Bar in Android, Change the Displayed Text alongside the Application Icon at Runtime, Change the Background of Action Bar in Android. [ Download Example ]

38. Android Program to Demonstrate Shape Drawables, Gradient Drawables, Radial Gradient, Sweep Gradient in Android. [ Download Example ]

39. Create an application that designs a layout having a rating bar. Whenever user gives the rating then a dialog box should appear with a message and button OK. The message in the rating bar should be displayed (e.g.: 1.5 rating selected) ‘You have given 1.5 Rating’. When button OK is pressed than the dialog box should disappear. [ Download Example ]

40. Create an application that designs a layout to take contact label (name) and phone no from the user and store in the contacts using content provider. Also design a layout to read phone contacts stored using content provider and display contact label (name) in list view. When the user selects any contact label (name) from the list view dialer application should be launched and call should be made using dialer application. [ Download Example ]

41. Create an application that designs a layout with spinner and an image view. The spinner should contain various shapes like circle, rectangle and rounded rectangle. When a shape is selected from the spinner that shape should be drawn in the image view. (Hint: Use shape Drawable or xml files for shapes on image view) [ Download Example ]

42. Create an application that designs a layout containing a list view having options: [ Download Example ]
a. Create File: By clicking on first option Create file a new layout should be displayed having two text boxes file name and file data and one button save. Both file name and data of the file should be entered by the user and on clicking save the file should be saved and proper message should be displayed on saving a file.
b. Delete File: By clicking on second option delete file a new layout should be displayed having one text box file name and one button delete. The file name should be entered by the user and on clicking delete the file should be deleted and proper message should be displayed on deleting a file.
c. Display File: By clicking on third option display file a new layout should be displayed having one text box for file name and one text view for file data and one button display. The file name should be entered by the user and on clicking the display button the contents of the file should be displayed in text view.

43. Create an application that designs a layout with 3 text boxes and an options menu. The options menu should contain options like Simple Interest and compound Interest. The text boxes should be used for the input of information like the principle amount, rate of interest and number of years. Then clicking on the option from menu appropriate operation should be performed and correct result should be displayed. [ Download Example ]

44. Create an application that designs a layout having text boxes and button submit. The details of doctor like doctor’s first name, last name, mobile number, address, city and specialization should be entered by the user in the textboxes and on clicking on the button submit the data should be saved into the database. Create another layout that contains a text box, a button search and a text view that gives searching facility. User can search doctor’s full information by providing doctor’s name in the text box. On clicking on button search the information of the doctor should be displayed in text view. Doc_detail (doc_id, firstname, lastname, mob, add, city, specialization) [ Download Example ]

45. Create an application that designs a layout with a list view and fetches the audio files stored in the SD Card. The names of the Audio files should be displayed in the list view. When the user clicks on the specific file name the title and duration of the audio should be displayed in the next layout. [ Download Example ]

46. Create an application that designs a layout having gallery of images and an image view. The gallery contains number of images. Whenever an image is selected from the gallery it should be displayed in the image view. The images should be fetched from the resources folder. (You can take any readymade image available or you can create your own) [ Download Example ]

47. Create an application that designs a layout having options menu and 2 text boxes for currency converter which allows user to select a particular conversion from following options.
a. Rupees to dollars
b. dollars to Rupees
c. Rupees to pound
d. Pound to Rupees
e. The data for conversion should be entered by the user in textbox. Then clicking on the option from menu appropriate operation should be performed and correct result should be displayed. [ Download Example ]

48. Create an application that designs a layout which provides field for enrollment number (text box), student’s name (text box), course (radio buttons), semester (radio buttons)) and marks for sub1 (text box), sub2 (text box), sub3 (text box) and a button name submit. When user clicks on submit button data should be added to database. Design a layout which displays current record and previously added record in a tabular manner. Total should be calculated automatically and then stored into the database. [ Download Example ] 

49. Create an application that designs a layout having a list view having two options: [ Download Example ]
1. Add contacts: On selection of the first option a new layout should be displayed containing two text boxes name and phone no and a button save. The name and phone no should be entered by the user and on clicking the save button the contact should be saved in the contacts directory and appropriate message should be displayed.
2. Display contacts: On selection of second option display contacts a new layout should be displayed with list view and all the names from the contacts should be fetched and displayed in the list view. (Hint: Use Contacts Contract Content Provider).

50. Create an application that designs a layout of a student registration form. The layout should contain fields like first name, last name, phone no, date of birth (use date control) gender (use radio buttons), hobbies (use check boxes) and a button register. On clicking register an alert dialog box should appear with a message “do you want to register” and with two buttons yes or no. If yes is clicked then a new layout should appear where all the entered details should be displayed and also calculate the age (in years only) of the student and display it. If no is clicked than the alert dialog box should disappear. [ Download Example ]

51. Create an application that designs a layout for making an Admission Form. The layout should contain details like student enrollment no (textbox), Sem (spinner), Course (spinner), Date (date control), DOB (Date picker), SSC marks (textbox), HSC Marks (spinner), CMAT Score (Textbox) and a button named Submit. When the button submit is clicked than a new layout should be opened that displays all the student details as a summary and also display Merit Score. Merit Score should be calculated when the submit button is clicked.Merit score = Average of (SSC marks, HSC Marks, CMAT score) [ Download Example ]

52. Create an application that designs a layout to store Result Details for MCA. The layout must contain details like name (textbox), Sem 1 Marks(spinner), Sem 2 Marks(spinner), Sem 3 Marks(spinner) , Sem 4 Marks(spinner), Sem 5 Marks(spinner) , Sem 6 Marks(spinner) and a Button named Submit.Note: Marks must be from (AA, AB, BB, BC, CC and FF) When the submit button is selected all the details should be saved in the database. Also provide a layout to perform the following operations:a. Update the Marks /grade. b. Search the Students on basis of his marks / grade. [ Download Example ]

53. Create an application that designs a layout to store Student Details. The layout should contain information like: Roll number (textbox), Name (textbox), Birth date (Date Picker), Marks1 (textbox), Marks2 (textbox), Marks3 (textbox) and button submit. When button submit is clicked than all the details must be saved in the database. Also percentage and total should be calculated automatically and saved into the database. Also design a layout to perform following operations:a. Update Any student’s marks b. Search the student details by roll no c. Delete any student by roll no  [ Download Example ]

54. Create an application to implement shopping cart. [ Download Example ]

55. Create an application to provide feedback using text and rating( do not use text box). [ Download Example ]

3 comments:

Memelegger said...

thank you so much for this material hope you provide more material

chitra said...

Hello Sir, how can I contact you

Huongkv said...

Đặt vé máy bay tại Aivivu, tham khảo

kinh nghiệm mua vé máy bay đi Mỹ giá rẻ

vé máy bay từ mỹ đi việt nam

giá thuê máy bay từ anh về việt nam

chuyến bay từ paris về hà nội

Total Pageviews

© BipinRupadiya.com. Powered by Blogger.