On an android device, a third-party file manager utility is required to manipulate files.

On an android device, a third-party file manager utility is required to manipulate files.

1.Inageneralsense,____________referstoallthenon-hardwarecomponentsofadigitaldevice.

ANSWER:software

2.Whatarethemainsoftwarecategories?

a.System,OpenSource,andDevelopment

b.Application,Shareware,andSystem

c.System,Development,andApplication

d.Demoware,System,Development

ANSWER:c

3.Whichcategoryofsoftwarewouldprogramminglanguagesfallinto?

a.Systemsoftware

b.DevelopmentSoftware

c.Applicationsoftware

d.Alloftheabove

ANSWER:b

4.Thereisauniversalstandardforcategorizingsoftwareandvariouscategorizationschemeshavefewsimilarities.

a.True

b.False

ANSWER:False

5.Mobiledevicestendtobepopulatedbyentertainmentapps,games,andsocialmediaservices.

a.True

b.False

ANSWER:True

6.Desktopandlaptopcomputersrequireanoperatingsystemwithafile__________systemthatallowsuserstoview

andmanipulatedatafiles.

ANSWER:management

7.Whichofthefollowingwouldbeconsideredessentialsoftwareforbothlaptopcomputersandatabletcomputer?

a.Wordprocessor

b.VoIPclient

c.Officesuite

d.Browser

ANSWER:d

CopyrightCengageLearning. PoweredbyCognero.Page1

Name:Class:Date:

Unit06Software

Stay organized with collections Save and categorize content based on your preferences.

The majority of apps that require shared storage access can follow the best practices for sharing media files and sharing non-media files. However, some apps have a core use case that requires broad access of files on a device, but cannot do so efficiently using the privacy-friendly storage best practices. Android provides a special app access called All files access for these situations.

For example, an anti-virus app's primary use case might require regular scanning of many files across different directories. If this scanning requires repeated user interactions to select directories using the system file picker, it may provide a poor user experience. Other use cases—such as file manager apps, backup and restore apps, and document management apps—may require similar considerations.

Request All files access

An app can request All files access from the user by doing the following:

  1. Declare the MANAGE_EXTERNAL_STORAGE permission in the manifest.
  2. Use the ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION intent action to direct users to a system settings page where they can enable the following option for your app: Allow access to manage all files.

To determine whether your app has been granted the MANAGE_EXTERNAL_STORAGE permission, call Environment.isExternalStorageManager().

Operations that MANAGE_EXTERNAL_STORAGE allows

The MANAGE_EXTERNAL_STORAGE permission grants the following:

  • Read and write access to all files within shared storage.

  • Access to the contents of the MediaStore.Files table.

  • Access to the root directory of both the USB on-the-go (OTG) drive and the SD card.

  • Write access to all internal storage directories⁠, except for /Android/data/, /sdcard/Android, and most subdirectories of /sdcard/Android. This write access includes direct file path access.

    Apps that are granted this permission still cannot access the app-specific directories that belong to other apps because these directories appear as subdirectories of Android/data/ on a storage volume.

When an app has the MANAGE_EXTERNAL_STORAGE permission, it can access these additional files and directories using either the MediaStore API or direct file paths. When you use the Storage Access Framework, however, you can only access a file or directory if you could do so without having the MANAGE_EXTERNAL_STORAGE permission.

Invoke another app's storage management activity

On Android 12 (API level 31) and higher, apps that have both the MANAGE_EXTERNAL_STORAGE permission and the QUERY_ALL_PACKAGES permission—such as file management apps—can use the getManageSpaceActivityIntent() to send users to another app's custom space management activity.

The getManageSpaceActivityIntent() method takes in a package name and a request code, and it returns one of the following:

  • A PendingIntent, if the app with the specified package name has defined a custom "manage space" activity. The file management app that called the getManageSpaceActivityIntent() method can then invoke the returned intent to send users to the custom activity.
  • null, if the app with the specified package name doesn't define a "manage space" activity.

Enable MANAGE_EXTERNAL_STORAGE for testing

To explore how the MANAGE_EXTERNAL_STORAGE permission affects your app, you can enable the permission for testing purposes. To do so, run the following command on the machine that's connected to your test device:

adb shell appops set --uid PACKAGE_NAME MANAGE_EXTERNAL_STORAGE allow

Google Play notice

This section provides a notice for developers who publish apps on Google Play.

To limit broad access to shared storage, the Google Play store has updated its policy to evaluate apps that target Android 11 (API level 30) or higher and request "All files access" through the MANAGE_EXTERNAL_STORAGE permission. This policy takes effect in May 2021.

When your app targets Android 11 or higher, and it declares the MANAGE_EXTERNAL_STORAGE permission, Android Studio shows the lint warning that appears in figure 1. This warning reminds you that "the Google Play store has a policy that limits usage of" the permission.

Figure 1. Lint warning in Android Studio that reminds you about the Google Play policy regarding the MANAGE_EXTERNAL_STORAGE permission.

You should request the MANAGE_EXTERNAL_STORAGE permission only when your app cannot effectively make use of the more privacy-friendly APIs, such as Storage Access Framework or the Media Store API. Additionally, the app's usage of the permission must fall within permitted uses, and must be directly tied to the core functionality of the app. If your app includes a use case that's similar to the following examples, it's likely to be allowed to request the MANAGE_EXTERNAL_STORAGE permission:

  • File managers
  • Backup and restore apps
  • Anti-virus apps
  • Document management apps
  • On-device file search
  • Disk and file encryption
  • Device-to-device data migration

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2022-10-14 UTC.

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }] [{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]

Which type of software must include the source code which allows programmers to modify?

Open source software is software with source code that anyone can inspect, modify, and enhance. "Source code" is the part of software that most computer users don't ever see; it's the code computer programmers can manipulate to change how a piece of software—a "program" or "application"—works.

When saving a file you must provide a valid file name that adheres to specific rules referred to as ?

When saving a file, you must provide a valid file name that adheres to specific rules, referred to as file-naming conventions.

What are the main software categories?

The two main categories of software are application software and system software.

Which of the following is not considered as an operating system?

The correct answer is BIOS. BIOS is not a computer operating system. It is a program that is used by a computer's microprocessor to start the computer system after it is powered on.