DeliteAI Agents Android Example¶
Example Android app demonstrating the Notifications Summarizer Agent integration.
Agents integrated in the Example App¶
Agent |
README |
---|---|
Notifications Summarizer |
Setup¶
Add Credentials in Code Open
app/src/main/java/dev/deliteai/examples/App.kt
and replace the placeholder values in theNimbleNetConfig
block (YOUR_CLIENT_ID
,YOUR_HOST
,YOUR_CLIENT_SECRET
) with your own credentials.Open in Android Studio
cd deliteAI/agents/examples/android
Open this directory in Android Studio.
Sync and Build Let Gradle sync, then build the project.
Running the App¶
Open agents/examples/android in Android Studio
Connect device or start emulator
Click Run button
First Launch¶
Grant Notification Access: App will prompt for notification access permission
Optional: Disable battery optimization for reliable background processing
SDK Auto-initializes: App automatically sets up DeliteAI SDK and agent
Features¶
The app demonstrates:
Schedule: Schedules summary job for 10 seconds later
Summarize Current: Gets summary of active notifications
By ID: Retrieves specific summary by ID
Today/Last 7 Days: Historical summary retrieval
Expected Output¶
Overview: You received 5 notifications today from messaging apps.
Urgent Notifications:
📱 WhatsApp: Meeting reminder message
App-Wise Summary:
com.whatsapp
Meeting reminder message.
Group chat has 2 new messages.