You can retrieve application resources using which method of the application Context?

a. detectProperties()

b. getResources()

c. getAssets()

d. getAppResources()


c. getAssets() - You can retrieve application resources using the getAssets() method of the application Context. This returns an AssetManager (android.content.res.AssetManager) instance that can then be used to open a specific asset by its name.

Computer Science & Information Technology

You might also like to view...

Where do you choose a name for a new brush?

A. New Brush dialog box B. Name dialog box C. Art Brush Options dialog box D. Brush dialog box

Computer Science & Information Technology

With the chart selected, click the ____________________ button to format a chart with an attractive style.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

?Which of the following properties prevents the spanning of content across all the columns?

A. ?column-span: all; B. ?column-span: none; C. ?column-span: initial; D. ?column-span: inherit;

Computer Science & Information Technology

A wireless bridge can be used to connect two or more LANs together. Which of the following are benefits of using a wireless bridge over a leased line from a service provider?

Computer Science & Information Technology