reddit_androiddev | Unsorted

Telegram-канал reddit_androiddev - AndroidDev - Reddit

-

Stay up-to-date with latest news on Android Development! Content directly fetched from the subreddit just for you. Powered by : @r_channels

Subscribe to a channel

AndroidDev - Reddit

What permission must be in my xml to upload images?

My question is simple but I’m confused about the language used.

If users want to upload images from their camera roll, do I need a permission for that?

I don’t understand what READEXTERNALSTORAGE really entails, and READMEDIAIMAGES is “required only if your app needs to access images or photos that other apps created.”

I don’t really know what that means. I just want users to be able to upload photos, like on Instagram. Which should I use?...

https://redd.it/1dg1ss9
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

New to Android Development from the Web

Hello everybody.

I've played around in android studio a few times, but only recently am I focusing on developing an application. I am working towards learning jetpack compose and just curious about the steps I should follow and what recent resources there are to learn all that's needed, not just the UI part.

I want to understand the build system, dependencies, and configuration before I jump into UI and logic. Anybody know of RECENT tutorials or at least the topics I should go over before beg...

https://redd.it/1dg27im
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Blend mode in Compose doesn't work

I'm trying to make so that my content (`Surface` with `Text`) is clipped by circle and only what's inside the circle is visible. I'm using `BlendMode.DstIn`, but it doesn't seem to work properly.

If I use solid black color, then I get the result if the mask has not been applied at all.
If I use semi-transparent color, then I get the result of content within circle being semi-transparent as well, but everything outside stays.

Why is the content outside of clipping circle ignored? `BlendMode.D...

https://redd.it/1dfy5c9
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

What is the right technique to automate Android builds from command line with gradlew command?

I want to build my Android Studio project from command line as opening it consumes too much RAM. Besides, my app is "WebView heavy", most of the work happens in HTML/JS/CSS inside of the webview, so it makes sense to build the APK/AAB directly from command line for testing. So far, I'm able to generate bunlde with the below command after setting the JAVA_HOME to `\path\to\android-studio\jre\jre`

gradlew bundle

However, this generates only the bundle file (*.aab) and that too the unsigned o...

https://redd.it/1dftyul
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Can’t hackers just remove the Play Integrity API?
https://redd.it/1dftzo1
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Local notification for android 14+

Hi I am new to android dev, i have an issue with my projects local notifications not working on android 14+ device for a new install.
I understand with android 14+ that the alarm/reminder permission needs to requested at runtime. When I use the same methods I use to request post notifications permission for this, nothing happens. The only way I have come up is to make an intent that takes the user to the settings page to toggle the alarm setting.
Is this correct way? Seems strange that other pe...

https://redd.it/1dfoi5n
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Have review times significantly increased for anyone else recently? It happened since we updated our Policy status.

Google are notoriously bad at telling you why your review is taking longer, even though from past experience there's always a reason, which you kind of just have to figure out yourself. Curious to hear if anyone else has noticed issues. Thanks...

https://redd.it/1dfks2x
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How can I get started developing an Android USB input device, like a custom keyboard/macropad? (more details inside)

I'd like to be able to build something like a macropad (or a similar type of small custom keyboard device), connect it to my Android phone, and be able to execute functionality based on keyboard inputs

An example would be something like a mini-keyboard with hard keys to allow music playback. Another example would be a game that requires some sort of custom USB controller

I can't seem to find any documentation on this kind of development. I'm open to writing an app that sits as layer between t...

https://redd.it/1dfav31
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Jet pack Navigation with non-compose app

Hey folks!

Working on application that previously didn’t use compose. Navigation was handled in the traditional nav graph and fragments. I added a few recent compose screens on top of a singular fragment.

I want to now add navigation between these compose screens; within that fragment.

1. Is that possible? Or do I need to continue with the older method (fragment and arguments)

2. Within that fragment, where I call set content, can I programmatically create a nav host and set which compos...

https://redd.it/1dfgyvb
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Will Using ProtonVPN Allow Me to Redeem US Google Play Store Credits?

l'm currently in lraq but my
Google Play Store account is set to the
USA. If I use ProtonVPN to make my IP
address appear as if it's in the USA,
will I be able to redeem US Play Store
credits?...

https://redd.it/1df5muc
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Title: How to Add Users to Mesibo App (Looking for Help!)

I'm working on a project that involves integrating the Mesibo app and I'm stuck on the user addition process. I understand that directly adding users through the app isn't possible and that it involves generating access tokens through the Mesibo backend APIs.
I'm familiar with the general steps (creating app token, using APIs to create user accounts with access tokens, integrating Mesibo SDK with user tokens), but I'd appreciate some guidance or resources on how to achieve this.
Has anyone here ...

https://redd.it/1df6hzd
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Google Play Console Verification Mess

I just cant image if i was going to face such detailed investigation by Google for my Play Console verification, has every one faced the same ? It wasnt one document to submission, there were two documenta required by google, they were matching my Payment Profile and for a while I saw my Google Admob has some requirements which were gone after a while when the verification was done. Is it so easy for every one to provide their home address and phone being public. What other options do we develop...

https://redd.it/1df17gb
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Android app functional and design review

I have built an android app. Designed and developed by me. I want some experienced designer and developer to review it once. I will be grateful for ur help...

https://redd.it/1devuch
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

For now, I'm not afraid that AI will take my job 👍🏻😄

https://redd.it/1desnd0
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Mapbox

I'm making an app that utilises mapbox to provide an offline map on your phone but after what seems like 50 years of tweaking, I can't get android studio to import the required dependencies and just keep getting an "access denied" message.

Has anyone else had this issue and if so... How did you overcome it?...

https://redd.it/1dejeg9
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Google Lifetime Terminations Have Created a Thriving Black Market for Google Play Accounts



Hey Guys,

In the past three years, Google has adopted a stringent policy towards developers, enforcing lifetime terminations for violations. This has inadvertently led to the rise of a black market for Google Play accounts.

Through extensive research, I've discovered that numerous platforms, including Facebook, Reddit, and Blackhat Forums, are teeming with listings for Google Play accounts. You can easily find these by searching for "Google Play accounts for sale." The prices range from $100 f...

https://redd.it/1dg2lch
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Bluetooth support on MacOS with Android emulator

Is there any way to connect to an external Bluetooth device with the Android emulator running on MacBook Pro using the Android emulator?...

https://redd.it/1dfs5he
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

What is HAL anyways?
https://dispatchersdotplayground.hashnode.dev/what-is-a-hal-anyways

https://redd.it/1dfxotr
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

App suspended due to restricted login location

Has anyone else faced app rejections due to their app's location restrictions?

Our app was recently suspended after 3 failed submissions to the google play store due to policy violations. The first rejection was due to a minor issue with our privacy policy, and the latter two due to the tester failing to log in to our application.

In our access instructions, we specified that the app will only function within the United States and Canada due to security settings enabled in our authentication p...

https://redd.it/1dfuanv
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Recommended Android for development purposes

What phone would you recommend for Android development? It must support a minimum of Android 12, and be as future proof as possible. ...

https://redd.it/1dfs87x
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Ideas for System Design Interview

Hey folks,

I'm helping a friend prepare for FAANG interviews by running System Design mocking interviews. I have extensive experience running these, but we've been doing it for so long that I'm running out of ideas.

Can you help me here? I don't necessarily need problems you've faced in actual interviews; it can be any problem you find interesting enough to tackle.

Some details on product requirements would also help a lot :)

Thanks!...

https://redd.it/1dfm2vv
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Confused about Material Design

Hello fellow devs,
I have a question that's been bugging me for a long time. Tried asking ChatGPT or searching Google but didn't find any satisfying answer. I hope to find it here.

As the title suggests my question is about Material Design. If an Android app is designed using Material 3 which is from Android 12 and above, the app will have everything from the new design system.

1. What about apps which are below Android 12?
What happens to the UI on those apps?

2. If I start a new app whic...

https://redd.it/1dfjytw
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Track microphone usage using Kotlin with Jetpack Compose

I am working on an project in which I want to keep a track whenever microphone gets used and whatever is provided as input. I want to monitor microphone usage across the entire system. Something like ACCESS_BACKGROUND_MICROPHONE

Github repo link: https://github.com/Shekhar0050M/WASP.git...

https://redd.it/1dfhxf3
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Tech Test Trauma: am I just old, or is this unreasonable?

I'm a senior Android engineer, doing a bunch of job hunting. I've done a few tech tests, but this one has stuck in my maw and I'd love to check with the community: am I just getting slow and old, or is this unreasonable? Part of me is frustrated and a bit angry and wanting to vent at what I perceive as being unreasonable requirements, but it would also be really helpful to have constructive, differing opinions.

I'll paste the requirements below with a little editing to avoid identifying details...

https://redd.it/1dfa5m6
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How can I schedule reminders/notifications using Jetpack compose in my Android app?

Is there a preferred library or dependancy that you guys prefer? I read about both Work manager and Alarm manager but wanted to discuss and know your thoughts on this topic. ...

https://redd.it/1df7f6c
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How do I get an app through review that requires an on-prem server?

We develop an enterprise app that is hosted locally by our clients.
You log into it by scanning a QR code generated in our desktop app that points the mobile app to your local server IP.

We have provided a "demo mode" QR code that mocks a bunch of the endpoints so that a server connection isn't needed.
This is, however, a real pain and near impossible on some of the more complicated forms that actually save data.
We ended up just hiding all of those pages when you are in "demo mode", but the ...

https://redd.it/1df3hq1
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How do you hold TextField parameters, value and onValueChanged, in a data class.

Whenever I do it the keystrokes won't appear in the text field....

https://redd.it/1dewhre
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Requesting MAC address of network adapter possible in any way?

How would I go about getting the MAC address of a network interface (eth0..n, wlan0, etc) in android? I've tried everything from Java's NetworkInterface class, the ip command, sys/class, and ioctl() in JNI. I've tried looking into maybe using libpcap but that doesn't seem to give give the information I'm needing. The app I'm writing has pretty much any permission it needs except being on a rooted device....

https://redd.it/1deqvtv
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Still not transparent?
https://redd.it/1derub1
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Do you still have QA at your company?

Just wondering if you guys still have QA as I do a regression test myself on what seems like something that will never end....

https://redd.it/1deciel
@reddit_androiddev

Читать полностью…
Subscribe to a channel