<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Android on KnightLi Blog</title>
        <link>https://www.knightli.com/en/tags/android/</link>
        <description>Recent content in Android on KnightLi Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <lastBuildDate>Wed, 08 Apr 2026 17:55:53 +0800</lastBuildDate><atom:link href="https://www.knightli.com/en/tags/android/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>How to Install and Run Gemma 4 on Android: Complete Getting-Started Guide</title>
        <link>https://www.knightli.com/en/2026/04/08/android-gemma4-install-run-guide/</link>
        <pubDate>Wed, 08 Apr 2026 17:55:53 +0800</pubDate>
        
        <guid>https://www.knightli.com/en/2026/04/08/android-gemma4-install-run-guide/</guid>
        <description>&lt;p&gt;If you want to run Gemma 4 offline on your phone, this guide walks you through the full process from setup to practical usage.&lt;/p&gt;
&lt;h2 id=&#34;step-1-get-the-app&#34;&gt;Step 1: Get the App
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;Google AI Edge Gallery&lt;/code&gt; is currently not available on Google Play, so you need to install it via APK sideloading.&lt;/p&gt;
&lt;p&gt;On your Android device, go to:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Settings -&amp;gt; Apps -&amp;gt; Special app access -&amp;gt; Install unknown apps&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Find your browser (for example, Chrome or Firefox) and enable &amp;ldquo;Allow from this source.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Open the &lt;code&gt;Google AI Edge Gallery&lt;/code&gt; GitHub Releases page in your mobile browser.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;URL: &lt;a class=&#34;link&#34; href=&#34;https://github.com/google-ai-edge/gallery/releases&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;https://github.com/google-ai-edge/gallery/releases&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Download the latest &lt;code&gt;.apk&lt;/code&gt; package.&lt;/li&gt;
&lt;li&gt;After the download completes, open the file from notifications or your file manager and follow the prompts.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With a stable connection, this step usually takes around 2 minutes.&lt;/p&gt;
&lt;h2 id=&#34;step-2-open-the-app-and-grant-permissions&#34;&gt;Step 2: Open the App and Grant Permissions
&lt;/h2&gt;&lt;p&gt;When you first open &lt;code&gt;AI Edge Gallery&lt;/code&gt;, it will request storage permission to save model files. It&amp;rsquo;s best to allow this; otherwise, the app cannot download or load models.&lt;/p&gt;
&lt;p&gt;You will typically see these sections on the home screen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Ask Image&lt;/code&gt;: Vision tasks (describe images, answer questions about photos)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;AI Chat&lt;/code&gt;: Standard text chat&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Summarize&lt;/code&gt;: Paste text and generate summaries&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Smart Reply&lt;/code&gt;: Generate reply suggestions&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For most users, &lt;code&gt;AI Chat&lt;/code&gt; is the primary entry point.&lt;/p&gt;
&lt;h2 id=&#34;step-3-download-a-gemma-4-model&#34;&gt;Step 3: Download a Gemma 4 Model
&lt;/h2&gt;&lt;ol&gt;
&lt;li&gt;Enter &lt;code&gt;AI Chat&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Tap &lt;code&gt;Get Models&lt;/code&gt; when prompted.&lt;/li&gt;
&lt;li&gt;Choose a Gemma 4 model from the list (model size is shown).&lt;/li&gt;
&lt;li&gt;Pick based on your device capability; if your phone has &lt;code&gt;8GB RAM&lt;/code&gt;, start with &lt;code&gt;Gemma 4 4B&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Tap &lt;code&gt;Download&lt;/code&gt; and let it run in the background.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Note: Larger models take longer to download. You can download multiple models and switch between them later. Downloaded models stay on your device, so you do not need to re-download them.&lt;/p&gt;
&lt;h2 id=&#34;step-4-start-chatting&#34;&gt;Step 4: Start Chatting
&lt;/h2&gt;&lt;p&gt;After the model download is finished:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Tap the model name to load it (the first load usually takes 10 to 30 seconds depending on model size and device performance).&lt;/li&gt;
&lt;li&gt;Enter your prompt in the chat box and send it.&lt;/li&gt;
&lt;li&gt;The model generates responses locally, and your data does not leave the phone.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The first reply is often slower due to model warm-up. Later messages in the same session are usually faster.&lt;/p&gt;
&lt;h2 id=&#34;step-5-try-vision-features-gemma-4-multimodal&#34;&gt;Step 5: Try Vision Features (Gemma 4 Multimodal)
&lt;/h2&gt;&lt;p&gt;If you downloaded a Gemma 4 multimodal variant:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go back to the main menu and open &lt;code&gt;Ask Image&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select an image or take a photo.&lt;/li&gt;
&lt;li&gt;Ask a question (for example, &amp;ldquo;What&amp;rsquo;s in this image?&amp;rdquo; or &amp;ldquo;Is there any text I should pay attention to?&amp;rdquo;).&lt;/li&gt;
&lt;li&gt;Wait for the model to analyze the image locally and return a result.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This feature works offline, and your image is not sent to external servers.&lt;/p&gt;
&lt;h2 id=&#34;related-posts&#34;&gt;Related Posts
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.knightli.com/en/2026/04/05/google-gemma-4-model-comparison/&#34; &gt;Google Gemma 4 Model Comparison: How to Choose Between 2B/4B/26B/31B&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://www.knightli.com/en/2026/04/08/run-gemma4-on-laptop/&#34; &gt;How to Run Gemma 4 on a Laptop: 5-Minute Local Setup Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        </item>
        
    </channel>
</rss>
