Wednesday 25 July 2012

What was Google's main business motivation for supporting Android? | Android

     A.    To level the playing field for mobile devices
     B.    To directly compete with the iPhone
     C.    To corner the mobile device application market for licensing purposes
     D.    To allow them to advertise more
    Ans: D

As an Android programmer, what version of Android should you use as your minimum development target? | Android


  A. Versions 1.6 or 2.0
  B. Versions 1.0 or 1.1
  C. Versions 1.2 or 1.3
  D. Versions 2.3 or 3.0
        Ans: A

Although most people's first thought when they think of Android is Google, Android is not actually owned by Google. Who owns the Android platform? | Android


  A. Oracle Technology
  B. Dalvik
  C. Open Handset Alliance
  D. The above statement is  and Android is owned by Google

    Ans: C

Android is licensed under which open source licensing license? | Android

A. Gnu's GPL
B. Apache/MIT
C. OSS
D. Sourceforge

Ans: B

Android Multiple Choice Questions and Answers

1.  Android is licensed under which open source licensing license?
2.  Although most people's first thought when they think of Android is Google, Android is not actually owned by Google. Who owns the Android platform?
3.  As an Android programmer, what version of Android should you use as your minimum development target?
4.  What was Google's main business motivation for supporting Android?
5.  What was the first phone released that ran the Android OS?
6.  From a phone manufacturer's point of view, what makes Android so great?
7.  What is a funny fact about the start of Android?
8.  What year was the Open Handset Alliance announced?
9.  A device with Android installed is needed to develop apps for Android.
10.   Android tries hard to ______ low-level components, such as the software stack, with interfaces so that vendor-specific code can be managed easily.
11.  Google licensed some proprietary apps.
12.  What part of the Android platform is open source?
13.  When did Google purchase Android?
14.  Android releases since 1.5 have been given nicknames derived how?
15.  Which one is not a nickname of a version of Andriod?
16.  Android doesn't make any assumptions about a device's screen size, resolution, or chipset.:
17.  Why are the so few users left with versions 1.0 and 1.1?
18.  Which Android version had the greatest share of the market as of January 2011?
19.  Which piece of code used in Android is not open source?
20.  Android is built upon the Java Micro Edition (J2ME. version of Java).
21.  Which among these are NOT a part of Android's native libraries?
22.  Android is based on Linux for the following reason.
23.  What operating system is used as the base of the Android stack?
24.  What year was development on the Dalvik virtual machine started?
25.  What is a key difference with the distribution of apps for Android based devices than other mobile device platform applications?
26. When developing for the Android OS, Java byte code is compiled into what?
27. What does the .apk extension stand for?
28. When you distribute your application commercially,you'll want to sign it with your own key.
29. How does Google check for malicious software in the Android Market?
30. Which of these are not one of the three main components of the APK?
31. What is the name of the program that converts Java byte code into Dalvik byte code?
32. What was the main reason for replacing the Java VM with the Dalvik VM when the project began?
33. Android Applications must be signed.
34. Which of the following are not a component of an APK file?
35. The AWT and Swing libraries have been removed from the Android library set.
36. The R.java file is where you edit the resources for your project.
37. What is contained within the manifest xml file?
38. What is contained within the Layout xml file?
39. The emulated device for android.
40. Your Java source code is what is directly run on the Android device.
41. The Emulator is identical to running a real phone EXCEPT when emulating/simulating what?
42. How is a simulator different from an emulator?
43. The R file is a(an.) generated file
44. An activity can be thought of as corresponding to what?
45. To create an emulator, you need an AVD. What does it stand for?
46. The Android SDK ships with an emulator.
47. The ___________ file specifies the layout of your screen.
48. The manifest explains what the application consists of and glues everything together.
49. The Android Software Development Kit (SDK. is all you need to develop applications for Android.
50. What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable?
51. While developing Android applications, developers can test their apps on...
52. What file is responsible for glueing everthing together , explaining what the applicatin consists of, what its main building blocks are, ext...?
53. The XML file that contains all the text that your application uses.
54. Which of the following is the most "resource hungry" part of dealing with Activities on Android
55. What runs in the background and doesn't have any UI components?
56. What is an Activity?
57. When an activity doesn't exist in memory it is in.
58. Which of the following is NOT a state in the lifecycle of a service?
59. There is no guarantee that an activity will be stopped prior to being destroyed.
60. Intents
61. In an explicit intent, the sender specifies the type of receiver.
62. an implicit intent is the sender specifies the type of receiver?
63. When the activity is not in focus, but still visible on the screen it is in?
64. An activity in a stopped state is doing nothing.
65. Application contexts are independent of the activity life cycle.
66. Services have any user interface components
67. Broadcast receivers are Android’s implementation of a system-wide publish/subscribe mechanism, or more precisely, what design pattern?
68. There can be only one running activity at a given time.
69. YAMBA stands for Yet Another Mobile Banking App.
70. Lists and adapters are more organizational aids than user interface elements in Android.
71. What built-in database is Android shipped with?
72. Creating a UI (User Interface. in Android requires careful use of...
73. A good example app should demonstrate most of the aspects of the application framework that are unique to Android.
74. What will services be used for in the Yamba project?
75. Which answer is not part of the design philosophy talked about in chapter five?
76. App Widgets are can be place on the home screen by the user to check for updates are available?
77. The android OS comes with many useful system services, which include processes you can easily ask for things such as your..
78. What does the Gargenta mean in his Design Philosophy when he says that the project will, "Always be whole and complete"?
79. An Android application is a loose collection of content providers, activities, broadcast receivers, and services.
80. Which of the following is NOT an activity we will be creating for the YAMBA project?
81. The timeline receiver will receive messages from the Android system.
82. Status data will be exposed to the rest of the Android system via:
83. If the UI begins to behave sluggishly or crash while making network calls, this is likely due to...
84. How does Gargenta approach the problem of the app acting sluggishly due to network latency?

Tuesday 10 July 2012

What is use of header() function in php ?


The header() function sends a raw HTTP header to a client.We can use herder() function for redirection of pages. It is important to notice that header() must be called before any actual output is seen.

Monday 9 July 2012

How can we submit a form without a submit button? | PHP


Java script submit() function is used for submit form without submit button on click call document.formname.submit().

What are the differences between Get and post methods. | PHP


There are some deference between GET and POST method
1. GET Method have some limit like only 2Kb data able to send for request
But in POST method unlimited data can we send
2. when we use GET method requested data show in url but
Not in POST method so POST method is good for send sensetive request