Android Interview Questions

1. Types of intent in android?

2. Can we create custom intent in android?if yes and how?

3. What are intent filters ?

4. How to start app service when android device restarts ?

5. How to update database tables without installing app?

6. What is Intent service in android?

7. Types of broadcast receivers ?

8. How to register a Broadcast receiver ?

9. How to send data between fragments ?

10. What is parceable in android ?

11. Methods in parceable ?

12. Difference between parceable and java serialization ?

13. Which is deprecated Fill parent or Match parent ?

14. How to recycle bitmap in android ?

15 . How to compress a bitmap in android ?

16. What is Sticky in android service ?

17. When is OnRestart() called in android activity ?

18.  Name a scenario when onpause in called and on stop isn't ?

19. What is String pool ?

20. What is immutable string and mutable string ?

21. Which method is called before onprogress update inside Async task?

22. Difference between handler and Async Task ?

23. Meaning of Three paramters Passed in Async task when creating a new Async by extending      
     Async task ? 

24. Types of Queries in Sqlite?

25. Difference between Query and Raw Query ?

26. Name 6 Methods of Object class in java ?

27. What is new in RecyclerView android ?

28. What new features are introduced in Lolipop Android ?

29. What the different ways of getting a user location in android?

30. How to restrict a map  to show only area between two lat lng in android ?

31. How to allow  other applications to use data of one application? via content provider

      or share preferences or AIDL ? 

32. Which methodology you use to get data from web services ?

33. Write a Query to update a value in table ?

34. Write a Query to get sum of all salaries given to all departments in Sqlite?

35. What are the different ways available in android to store Data ?

36. Name any 6 exceptions you faced?

37. Difference between Singleton and Static ?

38. What is Singleton class in android?

39. Difference between abstract and interfaces?

40. Difference between function overloading and function overriding?

41. Name any 6 default interfaces in android?

42. Write a query to fetch 2nd highest salary in Sqlite?

43. Write a query to find Nth salary in Sqlite?

44. What is fragmentation in android?

45. How to stop user from taking a screenshot in app?

46. Types of Adapters in android?

47. What is cursor adapter in android?

48. What is difference between array adapter and base adapter?

49. What parameters does onLocationChange method takes in android?

50. How Abstraction is achieved in android?

51. What is Static intializer in java?

52. How to perform something without main method in java?(Suppose to print a line).

53. What are Launch Modes in android explain?

54. Difference between String,String Buffer And String Builder?

55. Explain Life cycle of Android?

56. Is it possible to have try block without catch?

57. Name Any 6 Flags available that we use in intent Android?

58. What is Sticky intent?

59. What is 9 patch image? How it is different from regular image ?

60. What .dex in android?

61. Difference between JVM and DVM ?

62. What is MTU in android?

63. Explain IP Datagram ?

64. What are content providers? 

No comments:

Post a Comment