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

Are all developers affected by the 20 app testers change?

I haven't read the full documentation for the 20 testers Google now requires for devs, but I've noticed that my apps are still able to receive updates. Are devs you uploaded their apps before the change unaffected by this? I uploaded my first app in May 2019 and second in May 2023....

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

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

AndroidDev - Reddit

Best alternative app store to Google Play?

I'm trying to publish my hobby app so it's easily available to prospective employers and Google Play is more of a convoluted nightmare than it's ever been before.

What's the best alternative app store where I can publish my app with an eye to it being easy for anyone I send a link to to get the app on their device?

P.S. Besides this, if anyone would like to explain to me how an internal test is now supposed to work on the Google Play store I would appreciate it. I've filled out all the details...

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

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

AndroidDev - Reddit

Android Studio uses too much Ram

I know that Android Studio is known for its high RAM usage, but in my case this is insane.

I have 32GB of memory and Android Studio manages to bring my PC to its knees sometimes

​

Android Studio: Build #AI-223.8836.35.2231.11005911

Ubuntu: Ubuntu 22.04.3 LTS

https://preview.redd.it/fbruj8nc7cac1.png?width=677&format=png&auto=webp&s=2fcbc42884337fea7e625780fcee2a6141c0a066

For some reason, there are 4 Java instances, this seems like a memory leak to me because if I close Android Stud...

https://redd.it/18y2bgh
@reddit_androiddev

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

AndroidDev - Reddit

Have you started using AI coding tools? What do you think of them?

Hello everyone, have you started trying the latest AI code tools, like Figma to Code? It quickly helps you convert designs to code with one click. Do you think it can really help improve your efficiency? Or are you still unaware of the existence of these tools?...

https://redd.it/18x72z9
@reddit_androiddev

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

AndroidDev - Reddit

Opinions: Android development without local admin privileges (no sudo access)

Hi,


I joined a new company today as an app developer (Android, Kotlin Multiplatform) and unfortunately I realized that not even the developers have sudo rights on their local machine, only the IT support. If you need software, you ask for it there, it gets approved and you download it via the self-service portal. I use MacOS. Company in Germany, about 60 employees, IT Company, developing software for customers.

​

It really annoys me that I have to make a request and wait for every l...

https://redd.it/18wrk9r
@reddit_androiddev

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

AndroidDev - Reddit

Why is there so much doom and gloom on reddit surrounding android development?

I am someone who just started learning android development because the idea of making apps just seems so fun to me. Plus I've learned extremely basic Javascript and ngl Kotlin is so much nicer.

Yet I keep seeing on reddit how it's a dying field and how, compared to web development, jobs are nowhere too find. I'm so confused where this sentiment comes from? Doesn't literally everybody use a phone? How could there not be a massive demand for app devlopement? Twitter, Facebook, Netflix, Tumblr, B...

https://redd.it/18wrs4i
@reddit_androiddev

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

AndroidDev - Reddit

Quickly develop your first Android app: Part II basics

This article is quite long, so I will divide it into fewer parts.

Quickly develop your first Android app: Part I basics

Quickly develop your first Android app: Part II basics

https://redd.it/18wnc4e">Quickly develop your first Android app: Part III practice
@reddit_androiddev

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

AndroidDev - Reddit

Quickly develop your first Android app: Part II practice

This article is quite long, so I will divide it into fewer parts.

Quickly develop your first Android app: Part I basics

Quickly develop your first Android app: Part II basics

https://redd.it/18wnfh0">Quickly develop your first Android app: Part III practice
@reddit_androiddev

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

AndroidDev - Reddit

Same View model, different composable = same instance?

class GameViewModel : ViewModel() {

var sum by mutableStateOf(0)

fun addNumber(number: Int) { sum += number }

}

fun GameScreen(    gameViewModel: GameViewModel = viewModel()

) { Button(onClick = {gameViewModel.addNumber(3)}) { Text("Filled") } }

fun GameScreen2(    gameViewModel: GameViewModel = viewModel()) {

Text(gameViewModel.sum)<-why sum is 3 and not 0?

}

I really don't understand the principle, and I've read every article about the viewmodel and compose...

https://redd.it/18soa4x
@reddit_androiddev

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

AndroidDev - Reddit

Android Studio Jellyfish | 2023.3.1 Canary 1 now available
https://androidstudio.googleblog.com/2023/12/android-studio-jellyfish-202331-canary.html

https://redd.it/18t1jo0
@reddit_androiddev

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

AndroidDev - Reddit

Whats your average build time?

I have an i7 8GB ram laptop. My average build time is:

- around 1-2 mins if we're talking about minor changes only.

- major changes on the code makes it go for about 5 mins.

- release build with R8 is where my depressing pit is. Usually around 9-12 mins.

Genuinely curious if these are normal build times....

https://redd.it/18szhsa
@reddit_androiddev

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

AndroidDev - Reddit

App seems to be downloaded many times from Russia

I have just got my app on the play store. instantly the numbers flew from about 20 downloads (closed testing) to about 180. the strangest thing is that almost 50% of these are from Russia (even though my app is not at all specifically targeted at them)

anyone had a similar experience, or know any explanation? i am kind of confused

if anyone were wondering this is my app: https://github.com/bmaroti9/Overmorrow

https://redd.it/18txoa5">countries
@reddit_androiddev

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

AndroidDev - Reddit

Have any of you in Wayland Fedora 39 had issues with Android Studio simulator crashing?

I can run it on a physical Pixel device. But when I try to run it on a simulator it crashes with qemu-system-x86_64 quit unexpectedly. I haven't worked in Android Studio for a while, but in Fedora 38, also Wayland, this was not an issue. Have any of you experienced this and do any of you have any idea how to fix it?

Update:

It is not Wayland or Gnome releated. I installed XFCE and KDE xorg, same issue....

https://redd.it/18tjtq4
@reddit_androiddev

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

AndroidDev - Reddit

Why is the Compose Compiler so far behind?

The latest Kotlin release (version 1.9.22) was released on 21st of December and they still haven't released a compatible Compose Compiler? Wtf Google!...

https://redd.it/18wapjd
@reddit_androiddev

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

AndroidDev - Reddit

New Android TV Launcher Alpha

For my own purposes I made this little thing: https://github.com/lonelytransistor/LauncherAndroidTV
It's a launcher for Android TV aiming to be as lightweight a I can make it while still having it focused on movie/series selection.

I'm not gonna lie, this was made with only myself in mind, but it seems functional enough to maybe be useful to someone? So this is first and foremost an ad to measure the demand. Screenshots:

https://preview.redd.it/4mlee5frh39c1.png?width=1280&amp;format=png&amp;auto=webp...

https://redd.it/18uee2l
@reddit_androiddev

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

AndroidDev - Reddit

Renderscript code doesn't run

I have this RenderScript code in Android to process an image. It works in my old app. But when I create a new Android Studio project, it doesn't work. And doesn't show any errors. Do I need certain permissions or changes made to Gradle to enable it?

RenderScript rsScript = RenderScript.create(context);
Allocation alloc = Allocation.createFromBitmap(rsScript, bitmap);
ScriptIntrinsicBlur blurEffect = ScriptIntrinsicBlur.create(rsScript, Element.U8_4(rsScript));
blurEffect.setRadi...

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

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

AndroidDev - Reddit

Amazon terminated my Appstore Developer Account after earning more than $30K. What can I do?

I received this email from the Amazon Mobile App Distribution Team just a few days before dispensing my payment (the 29th of each month).

> We are contacting you regarding your developer account and submitted applications with the Amazon Developer Program. During our review processes, we have found that your application(s) contains content that infringes on the intellectual property rights of other parties. Due to violations of our content guidelines and/or our developer agreement, we have dis...

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

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

AndroidDev - Reddit

Question regarding right usage of Dispatchers

I am taking a look a the Now In Android repo and the code in usecases run on the Main Thread.

Example:

operator fun invoke(sortBy: TopicSortField = NONE): Flow<List<FollowableTopic>> {
return combine(
userDataRepository.userData,
topicsRepository.getTopics(),
) { userData, topics ->
val followedTopics = topics
.map { topic ->
FollowableTopic(
topic...

https://redd.it/18x8zmo
@reddit_androiddev

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

AndroidDev - Reddit

Conditional navigation in jetpack compose

Hello everyone,

How do you handle conditional navigation in Jetpack Compose? I retrieve whether the onboarding screen should be shown or not from a datastore. However, the Onboarding Screen (Red) still manages to appear for a couple of seconds before the navigation goes to the Home Screen (Yellow). I've found that adding a placeholder or custom splash screen fixes this, but I'm wondering if there are other solutions?

https://preview.redd.it/3ploraaaj2ac1.png?width=1790&amp;format=png&amp;auto=webp&amp;s=d...

https://redd.it/18wwex8
@reddit_androiddev

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

AndroidDev - Reddit

My google play developer account was suspended since 2017, Can and create a new account now ?

My google play developer account was suspended since 2017, Can and create a new account now ?...

https://redd.it/18wtnje
@reddit_androiddev

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

AndroidDev - Reddit

My app ( meditation music no copyright) was banned from Jan 23 to May 23

So the reason was , tobacco ads were showing in admob, I was getting daily 50,100+ downloads,
So i understand about ads filtering,
Later , but as I was using adbkockrr I wasn't able to do this settings, i thought admob not working and i was new to ads,

So from may i gave new release with new settings, but I hardly get 4-5 downloads till dec 2023,
It's like,

My app is dead app now.....
What i can do ? I wanna grow app, have worked very hard : so should I rebuild app with rebranding ( but i thin...

https://redd.it/18wqa6k
@reddit_androiddev

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

AndroidDev - Reddit

Google Play Promo Videos - Autoplay doesn't work!

Hey community! My promo videos doesnt Autoplay on Desktop Google Play. Other developer's videos work well.

Any clues on how to fix that?

Thank you!

&#x200B;...

https://redd.it/18won6t
@reddit_androiddev

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

AndroidDev - Reddit

Will selling my old test phones get me banned?

I have a number of android phones that have old versions of android and don't need them any more for testing. Was thinking of selling them for 10-20 EUR / piece. If someone with a banned developer account gets them, will i get banned by association? Also thinking about ad-abuse by the new user and getting banned on ad-network? (like Admob)

Of course the phones will have factory reset, but every phone has immutable hardware identifiers like IMEI that can be forever tied to your Google account....

https://redd.it/18sbyqj
@reddit_androiddev

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

AndroidDev - Reddit

Self-promotion I started making videos on YouTube

Hello! I hope this is ok to share. I started doing video tutorials on YouTube for Android Devs, started with a wipe-clean installation of Android Studio here, how I set up AS to work daily here, and now I started looking at GoogleMaps for Compose (I work with it almost daily) in my latest video.

Let me know what you think about my videos and how I could improve! ...

https://redd.it/18sv5gk
@reddit_androiddev

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

AndroidDev - Reddit

Compose (Jetpack & Multiplatform) Drag And Drop Library

Hi folks, I just released compose-dnd a Compose Multiplatform library that allows you to easily add drag and drop functionalities to your projects 🚀
.
The library supports simple drag and drop operations as well as complex ones such as dragging items between different lists ✅
The main goal now is to reduce boilerplate code especially for complex cases and provide more support for animations! ⌛️
.
Github source code: https://redd.it/18sw8uw">https://github.com/MohamedRejeb/compose-dnd
@reddit_androiddev

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

AndroidDev - Reddit

App developer perspective: Apple and Google's anti-tracking practices actually force the use of privacy-invasive tech

Since the start of the App Stores, Apple/Google have set up a strong wall between the web and apps. For example, if you tap a link that looks like reddit.com/?trackid=123 on your phone that redirects you to the App Store and then download the app, Apple/Google make it essentially impossible for the app's code to know that it was downloaded from that link.

The problem is this tracking is incredibly important for developers (and also provides benefit to users). If we're running a referral campai...

https://redd.it/18txz8x
@reddit_androiddev

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

AndroidDev - Reddit

Background Location Limits

I'm currently developing an app where it is necessary to access the users location around every 5 seconds (max. 30 seconds), no matter if the app runs in foreground or background. I’ve read this article and it looks like I could run into the issue of not being able to get users location that often: "In an effort to reduce power consumption, Android 8.0 (API level 26) limits how frequently an app can retrieve the user's current location while the app is running in the background. Under these cond...

https://redd.it/18tkrmd
@reddit_androiddev

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

AndroidDev - Reddit

App suddenly much slower after a system update

I've been developing an app for Android for a few years (but haven't released it yet). It was running just fine on all of my devices, really fast even on my old phones.

In October 2023, my latest phone, a Google Pixel 5, which was running Android 13, received a system update (still Android 13). All of a sudden, the app suddenly started running really slowly on that phone. All taps, actions and reactions now take noticeably longer, on all activities within the app. All other apps on the phone ar...

https://redd.it/18uhfqg
@reddit_androiddev

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

AndroidDev - Reddit

Modular Architecture for Apps
https://jacobbartlett.substack.com/p/modular-architecture-for-apps

https://redd.it/18w86e7
@reddit_androiddev

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

AndroidDev - Reddit

What's something you'd like to see a video tutorial about in Android Development?

I wonder, nowadays, what is the part of Android Development that people struggle with the most about learning, due to incomplete documentation, out of date documentation (versions, etc), or simply because the official documentation is not clear enough, and they would prefer some other form-factor to learn from.

Would it be Compose? Or something more specific like navigation in compose, animations, etc... Or maybe it is related to some other libraries, like Bluetooth, Camera, D.I. with HILT, DB ...

https://redd.it/18ua5el
@reddit_androiddev

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