this post was submitted on 05 Apr 2025
63 points (94.4% liked)

Android

18793 readers
44 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

🔗Universal Link: !android@lemdro.id


💡Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: !askandroid@lemdro.id

For fresh communities, lemmy apps, and instance updates: !lemdroid@lemdro.id

💬Matrix Chat

💬Telegram channels / chats

📰Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 2 years ago
MODERATORS
 
  • Android 16 now supports cloud compilation, a new feature that could speed up new app installs.
  • The goal of cloud compilation is to avoid running the dex2oat tool during app installations by offloading compilation to the cloud.
  • Dex2oat takes an APK file and generates app artifact files that the Android Runtime loads. Depending on the device and the amount of code to compile, this could take some time.

It looks like the ART (Android Runtime) JIT is playing an increasingly less important role with time.

Friendly reminder that the cloud is just someone else's computer.

you are viewing a single comment's thread
view the rest of the comments
[–] ilinamorato@lemmy.world 2 points 5 hours ago* (last edited 5 hours ago) (1 children)

Oh no? We've had browser storage and cached web apps for twenty years now. The technology exists and could be improved, if we stopped forcing everything to be a native app.

I mean, honestly, most "native" apps are webviews displaying cached content. Clearly we can make it happen, it just needs to be more discoverable and have smoother integration.

[–] catloaf@lemm.ee 2 points 5 hours ago* (last edited 3 hours ago) (1 children)

So you're just reimplementing the current model but with the extra layer of a browser in between. Installing a PWA is the same as installing a native app, except instead of running it directly you also have to have a browser installed to run it. It's adding a significant amount of complexity for no good reason. Browsers are huge attack targets.

[–] ilinamorato@lemmy.world 1 points 56 minutes ago* (last edited 54 minutes ago)

So you're just reimplementing the current model but with the extra layer of a browser in between.

No, I'm removing the layer of the native code that launches whatever flavor of Electron they're running under the hood in favor of the browser and webview that's already installed on your device (or whatever other one you're interested in switching to).

Installing a PWA is the same as installing a native app, except instead of running it directly you also have to have a browser installed to run it.

...which literally every single mobile device already has. Seriously, you can't uninstall webview if you wanted to.

Plus, you only have to install one browser for the entire system, Come on. You can't honestly believe that the dozens of reproduced copies of the same codebases that live on your phone right now are a good use of your phone's storage or memory.

It's adding a significant amount of complexity [...]

I don't know what complexity you think it's adding. It's removing a bunch of native code, and replacing it with web-standard code that (in the case of most apps) was already written for the native app anyway, or at least was written for the web app.

[...] for no good reason.

Ever wanted to mod an app? If it was a web app running in a browser, you could. Would you like to use ad blockers on the YouTube app? Or use a userscript to hide stories about a particular person? Or automate the function of one of your apps? With native code you can't. With web apps you can. Web apps are more accessible, they adhere to published standards, they're not as heavy on your operating system, they're more resistant to privacy-siphoning attacks and surveillance, they're more easily able to share code...and, to be honest, they're also easier to develop. The only reason for corpos not to do this is because it gives the user power that they would rather be able to sell to the user instead.

Browsers are huge attack targets.

Security is not improved by forcing users to switch to native apps. For one thing, most companies' apps already are web apps; if they're not already hardened, wrapping them in native code and putting them in the Play Store or App Store won't magically make them more secure, because decompiling native apps and sniffing API endpoints is still a thing. Also, it could be argued that browsers are more resistant to security issues, since you can patch them once and mitigate certain vulnerabilities in every app without waiting for developers to ship a fix.