Android Development

530 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
1
2
 
 

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?

3
4
5
6
 
 

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

7
 
 

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?

8
 
 

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.

9
15
The Third Beta of Android 15 (android-developers.googleblog.com)
submitted 2 months ago by [email protected] to c/[email protected]
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! 🤩

11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
13
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 
 

So, my boyfriend and I are making this Android app. My first post for more info. I was wondering if mastodon has an OAuth feature where I could use to sign in with it via my Android app.

I’m also wondering in that in terms of API, do most programmers mean the key (API Key) or a way for a program to integrate anonymously with a platform.

Likewise, I’ve always been confused when it came to API access. Looking for clarification.

view more: next ›