<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Falaq</title>
    <description>The latest articles on DEV Community by Falaq (@falaq_ai).</description>
    <link>https://dev.to/falaq_ai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4008686%2F42704624-f48e-4dc8-b7e4-c7ea8516983a.png</url>
      <title>DEV Community: Falaq</title>
      <link>https://dev.to/falaq_ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/falaq_ai"/>
    <language>en</language>
    <item>
      <title>What I learned building offline AI for Android</title>
      <dc:creator>Falaq</dc:creator>
      <pubDate>Mon, 29 Jun 2026 19:47:35 +0000</pubDate>
      <link>https://dev.to/falaq_ai/what-i-learned-building-offline-ai-for-android-2pi</link>
      <guid>https://dev.to/falaq_ai/what-i-learned-building-offline-ai-for-android-2pi</guid>
      <description>&lt;p&gt;I built Orb because I wanted AI on my phone that still worked when the network disappeared.&lt;/p&gt;

&lt;p&gt;Most AI apps are simple from the app side: send the prompt to a server, stream the response back, and keep the real complexity in the cloud. Orb is the opposite. It runs local models on Android after a one-time model download, so the app has to deal with the annoying mobile parts directly.&lt;/p&gt;

&lt;p&gt;A few things stood out.&lt;/p&gt;

&lt;h2&gt;
  
  
  The model download is part of the product
&lt;/h2&gt;

&lt;p&gt;If your app needs a 1-3 GB model before it becomes useful, the download flow is not plumbing. It is onboarding.&lt;/p&gt;

&lt;p&gt;Users need to know:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;why the file is large&lt;/li&gt;
&lt;li&gt;whether they need Wi-Fi only for setup&lt;/li&gt;
&lt;li&gt;if the download can resume&lt;/li&gt;
&lt;li&gt;how much storage it will use&lt;/li&gt;
&lt;li&gt;what works offline after that&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is also why I pulled part of the download work into a React Native native module. Large model files need progress, resume, and background-friendly behavior. A normal "just fetch it" flow is not enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  Offline has to be obvious
&lt;/h2&gt;

&lt;p&gt;A privacy app cannot just say "local-first" and hope people believe it.&lt;/p&gt;

&lt;p&gt;The product has to make the boundary clear:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no account&lt;/li&gt;
&lt;li&gt;no cloud chat backend&lt;/li&gt;
&lt;li&gt;no subscription&lt;/li&gt;
&lt;li&gt;no ads&lt;/li&gt;
&lt;li&gt;works without Wi-Fi after setup&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For Orb, the point is simple: once the model is downloaded, chat, image/document workflows, speech-to-text, text-to-speech, and local reasoning should not require an internet connection.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mobile inference is not one performance target
&lt;/h2&gt;

&lt;p&gt;Android hardware is all over the place.&lt;/p&gt;

&lt;p&gt;Some devices can use GPU acceleration. Some Snapdragon devices may have experimental NPU/HTP paths. Many devices need CPU fallback. The same model can feel completely different across phones.&lt;/p&gt;

&lt;p&gt;So the app cannot be marketed like every phone gets the same experience. The honest version is: use the best local path available, fall back safely, and keep model choices realistic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy is a workflow, not a slogan
&lt;/h2&gt;

&lt;p&gt;The strongest use cases are not "replace ChatGPT." They are moments where sending data to a remote service feels wrong or impossible:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;private notes&lt;/li&gt;
&lt;li&gt;personal documents&lt;/li&gt;
&lt;li&gt;travel with no signal&lt;/li&gt;
&lt;li&gt;journaling&lt;/li&gt;
&lt;li&gt;studying offline&lt;/li&gt;
&lt;li&gt;screenshots/photos you do not want uploaded&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Local AI is weaker than cloud AI in many ways, but it wins when the private/offline boundary matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  Orb
&lt;/h2&gt;

&lt;p&gt;Orb is my attempt at making this feel normal on Android: local models on-device, image and document upload, speech-to-text, text-to-speech, no account, no subscription, no ads, and no cloud chat backend.&lt;/p&gt;

&lt;p&gt;It is Google Play only for now:&lt;br&gt;
&lt;a href="https://play.google.com/store/apps/details?id=com.falaq.orb" rel="noopener noreferrer"&gt;https://play.google.com/store/apps/details?id=com.falaq.orb&lt;/a&gt;&lt;/p&gt;

</description>
      <category>android</category>
      <category>ai</category>
      <category>privacy</category>
      <category>reactnative</category>
    </item>
  </channel>
</rss>
