1
4
2
14
submitted 1 month ago by chottomatte to c/android_dev@programming.dev

Title Thanks

3
2
4
4
submitted 1 month ago* (last edited 1 month ago) by tinkralge@programming.dev to c/android_dev@programming.dev

I have no experience with android apps and just started working on one that needs to work with relational data. The relational data has multiple many-to-many relationships and the inbuilt ORM (Room) is leads to class explosion.

While looking at ORM libraries for android, there seem to be many that are out of date:

From 5 of the Best Android ORMs (2014) and AlexeyZatsepin/Android-ORM-benchmark (2017)

I'm leaning towards Requery because I like its API the most (hides SQL the most), but haven't looked at ObjectBox yet.

5
12
Android 15 is released to AOSP (android-developers.googleblog.com)
submitted 2 months ago by neme@lemm.ee to c/android_dev@programming.dev
6
0
submitted 2 months ago* (last edited 2 months ago) by abobla@lemm.ee to c/android_dev@programming.dev

I'm new to using reactive and functional programming in kotlin with libraries. I'm maintaining a project at my company that uses only .orNull() from the arrow.core.Option class.

My question is: why is the project returning the first type instead of the second one?

Single<Option<UserEntity>>
Single<UserEntity?>

Can't the DAO object return a null type if it doesn't find the object on a query such as SELECT * FROM users WHERE id = 1 ?

7
17
Adding 16 KB Page Size to Android (android-developers.googleblog.com)
submitted 2 months ago by neme@lemm.ee to c/android_dev@programming.dev
8
4
9
6

cross-posted from: https://lemmy.pe1uca.dev/post/1512941

I'm trying to configure some NFC tags to automatically open an app, which is easy, just have to type the package name.
But I'm wondering how I can launch the app in a specific activity.

Specifically when I search for FitoTrack in my phone I get the option to launch the app directly into the workout I want to track, so I don't have to launch the app, click the FAB, click "Record workout" and then select the workout.
So I want to have a tag which will automatically launch this app into a specific workout.

How can I know what's the data I need to put into the tag to do this?

Probably looking at the code will give me the answer, but this won't apply to closed source apps, so is there a way to get all the ways all my installed apps can be launched?

10
2
11
17
12
8
13
12
Android Account Settings.. (www.jethostpro.com)

I was wondering how I could make this application where it’s basically the account section in settings. I wanna make this app based on that already existing feature. I’m just not sure if that is available on a custom ROM I’m interested in installing once I fix up my pixel.

I’ve read a bit, not all, but a bit about the Android Keystore System, of which I’m not sure if this is how I can achieve such success.

Storing the credentials in the app, the app then saving it in keystore and when the user goes to their default browser, it then automatically signs them in as per keystore.

I’m not sure if this is how it all works, just clarification. Thanks!

CalyxOS

14
9

I’m interested in learning app development for Android devices, and I’d like to test the apps in a physical device, but my phone is an iPhone.

Which phone model or brand do you recommend for it? Are there some general ideas for choosing a device?

15
7
submitted 4 months ago* (last edited 4 months ago) by federino@programming.dev to c/android_dev@programming.dev

If you try to navigate in compose using a route like this:

data class ProfileRoute(user: UserProfile)

data class UserProfile(id: String)

You will have an error when running the app. This article helped me with that.

I still don't know, however, how to navigate with a scenario like this:

data class ProfileRoute(user: UserProfile)

data class UserProfile(account: Account)

This scenario above still crashes the application.

16
15
The Third Beta of Android 15 (android-developers.googleblog.com)
submitted 4 months ago by neme@lemm.ee to c/android_dev@programming.dev
17
10

Awesome Android Apps

AAA

Hi all,

for 2 years, sporadically, I've been adding awesome FOSS apps with the following:

Rules

  • Open Sourced
  • Free of charge (on F-Droid and source code repository releases)
  • Free as in Freedom
  • Ad-free
  • Installed and tested by me or by contributor
  • Privacy-friendly aware
  • Easy to use
  • Still in development or polished experience
  • Does not lack features compared to proprietary app
  • Does not need an account (the only exceptions are self-hosted) apps)
  • Has dark theme

...tested by my and then later by contributors. I think many of you will appreciate this simple README.md repo, and I would love some help with it.

🏔️ Codeberg version

I hope you will find it useful! 🤩

18
3
19
2
Compose Preview Screenshot Testing (developer.android.com)
20
31
Google Officially Supports Kotlin Multiplatform (android-developers.googleblog.com)
21
7
22
5
Room/KMP is officially here! (developer.android.com)
23
6
24
12
25
10
submitted 6 months ago* (last edited 6 months ago) by pro_grammer@programming.dev to c/android_dev@programming.dev
view more: next ›

Android Development

477 readers
1 users here now

Welcome to the programming.dev Android development community!

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License

founded 1 year ago
MODERATORS