Skip to content

android/appfunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AppFunctions Samples

This repository contains Android sample code demonstrating the usage of AppFunctions to provide application functionality to system services and agents.

Samples

ChatApp

The ChatApp sample showcases how a communication app can provide its core features to the Android intelligence system. It is a functional chat application built with Jetpack Compose and Hilt.

  • Location: ChatApp
  • Features: Sending messages, searching contacts, and initiating calls via AppFunctions.

Setup Guide

Follow these steps to explore and run the samples:

  1. Prerequisites:
    • Android Studio.
    • Android SDK 36+.
    • A device or emulator running Android 16 (API 36) or higher.
  2. Clone the Repository:
    git clone https://github.com/android/appfunctions.git
  3. Open in Android Studio:
    • Open Android Studio and select Open.
    • Navigate to the specific sample directory (e.g., ChatApp and click OK.
  4. Sync and Build: Wait for the Gradle sync to complete and build the project (Build > Make Project).
  5. Run: Click Run > Run 'app' to deploy the sample to your device.

Contributing

We'd love to accept your patches and contributions!

  • Contributor License Agreement (CLA): All contributors must sign the Google CLA.
  • Code Style: We use Spotless to maintain consistent formatting. Run ./gradlew spotlessApply before committing.
  • Testing: Ensure all new functionality is covered by unit or instrumentation tests.
  • Reviews: All submissions are reviewed via GitHub Pull Requests.

See CONTRIBUTING.md for more detailed information.

Resources


License: Apache 2.0. See LICENSE for details.

About

Android AppFunctions samples

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages