Recommended CI/CD Tool for Beginners to Learn Actions and Workflows?
So, I'm a mid level dev, but I have never really dug into CI/CD (except from using it at work just as a user, so not setting it up or anything). The only time I got into it was for a week, at my last job, by copy-pasting the workflow of a pipeline and trying to make changes to actions. Unfortunately I got fired a week later.
Now I find myself in a position where CI/CD experience is one of the requirements on all mid level positions I see. So, which CI/CD free tool do you recommend for learning...
https://redd.it/1dv4w67
@reddit_androiddev
Passing data between compose screens
I have a camera screen composable. I am trying to click few images and pass the uri back to the Composable that invoked the Camera Screen. There seems to be no good way to do this?
https://youtu.be/h61Wqy3qcKg?si=jrcpDgNnbdUHMG3U
This guy sums up pretty much all the ways I can think of doing it.
1. NavArgs (Ugly solution, because lets say i have 30 image uris, it will be too long)
2. Shared viewModel (Possible solution, but its too complex v...
https://redd.it/1dv4ok8
@reddit_androiddev
GPT is now auto-replying my apps' reviews 😂
I connected ChatGPT to auto reply on my app users reviews every day, based on rating, content and language.
It connects to the Google Play API and OpenAI's API, great combo.
It came out pretty well, and now I can dedicate my full "attention" to the users.
https://preview.redd.it/y2uyplrpehad1.png?width=827&format=png&auto=webp&s=3450751da410d5e2881bd822799411ecc66ce779
...
https://redd.it/1dv4250
@reddit_androiddev
CameraX preview not working with navigation
I have this camera preview screen with ocr that works as is but if I tried to access it in my homescreen via button the screen itself opens but the camera preview doesn't work. I've read through the states documentation and app architecture and I learned a fair bit but i'm pretty new to this in general so I honestly have no idea what i'm looking for this particular problem. I also checked stackoverflow and asked there to no avail. Though I suspect that i'm probably not setting up the lifecycle o...
https://redd.it/1dv2d2o
@reddit_androiddev
Can I make my paid app for free for a certain time only in google console?
For my paid app, can I make it for free for a certain time only? Is it possible in Google Play Console?...
https://redd.it/1duzk3q
@reddit_androiddev
Android Studio - Debugger crashes before the application even atarts
I don't know why this happens, but it usually occurs when when I build the project a few times. Clearing the .gradle and .cxx folders seems to fix it temporarely. The android studio debugger crashes and shows the disassembly before the Native Activity even starts at random. It is probably not my code's fault as it happens before the code is even executed and running the app directly from the physical device makes it run perfectly. It also shows some Java.io error on the ide when this happens.
I...
https://redd.it/1dup263
@reddit_androiddev
Building an app that uses generative AI to make reading in a new language easy.
https://redd.it/1dujkjz
@reddit_androiddev
how to solve this error
2024-07-03 16:52:14.491 1872-2259 ResourcesManager com.android.systemui E failed to add asset path /data/app/com.example.themoviesapp-sfg8JXv-vV4kE6VnFafb-Q==/base.apk
2024-07-03 16:52:14.491 1872-2259 ResourcesManager com.android.systemui E failed to add asset path /data/app/com.example.themoviesapp-sfg8JXv-vV4kE6VnFafb-Q==/base.apk
2024-07-03 16:52:14.492 1872-2259 ResourcesManager com.android.systemui E failed to ...
https://redd.it/1dudzao
@reddit_androiddev
Installing android studio on low end old pc
Hello, I know that android studio is extensive and needs at minimum i5 gen 2 to work(I might be wrong), but I have no work arounds around the processor, the only thing I can't change in my laptop.
My laptop is HPG62 processor i3 4 cores
But I upgraded most of other stuff
64 bit, 8 Ram, installed zorin os for it to be light on hhd, added an ssd but windows 10 uses it
Can I install and use android studio? And if not, are there any alternatives/ work arounds? Because I'm currently in a class that...
https://redd.it/1duadwf
@reddit_androiddev
All apps removed because of a disabled Google Account
https://preview.redd.it/yqagqgej68ad1.png?width=1136&format=png&auto=webp&s=9ccca1bb96235b7a116c0431fdafadca3723c67b
Does anyone here encountered the same issue and can explain to me if my assumption is correct? Our developer account has 3 google accounts attached to it in which 1 is disabled. That 1 disabled google account is what caused for all the apps to be temporarily removed. Will removing that disabled account from the developer account will fix the issue - and if yes, how long will the ...
https://redd.it/1du51ev
@reddit_androiddev
How do I add padding within my card so that my ImageView does not stick to the sides
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layoutwidth="matchparent"
android:layoutheight="matchparent">
<androidx.cardview.widget.CardView
android:layoutwidth="matchparent"
android:layoutheight="wrapcontent...
https://redd.it/1dtzhp2
@reddit_androiddev
Using Loom in Pull Requests
How do you guys do code-reviews at your org? What are the must-haves before any PR is merged?
This is how our PR template looks like
What is this about?
How was it implemented?
How is this tested?
How are the negative flows tested?
Videos/Screenshot
I was thinking about adding Loom's to each PR for more context. Since the author can
explain more in a short 5-min video itself, has anyone used it before? or any alternatives?...
https://redd.it/1dtm3mk
@reddit_androiddev
Unresolved reference: phototitle
As you can see in photos of code provided, a Textview which has id: photo\title is not recognized in PhotoDetailsActivity.kt even though I have created a TextView in content_photo_details.xml with the ID: photo_title.
I'm a beginner who's creating an Image display app using a tutorial. I want the app to display the photo alongside info when clicked. The app worked smoothly until now, it displayed all the photos one below other but when I try to include the code for displaying th...
https://redd.it/1dtr9qm
@reddit_androiddev
Disabling Autoformatting on selecting an Autocomplete Suggestion in Android Studio
Basically the title.
Is there a way to disable autoformatting that happens when I select a suggestion from the Autocomplete suggestions that the IDE provides? Every time I select a suggestion the formatting of the entire file gets messed up.
I usually hate autoformat features and prefer to format myself. It's very annoying right now cuz I'm unable to import anything automatically using the suggestions, and in Kotlin you need to import each and every class or function that I need to import, es...
https://redd.it/1dtm5hk
@reddit_androiddev
I’m confused
I’m sorry if this is irrelevant to
This community.
So, my friend had a Samsung F 42 and he forgot his password and got locked out of his phone.
The repair guys were able to just remove the lock in a week with data intact (no flashing, the phone is still official)
Is this even possible? Resetting through recovery should delete the data and trigger FRP but the data must be deleted right?
I have some experience with flashing and I am an android dev myself but I was not able to get any possible ...
https://redd.it/1dtlj93
@reddit_androiddev
So on making emulator, the emualtor seems to flash and then is nowhere to be seen and the window shows this
https://redd.it/1dv564p
@reddit_androiddev
Can I change my Google Play developer account type from individual developer to organization?
Deadline for my account verification is approaching and I am a solo developer of some small apps. Right now I'm going to get my account verified as personal account. But would I be able to change it to organization account later when I register as acompany in future?...
https://redd.it/1dv4805
@reddit_androiddev
Using context aware SDKs during ViewModel init?
My understanding is that ViewModels should not hold references to Context, because it disrupts the view model lifecycle and leads to memory leaks.
In my app... I need to check permissions before fetching the user's current location. Doing so with ContextCompat requires the current Context.
ContextCompat.checkSelfPermission(context, Manifest.permission.ACCESSCOARSELOCATION)
As such, I pass the context as a parameter from my compassable functions when clicking a button, opening a menu, e...
https://redd.it/1dv0y1i
@reddit_androiddev
Thermal Print USB Universal Code
Hi, is there any github or project that i can refer for Thermal Print for USB? I did try https://github.com/DantSu/ESCPOS-ThermalPrinter-Android and the problem of the code is it not printing any text except for showing it is success. Is there anyway or anyone knows how to make it printing some text?...
https://redd.it/1dv1dxm
@reddit_androiddev
Android Studio: debugging is a kind of hell for years and years
I've been developing in Kotlin for Android Studio for a long time.
I'm making an app that has around 60 thousand lines and it already works, but I'm adding new features, and it's 90% complete.
I program like a "game" application, but without adopting a specific framework, as it is not exactly a game. I only have one activity and I don't use intents or fragments. All my windows are dynamic (I use custom dialogs) using a library I created myself, which allows an huge level of interaction an...
https://redd.it/1dupiwh
@reddit_androiddev
Good open source dealing with network calls and clean mvvm.
As of clean mvvm I have seen official compose samples, and I was doing many things wrong.
Is there a good open source project which deals with network call and follows clean mvvm. ...
https://redd.it/1dujh48
@reddit_androiddev
Android Crypto Samples - bunch of crypto samples for crypto-curious Android developers
Hi all, if you ever thought (or struggle with) about implementing some cryptography operations in Android app I have something for you.
In crypto-samples repo I'm trying to explain basic concepts around crypto and provide useful (and easy to understand) samples on how to implement it directly in code.
Part of the encryption operations can be of course done using the security-crypto library from Jetpack, but sometimes there is a need to provide custom implementation, tune something, or you just...
https://redd.it/1dufiaq
@reddit_androiddev
Compiling arm-v8a to armeabi-v7a.
I wanted to use Node Video Editor. But, couldn't because Node video Editor only supports 64 bit. And, I have a procceser and OS both 32 bit. So, I was wondering is it possible to complie it's arm-v8a to armeabi-v7a. As, I have searched know myself. I dont think it is possible, but I just wanted to ask you guys the experts. I just tried replacing its arm-v8a file to armeabi-v7a file but, of course it didn't work, the app just didn't open. I also tried it with Adobe Premiere Rush because I just wa...
https://redd.it/1dudlgs
@reddit_androiddev
Additional text in bottom navigation view
I am getting "Audio Amplitude is: 5.12" upon nerd mode toggle. It is not required. I am unable to figure out how to remove the extra text.
Github repo link: https://github.com/Shekhar0050M/WASP.git...
https://redd.it/1du9okq
@reddit_androiddev
App is receiving delayed response when using https
This is my first full stack android app and am a little lost with how to proceed. My app is currently configured to use https and it works perfectly fine when I am in debug mode . However, once I try and generate a release version, the requests take minutes to go through (but they are still going through) even though I am hitting the same ip address for both versions.
The domain has certs from letsencrypt and when I view the website, I can see that the site is secured.
Any advice on how I c...
https://redd.it/1du2pmh
@reddit_androiddev
Looking for open souece project to contribute
I'm CS student I've been studying android for over a year, I want to expand my knowledge and experience I think contributing to open source project will help but can't find suitable one. If anyone have good suggestions also i worked on git/github before...
https://redd.it/1dtz34p
@reddit_androiddev
What device does google use to review apps for approval?
They keep denying my app for release, I've appealed without any success, I asked them if they can provide me the device they are using so I can test it on my end, but they didn't want to reveal that.
Would anyone here know what device they use? I keep getting rejected because the app logo doesn't fit inside their circular app icon, but I've done all I can to make sure it fits, but they reject, and provide no useful info.
...
https://redd.it/1dttwb1
@reddit_androiddev
I want to export the database I have created using room in android.
How can I add feature to export and import database to my app. currently I am learning the data persistence using room. I have created a database and I want that my user should be able to export and import database. Lets say my user wants to share the database to a another user. How can I implement a feature so that my user can simply export the database and share it using any app like WhatsApp , email or something like that and then other user should just be able to import it to his app. ...
https://redd.it/1dtrbrl
@reddit_androiddev
Reldex: a way to measure app release processes
https://www.tramline.app/blog/introducing-reldex
https://redd.it/1dtokz6
@reddit_androiddev
Why does Android use JIT and AOT?
As I understood Kotlin is compiled to JVM byte code which is kept as .dex files in APK. When this APK gets installed it is compiled to native code on the device.
All the resources I found on internet say this is how it works and never mention why. So my question is why not compile JVM bytecode directly to native code and include it in APK file? this way apps will run faster and there would be no need fore baseline profiles. Also battery would last longer....
https://redd.it/1dtlym9
@reddit_androiddev