On-Device AI for Android: Free Sample (Your Homelab AI Server)
A free sample of On-Device AI for Android: ML Kit, Local LLMs and Your Own Homelab AI Server in Kotlin Apps.
Inside: the cover and full table of contents, and all of Chapter 7 "Your Homelab AI Server": making Ollama reachable on purpose, proving it with curl, the streamed reply line by line, Android's cleartext rules, an OkHttp streaming backend in Kotlin, timeouts and a setup screen that diagnoses, with the diagrams and the real code.
The full 60-page book (PDF and EPUB, 23 diagrams) is $19 at https://payhip.com/b/J9jlp
The full book is also in a bundle: Everything Bundle: all 28 ebooks, $29 (was $89) ยท Android Bundle: 11 ebooks, $19 (was $49).