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

One Ui look of app

Im wondering if there is an dependency avaliable to import to give apps One Ui look. Or is it only Samsung inside thing? ...

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

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

AndroidDev - Reddit

Understanding suspend to ram in android AAOS

I am currently trying to understand how suspend to ram works in Android via the power manager https://source.android.com/docs/automotive/power/power_policy.

I have not find any answer going through the documents and Android source code how activity manager handles broadcast queue during suspend to ram?

If a suspend event is triggered does all the broadcast intent get received before the suspend or does it stay in the queue and starts executing its intent in the queue after resume ?

Please h...

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

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

AndroidDev - Reddit

What's a good alternative to Google Admob?

Looking for similar or higher paying alternatives...

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

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

AndroidDev - Reddit

My OnePlus 7T is stuck at 60Hz all the time
https://redd.it/1bd7nh8
@reddit_androiddev

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

AndroidDev - Reddit

An organic Google Play download generates more revenue 14/60 days in than an App Store on in Japan & South Korea

From RevenueCat's State of Subscription Apps report (un-gated, no email required)

RLTV \(Realized Lifetime Value\) for 2 weeks and 60 days of earnings after download, broken down by region....

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

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

AndroidDev - Reddit

2024 still no elegant solution to see if soft keyboard is visible

Saw this post which is updated on comments from 2010, still haven't found in sdk a listener for the soft keyboard visibility, at least I had a good laugh

https://stackoverflow.com/a/3081465/3288058


https://preview.redd.it/3w9we5f28xnc1.png?width=767&format=png&auto=webp&s=25b9a43e43735a2a8a73638b43308ead0ee88692...

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

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

AndroidDev - Reddit

Study android development

Hello. I'm starting my journey in android development. Could you please share open source example apps with current best practices so I can learn from them? Kotlin, coroutines, pagination, dagger or hilt. This is what I know so far....

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

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

AndroidDev - Reddit

I'm so confused...

Hi I'm 15 years old guys who wants to learn Android development and become an Android developer. But I'm really bad at Math i hired a teacher for it. I'm confused Should I Learn Math and Kotlin at the same time. Or Just math for now? Teacher started me from 5th grade math Multiplication and division. I even struggle with them. What should I do?...

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

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

AndroidDev - Reddit

Creating a Compose Multiplatform iOS and Android application with barcode scanning functionality

Hey! I wanted to share a technical piece written by the Engineering Manager of Scanbot SDK, the company I work for. Maybe this would be interesting to some of you! It covers how to create a Compose Multiplatform iOS and Android application with barcode scanning functionality. Here is a small TL;DR:

This 'tutorial' provides a comprehensive guide to developing a cross-platform mobile application for iOS and Android using Compose Multiplatform and the Barcode Scanner SDK. It covers the setup proc...

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

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

AndroidDev - Reddit

Is there some kind of SwiftUI -> Jetpack Compose Cheatsheet?

Hi,

Do you guys know any good(I found some but they're very very basic) tool that compares SwiftUI with Jetpack Compose?


For example I'm trying to figure out an alternative to simple stuff like `.onAppear` and `.onChange` modifiers....

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

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

AndroidDev - Reddit

Worth it to start? Jobs

Hi guys,

I'm 27 years old and just finished my Bachelor's degree in Computer Science, I live in Brazil.

Is it worth it to study Native Android Development to find a job?

​...

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

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

AndroidDev - Reddit

Android Studio Foldable Emulator. View Both Screens At The Same Time.

Hi

I would like to work on enchancing an existing project to make use of the new API within Android 14 that allows application to use both the inner and outer screen of a foldable phone such as the pixel fold or galaxy fold at the same time.

I currently do not own a foldable device so would like to use the device emulator within Android Studio.

It can emulate a pixel fold but I am trying to figure out how to get the emulator to display both the inner and outer screens at the same time to tes...

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

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

AndroidDev - Reddit

Need to create a Bottom navigation bar (custom back handler)

Need to create a bottom navigation bar with three tabs which returns to home tab whenever back button is pressed ( if three tabs A,B,C always return to A from B or C and clear the backStack) , Cannot find document without the use of fragments.

enum class Tabs(val icon: ImageVector, val title: String) {
Home(Icons.Filled.Home, "Home"),
Add(Icons.Filled.Add, "Add Friends"),
Share(Icons.Filled.Share, "Share")
}

@Composable
fun CurrentChats() {
v...

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

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

AndroidDev - Reddit

Weekly Who's Hiring Thread - March 11, 2024

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/1bc3v1h
@reddit_androiddev

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

AndroidDev - Reddit

Kotlin Design Patterns: Abstract Factory Explained
michalankiersztajn/kotlin-design-patterns-abstract-factory-explained-79c6594d7a70" rel="nofollow">https://medium.com/@michalankiersztajn/kotlin-design-patterns-abstract-factory-explained-79c6594d7a70

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

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

AndroidDev - Reddit

Do I need to use Google Pay?

I'm creating an app to connect tutors with students via a video call. I would like to use Stripe to handle payments due to their API.

Would this require using Google Pay? If so, I can still use Stripe with Google Pay as the payment method, correct?

What percentage does Google take from payments?...

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

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

AndroidDev - Reddit

Resources for building a live-streaming SDK?

I want to build an SDK for live-streaming from Android devices and I can't find any complete resources about the process. I already know about native apis like Camera2, AudioRecord, encoders, muxers, rtmp, srt, but there's so much more in between. For example, if I capture raw signals from camera and mimicrophone, how do I synchronise them? This was just an example of knoledge gap, but there is so much more I need to know. so where can I find some learning resources about tis/ Anything helps, bo...

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

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

AndroidDev - Reddit

How do I make a stylus pen

Through series of events that I won't go into detail I am required to build an active stylus pen for an android tablet, now I did some research about the subject and got a broad idea of how I might approach but I need few more details


What do I need to do on the coding side of the things AOSP mentions that stylus support should be implemented on the app development side so I am not sure about should I be doing any coding (I assume I must at some point)

On the topic of hardware and actual buil...

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

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

AndroidDev - Reddit

App open behind other apps (Chromecast)

Hi everyone, as per the title I need to keep an app open behind other apps. I noticed that with applications like Netflix and Disney+ I have no problems, but when I go to open Plex, it closes the appointment that I leave open behind. How can I solve this problem?...

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

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

AndroidDev - Reddit

Most subscription mobile apps don't make money
https://techcrunch.com/2024/03/12/most-subscription-mobile-apps-dont-make-money-new-report-shows/

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

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

AndroidDev - Reddit

XML vs Jetpack Compose: Which Should You Choose?

When deciding between XML and Jetpack Compose for your Android project, it's essential to weigh several factors to make the best choice:

Project Complexity: XML is suitable for straightforward UI layouts and basic interactions. However, if your project involves complex UIs with advanced animations and state management, Jetpack Compose offers a more efficient and scalable solution.
Team Proficiency: Consider your team's expertise. If they are already proficient in XML and have a sign...

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

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

AndroidDev - Reddit

How do you read device s/n?

I tried searching stackoverflow. None are working now.

My app will Not be distributed by play store.

I can access device by adb....

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

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

AndroidDev - Reddit

What could be consequences of app being "different" for testers and users?

My boss is trying to force me to build a different version of app for google play console testers and for actual users.
Due to some legal problems we cannot get our app published under financial segment in some countries because our company does not have license there.
Im trying to tell him that this is extremely bad idea, but it seems like i will be forced to do so anyways.
Does anyone know of any cases when someone was doing this and got caught? And what were consequences? Was their app banned...

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

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

AndroidDev - Reddit

Should I start using compose for new projects?

I'm using Kotlin/Java and XML for new projects, I have made few components in compose before and I really like the ease (atleast until my knowledge) , I'm a indie Dev who publish apps on playstore and other platforms

My question is should I start making new apps totally in compose ?

I know I'm late in this new trend , but I'm not in a hurry either as I'm not doing a job where I have to be updated with each new technologies came in , I'm learning stuff that are easier to maintain for my small-...

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

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

AndroidDev - Reddit

How do you avoid duplication of common UI state/behavior between screens?

Scenario: I have a multi-screen form where each screen contributes to some form data. I use Jetpack's NavGraph and each screen fetches/mutates the form data using a shared repository, because that seems to be the recommended way.

Each screen has some behavior that I'd like to only have to define once somewhere. For example, when you go back to the previous screen it first asks if you want to discard your current changes in a pop-up dialog. I have one ViewModel per screen, so each VM needs to ha...

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

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

AndroidDev - Reddit

Development time - iOS vs. Android

I'm a UX designer for a mobile application with two separate apps and development flows for iOS and Android. My team has 4 developers for each platform.

Since I've joined, I've noticed Android development is lagging behind iOS a lot, like 4 or 5 weeks behind. I'm wondering, is this normal (or acceptable)?

It's not my responsibility to push the team, but I'm growing concerned about delivering key features for the business this year.

Thanks in advance, and sorry if this isn't the best place ...

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

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

AndroidDev - Reddit

How practical are unit tests in Android Development actually?

Those of you who have worked on Android projects with a ton of unit tests vs zero unit tests, how much tangible benefit do you feel you get from them? Being completely honest, how often do they actually catch issues before making it to QA or production, and would you say that's worth the effort it takes to write initially and modify them as your change logic?

My current company has 100% unit test coverage, and plenty of issues still make it to QA and production. I understand that maybe there wo...

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

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

AndroidDev - Reddit

I spent a week writing a robust internet monitor class which handles all cases (including when the user is using a VPN). Would love some feedback, and if you find the class useful please star my repo
https://github.com/abuicke/caimito/blob/master/lib/src/main/java/com/gravitycode/caimito/kotlin/net/InternetMonitor.kt

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

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

AndroidDev - Reddit

Weekly discussion, code review, and feedback thread - March 11, 2024

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/1bc2lt4
@reddit_androiddev

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

AndroidDev - Reddit

Google Play app access for reviewers - my app requires user to provide their own API key

This is my first Google Play app.

My app requires user to provide their own API key (for an LLM).

I could create an API key solely for Google Play reviewers. But I can only see instructions / provisions to give reviewers a user and password, but not specifically for providing them with a single credential such as an API key.

Does anyone have any experience with simlar app and requirements for Google Play app access for reviewers?

&#x200B;...

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

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