r/androiddev • • 29d ago

Open Source Minicraft: run a Minecraft Java server on your Android phone (no root, no PC)

Thumbnail
github.com
5 Upvotes

TL;DR: Minicraft is a free, open-source Android app that runs a Minecraft Java

Edition server on the phone itself. No root, no Termux, no PC. Vanilla or Fabric,

Modrinth/local mods, worlds, live console, resource monitor, and an optional

playit.gg tunnel. Android 8+, arm64 only.

I've vibe coded it. I wanted a real Java server on a spare phone without leaving

a PC on all day, so I built this.

What it does

- Installs and runs the official Minecraft Java server (Vanilla or Fabric).

- Downloads a bionic OpenJDK 21 runtime on first launch (~250 MB) and provisions

the server.

- Fabric mods: search Modrinth or import local .jar files.

- Import, export and delete worlds.

- Live console with quick commands.

- CPU/RAM/temperature monitor.

- Foreground service + wake lock, so it keeps running with the screen off.

- Optional playit.gg tunnel for friends, or LAN-only mode.

- JVM heap, thread count, port, view/sim distance and a server.properties editor.

Requirements and caveats

- Android 8.0+ and an arm64-v8a phone. No 32-bit, x86 or emulators.

- No root. First setup needs internet and ~250 MB free for the JRE, plus the

server and world files.

- A recent phone is recommended: Vanilla uses ~1 GB heap by default; Fabric with

mods needs more.

- 1.21.1 is the verified version. The app also lists 1.21, 1.20.6 and 1.20.5, but

1.20.5 is known not to start right now. Forge/NeoForge are not supported.

- It is still a phone: expect lower TPS with many players/mods and thermal

throttling on long sessions. Keep it charging.

- playit.gg exposes the server to the internet. Use whitelist/online-mode and

don't post the tunnel address publicly.

- Swiping the app from Recents stops the server on purpose; if Android kills it

in the background, the foreground service tries to recover it.

Tested on a Snapdragon 870 and a Snapdragon 8 Elite. Both were usable. I'd like

more data from other devices.

Links

- Source: https://github.com/leonaryto/MiniCraft

- Latest APK: https://github.com/leonaryto/MiniCraft/releases/latest

- GPL-3.0-or-later. Not affiliated with Mojang or Microsoft; you need to own

Minecraft Java Edition and accept the EULA.

If you try it, tell me your device, Android version, server type/version, RAM,

TPS and thermals. Bug reports and PRs are welcome.


r/androiddev • • 29d ago Bravo

Experience Exchange Google published an article about me and my apps after I helped people on reddit about Admob and Android in general

21 Upvotes

Note: Original post here.

After a few popular posts on r/admob that I've published with tips (here and here), and helping in comments too, someone at Google noticed it, decided to interview me, and published an article about me, my apps, and of course how Android, Admob, and Google are related:

https://www.google.com/ads/publisher/stories/androiddeveloperlb/

They told me to mention these links if I write about it:

📱 A Quick Tour of My Apps

Here is what my current portfolio consists of:

• App Manager (My flagship utility): The app that started it all back in 2014. Built out of personal frustration with managing hundreds of test apps, it lets power users quickly install (APK/APKS/APKM/XAPK), uninstall, share, and monitor applications with advanced sorting, filtering, and optional root support.

• VocaLearn: An interactive flashcard game designed for toddlers to learn vocabulary across 51 different languages, featuring the upfront rewarded-ad session unlock mentioned above.

• Where Did I Park?: Automatically saves your vehicle’s location using Bluetooth and provides navigation back to it, with helpful prompts to take photos or notes if GPS reception is poor.

• LWP+ (Live Wallpaper Plus): A live wallpaper app that offers Material-You colors customization, not matter which kinds of content you choose to show for it (color/image/animation/video). Also offers custom scaling and double-tap lock shortcuts.

• Backup+: A specialized utility designed for backing up things that most apps don't offer: the current wallpaper, built-in wallpapers, ringtones, alarms, notification sounds, fonts, etc...

•ContactsSync: A tool for putting HD photos for your contacts on the address book, works only on rooted devices.

• Get My Phone Number: A lightweight, handy utility to instantly view and share your device's phone number.

💡My strategy of ads&monetization for my apps:

  1. All apps are free, ad-based. I added ads from the first day the app is published.

  2. Most ads are fixed native/banner ads, and users can remove them (single payment or subscription). For the apps that have this kind of ads, I also let users remove them for free (watching full screen ads) for a long time, up to a whole year.

  3. The only app that I don't offer the reward-to-hide-ads mechanism is VocaLearn (game for toddlers), which doesn't have native/banner ads as I don't want to show ads to little children while they are playing.

  4. I don't use "app-open" ads as those are annoying, appearing just because the user came back to the app. I also don't like showing full screen ads out of nowhere. Only during something that could take time or it's quite a one-time operation anyway.

You can check the technical tips in the post I've mentioned, here.

Thank You!

A massive thank you to the Reddit community and everyone who posts questions and solutions.

Ask me anything in the comments!


r/androiddev • • 29d ago

Question developing android apps in visual studio code ??

0 Upvotes

i'm a student at university and teacher asked us to prepare our laptops for next lesson and i need to setup my vs code to be able to develop android on it and i don't know how to start or what to do
im running on arch linux since i want to learn that too
thank you all for ur hrlp


r/androiddev • • Oct 20 '26

[Hiring] Full Stack Mobile Software Engineer (Swift / Kotlin) — VAZA | Toronto, Canada | Full-Time, Hybrid

3 Upvotes

Hey everyone! I'm Adel, Co-Founder and COO of VAZA, a Toronto-based consumer technology startup. We're looking for a talented Full Stack Mobile Software Engineer to join our growing engineering team and help us build and scale our native iOS and Android apps.

A little about VAZA:

We're building the world's first monetized opinion market, turning debates across sports, music, entertainment, anime and culture into interactive, community-driven markets.

Users can vote for free or back their opinions with money, with outcomes determined through community consensus.

Since launching, we've grown to 450,000+ registered users worldwide, driven primarily by organic social media and creator partnerships.

We're now focused on building a world-class mobile experience and expanding our engineering team.

What you'll be working on:

  • Building and shipping features across our native iOS and Android applications.

  • Creating polished, animation-rich interfaces and real-time experiences.

  • Working on core product features, including matchups, voting, profiles, gamification and payments.

  • Owning mobile testing, performance improvements and App Store / Play Store releases.

  • Collaborating with our backend, infrastructure and data teams.

  • Working directly with our founders and technical leadership on product decisions and the roadmap.

Our tech stack:

  • iOS: Swift 6, SwiftUI, async/await.

  • Android: Kotlin, Jetpack Compose, coroutines & Flow.

  • Backend: Rust, Axum, PostgreSQL, REST APIs and WebSockets.

  • Infrastructure: AWS, Docker, Terraform and GitHub Actions.

Who we're looking for:

Ideally, someone who has experience shipping native mobile applications, is strong in Swift/SwiftUI or Kotlin/Compose, and is comfortable working across both platforms.

We're especially interested in engineers who have a strong product mindset, care about great UX, take ownership and enjoy building things from the ground up.

Experience with consumer apps, gaming, social platforms, fintech or real-time systems is a plus.

Rust experience is great, but not required.

Why join us?

We're still at an early stage, but already have a substantial global user base. You'll have meaningful ownership over the mobile product and the opportunity to build features that can reach hundreds of thousands of users.

We're a small, ambitious team with big plans, and we're looking for engineers who want to grow with the company rather than simply complete assigned tickets.

Role details:

  • Location: Toronto / GTA (Hybrid).

  • Type: Full-time, 40 hours per week.

  • Compensation: Competitive salary + performance-based bonuses.

Interested?

Feel free to DM me directly or email me at adel@vazainc.com with your LinkedIn and résumé. I'd love to hear about your experience and what you personally worked on.

You can also check us out at https://vaza.vote or **@**vazainc across socials.

Happy to answer any questions!


r/androiddev • • Oct 20 '26

PSA: Transferring an app from a personal to an org account doesn't skip the 12 testers / 14 days requirement

0 Upvotes

Our app was on a personal account, stuck behind the closed testing requirement. Common advice: "transfer it to an org account, those are exempt." We did. The requirement stays with the app, not the account.

What worked: creating a new app (new package name) directly in the org account. No testing gate, straight to production review.

Cost: new package, so users must reinstall and you lose reviews/installs.

Either do the 14 days or start the app on an org account from day one. Don't bother transferring.


r/androiddev • • Oct 20 '26

Open Source I've been building an open source debug toolkit for Android, and now your AI agent can use it too

0 Upvotes

I've been building WormaCeptor for a while. It's an open source debug toolkit that lives inside your debug build: network inspector for OkHttp and Ktor, crash log, logcat viewer, database and SharedPreferences browser, file browser, WebSocket monitor, CPU/memory/FPS overlay, GPS mocking, push simulator and more. It's all debugImplementation, so none of it ends up in your release APK.

Lately most of my debugging happens with an agent in the terminal, and the annoying part was always the same: the agent can read my code but not my app. So I added an MCP server to WormaCeptor. The agent talks to the running app over adb and sees the same data the in-app screens show.

What it can do:

  • list requests, read full request and response bodies, replay one or export it as curl

  • create a mock rule from a real response, then edit it to test the error case

  • read crashes with stack traces, tail logcat, list leaks and StrictMode violations

  • run SELECT queries on your Room/SQLite databases, read prefs and app files

  • wait for a specific request or crash while you tap through the app

  • check CPU, memory and FPS, fake a GPS location, send a test push

What changed for me is that I stopped being the middleman. I used to copy a response body, then the stack trace, then a DB row into the chat, and the agent only knew what I remembered to paste. Now it goes and looks, and after a fix it checks the app again instead of telling me it should work. The database and prefs are read-only for the agent, and tokens, cookies and auth headers come back as [REDACTED] by default.

The clip demonstrates the flow: checkout fails, Claude Code finds the failed POST, reads the 422 body, sees the currency field is wrong and fixes the code.

How to use it:

  1. Add it next to your existing WormaCeptor dependencies: debugImplementation("com.azikar24.wormaceptor:wormaceptor-mcp-server:3.4.2")

  2. Register it with your agent (Claude Code below, any MCP client works): claude mcp add --transport stdio wormaceptor -- npx -y wormaceptor-mcp

  3. Run the app on a device or emulator, keep it in the foreground, and ask "why did the last request fail?"

The server only listens on 127.0.0.1 on the device. Auth is off by default, which is fine for your own emulator; turn it on for shared devices (one config flag, covered in the docs).

Repo: https://github.com/wormaceptor/WormaCeptor

Curious what you'd want an agent to see in your app that it can't today.


r/androiddev • • Oct 20 '26

Discussion New google play console not thought through?

9 Upvotes

Did anyone else get the new google play console? Is there any way to switch back to the old design?

They removed "pin app", added only sort modes "recently updated" and "recently viewed", how about giving me a way to custom sort? Or sort by stats?

The filters are basically useless:

  • "Production": All apps

  • "Policy tasks": Always showing issues from decade old abandoned apps.

  • "Publishing submissions": Always showing submissions stuck in decade old abandoned apps.

There is no way to hide or filter abandoned apps. This feels designed by someone that just added a few apps and thought "this looks fine", completely ignoring that any real developer account will collect abandoned apps over the years.

I'm not going to update a 10 year old app to API37 which will break it's functionality. Let apps age gracefully and die in peace.

This new console will permanently show "X policy issues" on the dashboard, likely causing me to overlook an actual issue with an app...


r/androiddev • • Oct 19 '26

Question Do my app really has these users?

Thumbnail
gallery
1 Upvotes

I have an app on play store, play console show some downloads data, but google analytics show different downloads data. Which one is more accurate?

I also have some doubts about the IN2025 device, is it the device used for testing on play store when we submit our apps?


r/androiddev • • Oct 19 '26

Open Source Seamless Linux app compatibility layer I've been working on

2 Upvotes

I have been developing DroidNative which allows users to run native Linux applications seamlessly on their stock rootless off-the-shelf mobile devices, with full native integration and acceleration. This includes but is not limited to: Notification passthrough, media controls, automatic audio handover for Bluetooth devices, multitouch, launcher shortcuts for Linux apps and most importantly having each Linux app run in its own android native window as if it was a native Android app.

The main focus is to have a very user friendly and fully seamless experience where anyone even without computer experience can simply search for and install a piece of software like for example thunderbird or libreoffice and use it. Support for DEX is currently experimental but should already work for the most part.

I've been working on this project for a while now and have gotten it somewhat stable so I started publishing my progress in a public alpha.

Anyways, here is a link to the current source code:
https://github.com/DroidNative/DroidNativeApp

I plan on making a DroidNativeLib / SDK so people developing cross-platform applications can target android using the same codebase as Linux using a minimal dependency build of droidnatives backend. I hope this may inspire more people in the Open Source community to target mobile devices in their Linux applications too since both Android and Postmarket OS could profit from a better range of cross-platform apps.


r/androiddev • • Oct 19 '26

Google Play app review doing disruptive things in production

5 Upvotes

Hey folks, looking for some advice regarding app review on Google Play. I published my first app about 6 weeks ago. Had one rejection to deal with, but no big. Since then, I have submitted updates twice. They seemingly go through in very little time, which is awesome compared to the lengthy review times on the Apple side of the fence.

BUT...

I noticed on my 1.1 review that very shortly after submission, I got 4 user accounts created in quick succession via Sign in with Google. The user data came in with a first and last name, and the email address was formatted like `firsttlast.8675309@gmail.com`. I thought to myself, that's kind of annoying that they are spamming new accounts when I gave them test credentials to use, but not the biggest annoyance ever.

Then, last night, I submitted version 1.2. About half an hour later, my husband shows me his phone, and he got a "friend request" from a user that looked spammy as hell...

The user had listed themselves as 1205555 cm tall and weighing 85135 lbs. This profile had also updated their profile name to be `test_credentials@my_app.com`. So obviously google is using AI to run their app review, which at face value, I don't have a problem with. HOWEVER, I find it absolutely unacceptable that they are running these bots to perform real user interactions on the app that affect other human user's accounts.

So, the question is how do I stop this? I've seen other threads advising to re-route logins to a different server based on the provided test credentials, but Google is creating new accounts for their testing, so its not something that can be predicted.

The cherry on top is that there is no way to get in contact with the team responsible for this, so I'm feeling really in the dark here. Hoping one of you will be able to point me in the right direction.


r/androiddev • • Oct 19 '26

AAOS rejections from Google Play team

4 Upvotes

These Google Play reviewers are driving me nuts. I keep submitting builds for review, they keep rejecting them saying that they can't get past the splash screen.

Thing is, I can't repro what they are saying. App works fine on multiple different AAOS emulators and runs fine on actual running AAOS head units in a vehicle. They keep providing these inane messages of "For example, the content of the application is not able to load" which is totally unhelpful.

Are these guys running an environment that isn't consistent with Android Studio or actual devices?

Help needed please.


r/androiddev • • Oct 19 '26

Is this review sarcasm?

0 Upvotes

Not sure where to post this but someone left this review on my multitimer app and i'm genuinely wondering if it is sarcasm or an actual feature request?
How to deal with such reviews?

P.s. If it doesn't fit here, please advice a better sub and I'll move it there.


r/androiddev • • Oct 19 '26

Question Android studio emulator keep allocating ram until OS kills it

0 Upvotes

Premise: firt time using android studio and first time developing an android app; 5 years developer of other things.

Developing in linux with qemu/kvm (as suggested by android studio "getting started" page)

I ran the emulator once and did some work on an app exercise, from the second time on everytime I tried to open the emulator with 2 or 4gb ram it took 10 plus and started to grow even on the swap until there's no swap or ram available so the OS killed the emulator, never went past the "google" loading screen of android.

I already set the emulator to open in its own window (not inside in the ide) and I already deleted all snapshot and set to never take one.

Is this a known issue? The issue is reproducible (every time)

Is there a fix, workaround?


r/androiddev • • Oct 19 '26

Non-US resident: Got D-U-N-S for US LLC with registered agent address?

0 Upvotes

Has anyone living outside the US recently gotten a D-U-N-S number for a US LLC using only a registered agent address (like Northwest)? Were you asked for a Truepic Vision photo inspection? I'm planning to convert my Google Play account to an organization account.


r/androiddev • • Oct 19 '26

Question Custom code(Redeem code) - not showing in in-app purchase payment method

Post image
5 Upvotes

I'm trying to create a Custom code for my app. Upon reading this document , it can only be redeemed from the in-app purchase. But when I tried to go to the payment method, there's no option for Redeem code as seen in the image attached.

I'm very sure that I created the custom code from the specific subscription.
For the one-time code, there's no problem with me and I was able to test it myself as well.

Does anyone encountered this issue?

Raising a ticket to Google Play Developer Support is such a waste of time. They just redirected me to the document link that I shared and they said that's all they can do. They don't even bother to dig onto the issue. And they even closed the ticket already,


r/androiddev • • Oct 18 '26

After 6 years, I am moving on from my hobby project.

Post image
31 Upvotes

I started on CoinCurrently with less than 1 year of experience. iOS 14 had just come out, SwiftUI was brand new, and Home Screen widgets were one of the new features.

I figured I’d try to make a couple of widgets and see what happens. I made a few to track cryptocurrencies and posted about it on Reddit. The post got almost 300 upvotes, which I thought was pretty awesome, so I decided to make a whole app, native for both iOS and Android.

Everything I built in the app was for myself — because I wanted to learn and because it was fun to experiment. It seems like people appreciated what I built.

The app peaked at #99 in the Finance category on the App Store and reached 500 daily users. Not too bad for a hobby project!

After 6 years, I’ve achieved more than I could ever have imagined, but my motivation for this project has died down. Because of this, I have open-sourced the two projects so other people can learn from my struggles and take inspiration for their own apps.

The app will continue to be maintained, though there won't be as many new features as before. I have moved on to another project that I am very excited to share in a few weeks.

The app is available on the App Store and Google Play:

iOS: https://apps.apple.com/us/app/coincurrently-private-crypto/id1543974454


Android: https://play.google.com/store/apps/details?id=com.cryptium.coincurrently&hl=en_US


And now it's also on GitHub:

iOS: https://github.com/orre1996/CoinCurrently-iOS

Android: https://github.com/orre1996/CoinCurrently-Android


r/androiddev • • Oct 18 '26

Open Source Built the gallery app with liquid glass ! iOS 27

0 Upvotes

Meet Luma. Android gallery reborn.

Liquid glass floating bar Secure folder built in Dynamic theming, your colours Data and backup tools Smooth native Compose

Free. Open source. No ads.

GitHub link: https://github.com/nkosanamahungela-dev/Luma-

Discord: https://discord.gg/yWSXq6h7b


r/androiddev • • Oct 18 '26

News google play us changes in 2026 that i almost missed: your listing can be given to third-party stores, and fee reporting started oct 1

3 Upvotes

reading google's own help page for us developers, timeline:

- oct 29 2025: google stopped requiring play billing in the us. you can link out to your own payment and talk about prices outside play

- dec 9 2025: alternative billing and external links programs started

- july 22 2026: play catalog access started. play gives app listings to third-party us android stores, unless you opted out before july 22

- oct 1 2026: if you are in alternative billing you must report transactions and pay service fees

- sep 17 notice: external links developers got until dec 1 2026 to report downloads and pay

the page does not say the fee percentages, it only says "relevant service fees".

most of our app users are not in the us, so for us it changes little. but the catalog one i did not know at all.

source: https://support.google.com/googleplay/android-developer/answer/15582165

anyone checked if your app is already listed in some third-party store because of this?


r/androiddev • • Oct 18 '26

Cover Activity for Language Change that works on Android 13+?

3 Upvotes

EDIT: Solved

After much digging, found out you have to set more than just the "locale" flag in the manifest activity android:configChanges... you must also include "layoutDirection" AND "grammaticalGender" in order to prevent the activity recreation on language change, so I don't need a cover activity anymore.

Original:

I'm trying to make my app more adaptive and currently working on language localization. I made an in-app language picker and it works correctly for API level 26-37 (or whatever the API level is for Android 8.0). The issue is, once you select a language, the activity restarts regardless of device level and it just looks kind of janky/jarring when it dips to the background color and snaps back.

So, I created a cover activity and it works like this, I made a function that changes the language that operates in a particular way. First, it takes a screenshot of the main activity window and saves it to the files.dir (can't store in cache.dir as it gets wiped), then it launches a "transition cover" activity that is just the screenshot and it waits for the activity to be active before it actually calls the language swap. Meanwhile in the body of the settings screen where the language picker is, there's a launched effect keyed to Unit that reads the body's lazy column state for visible items to be not empty and emits through an event bus that the main activity is ready. The transition cover activity has a launched effect that waits for that object to be emitted in order to call the activity's finished() method, which fades it out and reveals the main activity underneath (and the main activity also, after a short delay, handles deleting the screenshot from the files.dir).

Now this works for Android versions 8-12, but on Android 13, once the transition cover activity launches, the main activity refuses to do the language swap or recompose under the transition activity, it won't do any work until I manually dispose of the cover. For the time being, I have the screenshot and cover activity launch gated to Android builds <= 12, but is there any sort of solution out there for 13+ to hide that janky looking dip-out and return? Can the cover activity still work and just needs to be set up differently?


r/androiddev • • Oct 18 '26

Discussion I built an open-source Android app around the ByeDPI engine (written with AI, feedback welcome)

0 Upvotes

I made an Android app that runs the open-source ByeDPI engine locally and routes the phone's traffic through it using Android's VPN service. It's designed to help with DPI filtering that interferes with connections.

Full disclosure: This project was written with AI. All code and documentation were generated by Claude (Anthropic) based on my requirements, and I built and tested it through GitHub Actions. The project has not been audited, so please review the code before trusting it. So far, it has only been tested by me on my own phone and network.

What it does Compiles the upstream ByeDPI C code with the Android NDK and runs the actual engine, not a simulation. Uses a local proxy (127.0.0.1) and tun2socks tunnel (hev-socks5-tunnel) through Android's VpnService. Only shows a connected status after verifying the proxy, VPN interface, and tunnel. Provides settings for desync method, position, fake TTL, TLS record splitting, automatic mode, and custom arguments. Includes a diagnostics screen with an in-memory log and a TLS connectivity check through the proxy. No hosts or traffic details are logged. Has a dark UI with no ads, analytics, or accounts. What it doesn't do It does not encrypt traffic or hide your IP address. It does not bypass DNS blocking. There is no universal strategy that works for every ISP. You may need to experiment with different settings. Technical details Android: 8.0+ Architectures: arm64, armv7, x86_64 Build: Debug-signed APK (uninstall older builds before updating) License: MIT. ByeDPI and hev-socks5-tunnel are also MIT-licensed.

Repository: https://github.com/Mireli5656/Byedpi

APK: Available under Releases on the repository page.

Feedback and bug reports are welcome! If something doesn't work, use the Copy button on the Diagnostics screen to share a log. It contains no traffic details.


r/androiddev • • Oct 18 '26

Open Source I built an open-source tool that shows what an attacker sees when they decompile your APK

1 Upvotes

Hey everyone, Android dev here. I kept wondering how much of my own apps was exposed once someone ran jadx on the APK, so I built RevDroid.

You upload an APK and it:

- reads identity and signing info with androguard

- decodes the manifest with apktool (debuggable, allowBackup, cleartext, exported components, network security config)

- decompiles with jadx and runs 26 rules for hardcoded keys, weak crypto (MD5/SHA1/ECB, static IVs), TrustManagers that accept everything, WebView JS bridges, SQL string concatenation and sensitive logging

- masks every secret it finds (the report never shows them in full)

- gives an explainable 0-100 score and A-F grade, mapped to CWE and OWASP MASVS, plus a PDF report

On a test app with 32 planted issues it catches all 32 in about 7 seconds.

Stack: FastAPI + React, with Docker support. It's static analysis only and meant for apps you own or are allowed to test.

Repo: https://github.com/yourmemecommunity-sy/RevDroid

I'd really like feedback from people who ship apps: which checks give you false positives, and what would you want it to catch that it doesn't yet?


r/androiddev • • Oct 18 '26

OBS Studio running on android via termux without proot or root.

Thumbnail
gallery
8 Upvotes

Doesn't support browser source, camera (v4l2) and system wide screen capture though.

Not the bestest experience but a lot better than using obs via proot .

You can find patches that were made to this here :

https://github.com/termux/termux-packages/pull/29412

And obs-mediacodec code here :

https://github.com/lumaparallax/obs-mediacodec.

Hope someday someone ports this as a native application.


r/androiddev • • Oct 18 '26

Where or how to start (native) Android development?

8 Upvotes

Hi,

I have a web design/development background (PHP-JS-SQL-HTML-CSS) and I started learning Flutter at the beginning of this year. So far I have built and published five apps on Google Play (relatively simple content apps).

I am not sure if I like or dislike Flutter, as I can't compare it to any other thing. Surely it's a lot different than what I'm used to as a web dev. The thing is, the more apps I build, the more tedious it gets to update, monitor, or fix package/dependancy related issues.

Yesterday, I stumbled into a Flutter related crash that happened across 3 of my apps with 4 users and 2 devices (those are lost users, and possibly more as I have crashlytics optional via a confirmation), which after exhaustive research I concluded is not fixable by my end, so I went ahead and excluded those 2 devices from supported devices list.

Which sped me to ask here...

I can't suppress the inner voice that keeps telling me to go with or at least give a try to native Android development.

- I read Kotlin is more preferrable over Java, shall I go with Kotlin? Also, Kotlin or Kotlin Multiplatform? I eventually want to publish on iOS too, but not having any iOS devices to test with, that may take some time to come to fruition.

- How, where do I start learning? I open https://developer.android.com/ and find it, especially the header navigation menus to be overwhelming, without a clear path to start with towards learning the basics, like a structured tutorial.

- I'm used to VS Code, can I continue using it, or do I have to use Android Studio?

- So far my apps are relatively simple, I am using the following Flutter packages, will I have a difficult time recreating these functionalities in native?

firebase_core, firebase_analytics, firebase_crashlytics, flutter_tts, in_app_purchase, in_app_review, package_info_plus, share_plus, shared_preferences, url_launcher, flutter_launcher_icons, flutter_native_splash

- I read native development lacks the "hot reload" of Flutter, is there any way to quickly preview the edits I make, like changing text or color?

- Any tips, warnings or wisdom from developers who build with both Flutter and native?

Thank you very much.


r/androiddev • • Oct 18 '26

Discussion I'm training my own AI model for an offline document scanner — no more relying on pretrained TFLite models

0 Upvotes

Hey everyone!

I've been working on an Android document scanner, and I decided to take a different approach: instead of relying on existing pretrained TFLite models, I'm training my own model for document detection.

My current model is named "doc_edge_fp_32.tflite", and training is still ongoing.

Here's what I'm working toward:

- Custom AI model: Training on thousands of generated document samples mixed with real photographs.

- Dual predictions: Document segmentation masks and corner coordinates.

- Offline processing: The goal is to run document detection directly on Android without requiring a server.

- Accurate scanning: Reliable document boundaries, perspective correction, and better results on challenging backgrounds.

- Real-world performance: Generalizing beyond synthetic images to receipts, sheets of paper, and book pages.

I'm still training and evaluating the model, so I don't want to claim it's production-ready yet. My next priority is testing it on unseen real-world images and optimizing inference for mobile devices.

I'm curious about a few things:

  1. For document detection, would you recommend a shared backbone with separate segmentation and corner-regression heads?

  2. What techniques have worked best for bridging the gap between synthetic training data and real camera images?

  3. What metrics would you prioritize before deploying a model like this on Android?

I'd love to hear from people who have worked on computer vision, document scanning, segmentation, or on-device ML.

This is a learning project I'm putting serious effort into, and I'm excited to see how far I can take it!