SuperAPI AI Directory

android-platform-core

Coding & development

View repository

Updated 10-15 21:40

About this skill

Android Platform Core Reference

A skill covering the main APIs of the Android platform official documentation (app components / manifest / permissions / notifications / system UI / Glance). Depending on the user's task, read the appropriate README.md and follow it to the individual files.

Directory structure

skills/android-platform-core/
  SKILL.md
  references/
    app-components/
      README.md
      activity-lifecycle.md
      activity-result-contracts.md
      activity.md
      app-components-overview.md
      app-process-priority.md
      application-class.md
      background-activity-launch.md
      common-intents.md
      component-activity-compose.md
      configuration-changes.md
      content-provider-basics.md
      content-provider-creating.md
      intent-filters.md
      intent.md
      package-visibility.md
      parcelables-and-bundles.md
      tasks-and-back-stack.md
    manifest-resources/
      README.md
      action-category-data-elements.md
      activity-alias-element.md
      activity-element.md
      adaptive-icons.md
      application-element.md
      compose-resource-access.md
      drawable-resources.md
      grant-uri-permission-element.md
      instrumentation-element.md
      localization-rtl.md
      manifest-element.md
      manifest-merging.md
      manifest-structure.md
      meta-data-element.md
      permission-element.md
      property-element.md
      provider-element.md
      queries-element.md
      receiver-element.md
      resource-directories.md
      resource-naming-compression.md
      resource-qualifiers.md
      service-element.md
      string-resources.md
      style-theme-resources.md
      supports-screens-element.md
      uri-relative-filter-group-element.md
      uses-feature-element.md
      uses-library-element.md
      uses-permission-element.md
      uses-sdk-element.md
      value-resources.md
    permissions-privacy/
      README.md
      permission-types-and-protection-levels.md
      declaring-permissions.md
      defining-custom-permissions.md
      requesting-runtime-permissions.md
      requesting-permissions-in-compose.md
      evaluating-permission-need.md
      explaining-permission-access.md
      permission-groups-and-one-time-permission.md
      default-handler-permissions.md
      automatic-permission-reset.md
      special-permissions-overview.md
      system-alert-window.md
      manage-external-storage.md
      post-notifications-permission.md
      location-permissions.md
      location-button.md
      media-permissions.md
      nearby-devices-permissions.md
      restrict-interactions-with-other-apps.md
      data-safety-and-privacy-policy.md
      advertising-and-app-set-id.md
    notifications/
      README.md
      custom-notification.md
      expanded-notifications.md
      full-screen-intent.md
      live-update.md
      metric-style.md
      notification-actions.md
      notification-badges.md
      notification-builder.md
      notification-channels.md
      notification-groups.md
      notification-manager.md
      notification-navigation.md
      notification-permission.md
      notification-progress.md
      promoted-notifications.md
    system-ui/
      README.md
      window-insets.md
      window-insets-modifiers.md
      material3-insets.md
      edge-to-edge.md
      system-bar-appearance.md
      display-cutout.md
      picture-in-picture.md
      pip-setup.md
      app-shortcuts.md
      creating-shortcuts.md
      adaptive-icons.md
      splash-screen.md
      dark-theme.md
      keep-screen-on.md
    glance-widgets/
      README.md
      actions.md
      button.md
      composition-locals.md
      error-handling.md
      generated-previews.md
      glance-app-widget.md
      glance-app-widget-receiver.md
      glance-modifier.md
      glance-theme.md
      image.md
      layout-containers.md
      lazy-lists.md
      metrics.md
      multi-process-glance-app-widget.md
      pin-in-app.md
      progress-indicators.md
      remoteviews-interop.md
      remoteviews-legacy.md
      scaffold-titlebar.md
      size-modes.md
      state-management.md
      testing.md
      text.md
      toggle-controls.md
      widget-configuration.md
      widget-updates.md

glance-widgets は androidx.glance API, and mobile Compose (androidx.compose) is a separate API lineage from (the same-named Text / Image / Button even has a different signature).

Exploration procedure

Derive the category from the task, and identify the target page in the category's README.md:

  1. Find the category corresponding to the task in the mapping table below
  2. For that category, references/{category}/README.md identify the target page by referring to
  3. the target page's .md Read to check the details

Task → Category Mapping

Task Category Reference README
Want to handle the Activity lifecycle and creation/destruction app-components references/app-components/README.md
Want to do screen transitions and result passing with Intent / IntentFilter / ActivityResultContracts app-components references/app-components/README.md
Want to understand tasks and the back stack, configuration changes, and the Application class app-components references/app-components/README.md
Want to implement and use ContentProvider app-components references/app-components/README.md
Want to configure AndroidManifest.xml elements and manifest merging manifest-resources references/manifest-resources/README.md
Want to define resource directories, qualifiers, and strings/colors/styles/drawable manifest-resources references/manifest-resources/README.md
Want to do localization and RTL support manifest-resources references/manifest-resources/README.md
Want to request runtime permissions and special permissions permissions-privacy references/permissions-privacy/README.md
Want to handle location, media, and notification permissions permissions-privacy references/permissions-privacy/README.md
Want to handle package visibility and privacy policy compliance permissions-privacy references/permissions-privacy/README.md
Want to build notifications with NotificationCompat / notification channels notifications references/notifications/README.md
Want to use notification actions, expanded styles, grouping, and full-screen intents notifications references/notifications/README.md
Want to support WindowInsets, edge-to-edge, and display cutouts system-ui references/system-ui/README.md
Want to handle Picture-in-Picture, shortcuts, splash screens, and dark theme system-ui references/system-ui/README.md
Want to create app widgets with Glance glance-widgets references/glance-widgets/README.md
Want to implement widget configuration screens, state saving, and update triggers glance-widgets references/glance-widgets/README.md
Want to handle Glance testing, preview generation, and error handling glance-widgets references/glance-widgets/README.md

Service / BroadcastReceiver は android-background-work, deep links and predictive back are handled by android-navigation, file/MediaStore is android-data、Compose の UI は android-compose-ui / android-compose-components .