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

Weekly Who's Hiring Thread - December 11, 2023

Looking for Android developers? Heard about a cool job posting? Let people know!

Here is a suggested posting template:

> Company: <Best Company Ever>
> Job: <Title>\(https://example.com/job)
> Location: <City, State, Country>
> Allows remote: <Yes/No>
> Visa: <Yes/No>

Feel free to include any other information about the job....

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

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

AndroidDev - Reddit

Problem with phantom notification
https://redd.it/18frvvd
@reddit_androiddev

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

AndroidDev - Reddit

Do you guys make notes while learning android ?

For a newbie like me, I personally find it difficult to remember things and taking down notes has helped me for a while but i was guessing if this was how the Devs or the newcomers did it.

Also making notes, is proving counter-productive as it takes a longer time and it becomes difficult to recall why I wrote this/where and why were the callbacks...especially when I go down the rabbit-hole of any topic.

I was thinking of using Notion(may ease the process of making notes and copying the code ...

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

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

AndroidDev - Reddit

Why did Google stop sending reviews through email?

Hi,

I've noticed that since last week, the Google Play reviews for my apps have stopped showing in my Gmail. To view them, I need to open the Google Play console each time. I'm certain that the option to (get users reviews through email) is enabled.

Is anyone else experiencing the same issue?...

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

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

AndroidDev - Reddit

How to deal with a LazyColumn that contains items with varying heights?

Right now the experience feels janky on my 90Hz display it looks like as if it skips frames or content jumps slightly, this is on release mode btw, and by checking the Layout inspector there are no recompositions at all.

In comparison to React Native FlashList( not Flatlist), it is so laggy it doesn't feel native at all....

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

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

AndroidDev - Reddit

My downloads on Google Play have flatlined
https://redd.it/18e8j7m
@reddit_androiddev

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

AndroidDev - Reddit

Room _IMPL autogenerated code on 'bind(SupportSQLiteStatement, T)' being omitted by compiler.

I was cleaning my background thread usage, to use the least amount of Threads from my APP, and it came to the point in which the View is THE ONLY PROCESS being performed on MainThread.

Absolutely everything else, from SQLite insertion... to Data processing: from EntityInsertionAdapter towards ViewModel... is done on a SINGLE Background Thread: `androidx.arch.core.executor.ArchTaskExecutor#executeOnDiskIO`.

But something began happening.

During ROOM `@Transactions` the `bind(SupportSQLiteState...

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

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

AndroidDev - Reddit

How to open Bluetooth settings using intents (PIXEL,MOTOROLA)?

Hello devs,

I'm having a issue trying to open bluetooth settings in some devices.

My requirement is to open in the correct screen of bluetooth settings, this code works normally in Samsung and some other devices, but in the pixel and motorola phone's.

It opens in the connected device screen.

The idea is giving a really easy way to turn off bluetooth but is the user decision to optimize battery.

So after the user clicked on a button it navigates to this screen.

Can anyone help me?

`fun o...

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

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

AndroidDev - Reddit

Flutter Responsive UI : Crafting Dynamic Layouts for Every Device
https://youtu.be/PctmP21EDFA

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

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

AndroidDev - Reddit

Handling interim session detail

I am developing a patient registration system that requires patients to provide their name, and address on the first web page in a HTML form. After submitting this information to server (Spring boot app - /patDetail API), I am caching this detail in HTTP Session and displaying next page that require patient to enter their Insurance details. After entering insurance details, patient will submit the form to the server(Spring boot app - /patInsurance API). In the Spring boot app, I fetch the detai...

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

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

AndroidDev - Reddit

R.layout does not see the XML file

n all the code where there is R.layout, when I try to enter the name of the xml file, instead of the usual context file with all the names, it shows something completely unknown to me, like abc__action_menu_layout , although I have not used this.


kotlin code


import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.ViewParent
import android.widget.ImageView
import android.widget.TextView
import androidx...

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

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

AndroidDev - Reddit

Need some help with my s10

Hello fam! are there any dev settings that are worth changing to make the phone more optimal? reading a lot about it, do you have any tips to get my s10 faster and optimized to max?...

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

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

AndroidDev - Reddit

S10

how do i make aim assist visible again if i accidentally click hide button? I need help with one more thing, I feel that my mobile is good with fast movements in games but not slow-short movements then it feels like I have vsync on like 1 fps.. are there any settings in the system I have to change? it is brand new applies to samsung s10, or do i need to dowload some optimization programs, or apps etc? Game boosters?

TY fam!

And overall should I change some settings in my phone to get it opti...

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

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

AndroidDev - Reddit

Right way to manage background network task with notifications

Hi all,

for my own IoT app, I need to access a server via HTTP every 5 sec, in order to check if the IoT boards are online. If not, I need to generate a notification.

First of all, I succeeded in implementing this logic in a foreground service, calling a runnable via a Handler every 5 sec. It works fine, but when I shut the screen down, it eventually stops running because of deep sleep, I suppose, and no notification is genetated.

The I tried with the WorkManager, enqueing a work every 5 se...

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

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

AndroidDev - Reddit

Android Studio Iguana | 2023.2.1 Canary 17 now available
https://androidstudio.googleblog.com/2023/12/android-studio-iguana-202321-canary-17.html

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

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

AndroidDev - Reddit

Weekly discussion, code review, and feedback thread - December 11, 2023

This weekly thread is for the following purposes but is not limited to.

1. Simple questions that don't warrant their own thread.
2. Code reviews.
3. Share and seek feedback on personal projects (closed source), articles, videos, etc. Rule 3 (promoting your apps without source code) and rule no 6 (self-promotion) are not applied to this thread.

Please check sidebar before posting for the wiki, our Discord, and Stack Over...

[
https://redd.it/18fu0c1
@reddit_androiddev

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

AndroidDev - Reddit

How can I remove a underline of Text on Android Wear Notification?

&#x200B;

https://preview.redd.it/yavh84e3el5c1.png?width=2212&amp;format=png&amp;auto=webp&amp;s=5bd00a22d700631680c52096c8dfe72e90e171ed

Hello? I am developing a Android Wear Application.

Recently, I am testing my app on Galaxy Watch 4.

And I noticed that underline is added automatically to some texts which have series of number.

&#x200B;

Here is a step to reproduce my problem.

1. Create a notification which have a content "2023. 12. 11" .
2. Notify the notification on Galaxy watch 4
3. If Galaxy W...

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

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

AndroidDev - Reddit

What data do I need to retreive to get the unique identifier of each android device?

I'm trying to implement a way to restrict free trial subscription for my app. Basically, a single device can only apply for 1 free trial in its device lifetime, even if they have changed the account or created a new account (to prevent abuse).

Is there a way to retrieve such unique identifier? What permission do I need to get?...

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

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

AndroidDev - Reddit

Dsp file in /vendor/sys

Hello guys. I have a question.
Device Codename : Begonia(meditek offcourse)

Does anyone knows the library equivalent of file vendor.qti.hardware.dsp@1.0.so present in snapdragon devices in system/vendor/lib64 for image processing?

Actually I'm tryna use ported miui gallery on custom rom & one feature demands this library vendor.qti.hardware.dsp@1.0.so
& This library is present in Qualcomm Snapdragon devices however my device is mediatek...

Any idea?...

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

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

AndroidDev - Reddit

Zooming out Twilio Migration
https://dev.to/video-sdk/zooming-out-twilio-migration-5glh

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

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

AndroidDev - Reddit

Question about Google Play Strike Removal program

One of my apps got suspended. After appealing and engaging in a substantial conversation with support, I received an email from Google Play titled "Action Required: Google Play Strike Removal." I completed the training and successfully passed the assessment.

However, even though they mentioned the strike would be waived within 48 hours, it has now been exactly 48 hours, and the app's status is still suspended.

Has anyone dealt with the Google Play Strike Removal program and successfully regain...

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

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

AndroidDev - Reddit

Open source app for Volunteer fire department dispatch...

I volunteer for a extreme rural volunteer fire department and we have 7 trucks. We want to start using tablets for navigation in our trucks but we have some very significant challenges that have prevented us using these types of apps in the past.

Specifically,

- only about 75% of our area has cell coverage
- No budget for cell connectivity anyway
- Drivers are all over the age of 50, not very tech minded and hopelessly horrible at any mobile/tablet activity

I am working on a pilot that will ...

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

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

AndroidDev - Reddit

What are the real use cases that led you to use Kotlin extension functions or properties in your projects?

Sometimes when I learn something new in Kotlin, I ask ChatGPT for practical examples to better understand it. However, the examples given by AI can sometimes seem illogical.

Today, as a newcomer to Kotlin, I learned about Extensions. Seeing real-life examples of how Extensions are used really helped me understand them better and increased my knowledge.

I'd like to ask you: In your projects, when do you find it useful to use extension functions or properties? Additionally, do you still ...

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

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

AndroidDev - Reddit

Android FDE and FBE

Hello, is there any book that easily and deeply explains the cryptographic application of FDE and the new FBE on android devices ?...

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

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

AndroidDev - Reddit

Difference in app quality between Android and iOS

In articles related to Android bs iOS, I have read that 3rd party apps are better in iOS than their Android counterparts. But my question is that is this problem of OS? Isn't it upto the developer? Anything beyond developer's control for this?...

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

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

AndroidDev - Reddit

For those DAO, Services, how about using static objects with mockk for test

The official suggests using dagger/hilt to inject them. However, they could be static based on the customized static ApplicationContext. Although dagger/hilt aids in unit testing, mockk can accomplish this easily as well by modifying bytecode during run time. As for the stability, mockk has 5000+ stars on GitHub and keeps renewing.

Here is a small mockk example.

https://preview.redd.it/mhsl2b05u15c1.png?width=1710&amp;format=png&amp;auto=webp&amp;s=4122a0c2b9389697acd9db5ad8...

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

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

AndroidDev - Reddit

Is using the Google Play Game Services SDK for authentication considered as creating an account?

I am trying to fill out the Data Safety form, but I am not sure about this.

Is using the Google Play Game Services SDK for authentication considered as creating an account? I only use GPGS and don't have an account creation process. Should I choose 'My app does not allow users to create an account,' or is simply using GPGS to authenticate users considered as account creation? ...

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

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

AndroidDev - Reddit

Wave Loading View for compose

&#x200B;

Wave Loading Compose

The original https://github.com/tangqi92/WaveLoadingView is no longer updated. Thought it would be nice to have a compose version

Source: https://github.com/NelzkieLabs/WaveLoadingComposeView/tree/master

&#x200B;...

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

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

AndroidDev - Reddit

Android Studio Hedgehog: How to keep the last active build variant?

After upgrading to Hedgehog, whenever I open a project, the IDE will always set the active build variant to default, not last used like the previous version.

How do I get it back? Always switching build variants after opening up a project is not necessary.

Imgur: The magic of the Internet...

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

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

AndroidDev - Reddit

Reddit Recap: State of Mobile Platforms Edition (2023 Edition)

&#x200B;

Reddit Recap: State of Mobile Platforms \(2023 Edition\)

Hello, Android friends. It's us again, back for another year to share some of our learnings from how we've worked to improve the mobile platforms at Reddit. We appreciate r/androiddev and how it supports the worldwide Android community.

We answer questions like:

How is adopting a modern tech stack going?

...

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

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