| name | search_google_photos | |
|---|---|---|
| description | Searches the user's Google Photos library using the system's Search Activity Alias. | |
| tools |
|
This skill triggers the native search interface of Google Photos to find specific people, objects, or locations.
| import android.content.Context | |
| import android.content.res.Resources | |
| import android.util.Log | |
| import com.github.medavox.ipa_transcribers.Language | |
| import java.io.IOException | |
| class KokoroPhonemeConverter(context: Context) { | |
| private val phonemeMap = mutableMapOf<String, String>() | |
| init { |
| import android.media.AudioAttributes | |
| import android.media.AudioFormat | |
| import android.media.AudioTrack | |
| import java.nio.ByteBuffer | |
| import java.nio.ByteOrder | |
| private const val SAMPLE_RATE = 22050 | |
| private const val PCM_WRITE_BUFFER_SIZE = 4096 | |
| fun playKokoroAudio(audioData: FloatArray) { |
| from mcp.server.fastmcp import FastMCP | |
| import subprocess | |
| # Create an MCP server | |
| mcp = FastMCP("ADB MCP") | |
| @mcp.tool() | |
| def get_devices() -> str: | |
| """Get the list of Android devices connected to the laptop""" |
| import asyncio | |
| import os | |
| from mcp_use import MCPAgent, MCPClient | |
| from langchain_anthropic import ChatAnthropic | |
| from langchain_openai import ChatOpenAI | |
| from langchain_google_genai import ChatGoogleGenerativeAI | |
| async def main(): | |
| print("hello!") | |
| config = { |
| @Composable | |
| fun MainScreen(viewModel: ViewModel) { | |
| val cameraIntent = Intent(MediaStore.ACTION_IMAGE_CAPTURE) | |
| var bitmap by remember { mutableStateOf<Bitmap?>(null) } | |
| val textResponse by viewModel.textGenerated.observeAsState() | |
| val isGenerating by viewModel.isGenerating.observeAsState(false) | |
| // Get your image | |
| val resultLauncher = | |
| rememberLauncherForActivityResult(ActivityResultContracts.StartActivityForResult()) { result: ActivityResult -> |
| adb shell settings put global sysui_demo_allowed 1 |
| #!/bin/sh | |
| set -e | |
| # Get the current branch name. | |
| branch=`git rev-parse --abbrev-ref HEAD` | |
| # Determine the commit at which the current branch diverged. | |
| ancestor=`git merge-base master HEAD` | |
| # Stash any uncommited, changed files. | |
| git stash --all | |
| # Revert the branch back to the ancestor SHA. |
| <permission | |
| android:name="your.package.name.permission.BLA" | |
| tools:node="remove"/> |
| Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=your.package.name.permission.BLA pkg=your.package.name] |