Android 16 新功能:Apps 可阻止 AI 生成文字

Ai




Android 16將允許應用程式屏蔽AI寫作工具

簡介
Android 16推出了一個新的WritingTools API,讓應用程式可以決定是否允許使用AI生成的文本。當用戶在某些文本框中輸入文本時,應用程式可能希望禁用AI寫作工具。

最近,Google推出了Android 16的第二個開發者預覽版本,這次更新為平台引入了許多新的開發者功能,例如更好的應用控制觸覺反饋、在照片選擇器中支持雲端媒體項目的搜索、適應性刷新率API等。與往常一樣,這次更新還包括了一些Google未在公告中強調的變更,其中一個最新的變化是新的Writing Tools API,似乎允許應用程式選擇不讓AI為用戶重寫文本。

在深入研究Android 16 DP2的文檔時,我們注意到Google在EditorInfo類中記錄了兩個新方法:isWritingToolsEnabled()和setWritingToolsEnabled()。EditorInfo類基本上讓應用程式可以向當前輸入法(即Android鍵盤應用)傳遞有關可編輯文本框的信息(例如它所包含的文本內容類型)。

新的isWritingToolsEnabled()方法在啟用AI寫作工具的情況下返回true,這些工具在所有文本框中默認啟用。文檔指出,“工具包可以選擇在不相關的情況下禁用[AI寫作工具],例如密碼、數字輸入等。”

AI寫作工具的應用
新的setWritingToolsEnabled()方法的文檔解釋了應用程式如何使用它來選擇不使用生成式AI重寫文本。

一些鍵盤應用程序,如Gboard,擁有AI寫作工具,可以幫助您校對或重寫文本,這些工具可以使用設備內部或基於雲端的生成AI模型。例如,Gboard在某些Pixel設備上提供校對選項,可以幫助更正您輸入、粘貼或口述的文本中的拼寫、語法和標點符號。

大多數應用程式在大多數文本框中應該沒有理由選擇不使用AI寫作工具,但某些應用程式可能希望指示當前鍵盤應用在某些情況下不允許使用這些工具。例如,在輸入電子郵件地址、密碼或電話號碼的字段中,使用AI寫作工具來替換文本並不合適。

雖然Gboard在專注於數字或密碼字段時已經隱藏了大多數不相關的選項,但其他一些鍵盤應用可能不會這樣,這似乎是這個新的Writing Tools API背後的邏輯。無論如何,鍵盤應用將有責任尊重這個新的API。即使它們這樣做,繞過這個限制似乎也非常容易,因為用戶可以在其他應用中生成文本,然後將其插入到應該被屏蔽的文本框中。

我們仍在深入研究Android 16開發者預覽版2,以了解更多新功能,因此請繼續關注Android Authority的報導。

評論與反思
Android 16的這一更新顯示了科技行業對AI技術的日益關注,尤其是在文本生成和處理方面。AI寫作工具的普及雖然能提高效率,但在某些情況下卻可能帶來安全隱患,特別是在涉及敏感信息的輸入時。這個新的API不僅是對用戶需求的回應,也是對數據保護和隱私的重視。未來,如何平衡AI技術的便利性與用戶的安全性將成為開發者需要面對的重要課題。

以上文章由特價GPT API KEY所翻譯及撰寫。而圖片則由FLUX根據內容自動生成。

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

🎨 Nano Banana Pro 圖像生成器|打幾句說話就出圖

想畫人像、產品圖、插畫?SSFuture 圖像生成器支援 Flux Gemini Nano Banana Pro 改圖 / 合成, 打廣東話都得,仲可以沿用上一張圖繼續微調。

🆓 Flux 模型即玩,不用登入
🤖 登入後解鎖 Gemini 改圖
📷 支援上載參考圖再生成
⚡ 每天免費額度任你玩
✨ 即刻玩 AI 畫圖
Photorealistic recreation of the iconic grocery shopping scene from Home Alone, set on a snowy winter street in New York City with yellow taxis, steam rising from manholes, holiday lights on buildings, and pedestrians in the background. In the foreground, a man (his face is 100% same as the uploaded photo), smile gently, wearing a white sweater and a light beige scarf around his neck, is taking a selfie-style close-up photo. Behind him and slightly to the right, a young boy (recreated exactly like Kevin McCallister from Home Alone) with short blonde hair, wide-eyed surprised expression, wearing a red knit hat, red scarf, beige coat, gray gloves, holding two full plastic grocery bags (one with oranges visible, the other with a carton of milk and cereal boxes). The boy is standing on the snowy sidewalk looking shocked. Cinematic lighting, cold winter atmosphere, high detail, sharp focus, realistic textures on clothing and snow, film still style from 1990s holiday movie. [Subject]: Young Asian female with "Imada Mio-inspired" doll-like aesthetic (精緻洋娃娃臉). She has large round expressive eyes, a small V-line face, and rosy cheeks. Her expression is innocent, energetic, and slightly flirty. [Hair]: Messy morning hair (剛睡醒的凌亂感), long dark brown hair, slightly tousled, natural volume. [Outfit]: Wearing an oversized translucent white button-down shirt (男友風白襯衫), unbuttoned at the top to reveal collarbones, creating a "bottomless" look (下衣失蹤風格). [Style]: Japanese Gravure Photobook style (寫真集風格), Pure & Sexy vibe, bright high-key lighting, soft skin texture, Fujifilm PRO 400H color tone. Generate an ultra-realistic, highly ultra-detailed, 8k resolution with 1080x1080 pixel portrait of me using the uploaded image for reference (preserved the likeness and the original face for reference) of a striking, high-resolution portrait of a young woman with long, flowing wavy brunette hair, seated gracefully on a simple black wooden chair in a dimly lit studio. She wears an oversized, off-white knitted sweater that drapes loosely over her frame, slipping off one shoulder to reveal smooth skin and add a subtle touch of sensuality. Her pose is elegant and contemplative: one arm rests gently on the chair’s backrest while her hand delicately supports her chin, and her gaze is directed thoughtfully toward the side, creating an intimate and introspective mood. The lighting is expertly crafted with a single soft, directional light source positioned to the side, casting gentle shadows that sculpt her form and highlight the texture of the knitwear and the natural contours of her legs and arms. This chiaroscuro effect enhances the depth and dimensionality of the image, emphasizing the softness of her skin and the intricate weave of the sweater. The background is a smooth, muted dark gray, providing a minimalist and distraction-free backdrop that contrasts beautifully with her light-colored apparel and warm skin tones. *** The composition is a full-body vertical frame that captures the model’s seated posture with perfect balance, positioning her slightly off-center to create visual interest and harmony. The overall color palette is subdued and warm, featuring neutral tones that evoke a sense of calm and understated elegance. The image is impeccably sharp, showcasing fine details such as the delicate waves of her hair, the subtle folds in the fabric, and the natural texture of her skin. The style is classic and timeless, blending modern minimalism with emotive portraiture to convey quiet strength, beauty, and introspection.