Loading, please wait ...
Open its course - Android Development

Multiple Choice Questions for Android Apps Communication

  • ×

    Hidden Questions!

    Some MCQs are not visible. Usually teachers hides their visibility if they are few in number. Subject Expert recommends them to have more than 70+ questions against the topic and make them public.

  • 1 Which Android version provides/added a preview option for the contents that you want to share?
    1. Android 8
    2. Android 9
    3. Android 10
    4. None

  • 2 ____________ is designed for sending content outside your app and/or directly to another user.
    1. Android Sharesheet
    2. Intent Resolver
    3. Android Files
    4. None

  • 3 Always include a _____ before invoking an intent to avoid crash.
    1. verification step
    2. encapsulate code in try catch block
    3. Both a & b
    4. None

  • 4 Which of the following creates a web intent for to open url "http://www.android.com" in the browser.
    1. Uri webrequest = Uri.parse("http://www.android.com");
    2. Intent webIntent = new Intent(Intent.ACTION_VIEW, "http://www.android.com");
    3. Intent webIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.android.com"));
    4. Intent webIntent = new Uri(Intent.ACTION_VIEW, Intent.parse("http://www.android.com"));

  • 5 Which method of "FileProvider" component class can generate file's content URI?
    1. uriForFile()
    2. getUriForFile()
    3. FileURI()
    4. getUri()

  • 6 Which of the following is the best way to send content outside your app and/or directly to another user.
    1. Broadcast Receiver
    2. Android Sharesheet
    3. Intent Resolver
    4. SMS Or Email

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn, Evaluate and Optimize

Follow Us
Facebook Switch Display Mode Enable Translation
© 2024 - Subject Expert