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

Sync Room Database and Spreadsheet with Sheets API (Kotlin)

There seem to be no recent guides on that:

I have an Android App with a Room db and a private spreadsheet in the google cloud. I already made a project in the google developers console, activated the Sheets API and am able to sign in to my Google account in my App. Now I want to sync a table of the Room db with this spreadsheet.

What do I have to do in Kotlin to tell where the spreadsheet is and to get access to it?...

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

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

AndroidDev - Reddit

I received a message stating that my Google Play account would be suspended due to its association with another suspended account

The day before, I received a message stating that my Google Play account would be terminated due to its association with another terminated account.

I have about five Google Play accounts and none of them are terminated, but they contain applications that have been suspended for years (no application has been suspended in two years)..

I contacted a Google employee and he asked me for some information, such as my bank account and identity, but I don’t know what will happen next ... My accoun...

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

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

AndroidDev - Reddit

Guys, Beware of This New Scam!




https://preview.redd.it/l9jr6wh8hujc1.png?width=1797&format=png&auto=webp&s=807f521f053280e8caa225257119419cba48e671

https://preview.redd.it/108iqxh8hujc1.png?width=632&format=png&auto=webp&s=4d9082a0bb293b0d98a7ca2c46c37d95b8fe57cd

I've received an email that appears to be a scam, though it seems pretty legit at first glance, and I want to warn everyone about it. Scammers are using the email address google@developers-support.com to trick people. They claim that your developer account...

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

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

AndroidDev - Reddit

Windows 11 Or Linux or QEMU (KVM on Android: Google Pixel, or Nothing Phone?)

Hello all,

I am thinking of buying a Pixel 6 or 7 because I want to run Windows on Android.

I am sorry if someone has already answered these questions:

1. How to enable KVM on Pixel? (If I need to root that's fine; I have rooted a Pixel before, but it was a 3A, and seeing how my next Pixel device will be a bit more expensive, I really don't want to break anything)
2. Does Nothing phone Support KVM? If so, how to enable Linux/Windows Virtual Machines on it?

I have been reading across the Inte...

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

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

AndroidDev - Reddit

XML or Jetpack Compose for an internal app in my library?

Hello all, I am currently working on a new feature in my library, basically it is an application that shows the history of the performed events in my library (a centralized analytics library) and I wonder if it's the right decision to make it using Jetpack Compose or should I stick with the old way (XML).


Both methods have their pros and cons, but my main concern with using Jetpack Compose is its interoperability with older apps. ...

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

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

AndroidDev - Reddit

Learnt side-effects in jetpack practically by mistake,

So, I have started learning jetpack compose since a few weeks. I read the whole documentation and theory, read many times that composable can execute in any order and recompose many time etc etc.

So I started making a project on my own using GitHub api and I called fetch function of viewmodel inside my composable and was logging the response for the first run and my log cat was up and running and running and running. It was too late when the rate limit reached then a Google search told me now w...

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

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

AndroidDev - Reddit

Best language to make an app with 3D models in it

Hello everyone. I'm getting a bit overwhelmed these days trying to figure out how to solve my problem. I want to create an app that serves as a productivity application. Therefore, it needs to have a good UI, (so I'm excluding Unity due to its UI limitations), AND the ability to incorporate 3D models. Now, I could write the code natively using Swift for iOS and Kotlin for Android. However, I've learned that SceneKit, the framework used in Swift for 3D models, has not enough community support, an...

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

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

AndroidDev - Reddit

Implementation example of Messenger App for Android

Hi r/androiddev!

I’m excited to share an implementation example of Messenger App for Android written in Kotlin based on ConnectyCube SDK. You can use it as a base to speed up the development of your own chat/video chat apps.

Wishing you a productive week ahead filled with successful coding!...

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

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

AndroidDev - Reddit

Is there any way to auto add/force developers to add migration for room database.

I am developing an application for client. Their requirement was that the app shouldn't crash if in future any developer changed schema. They also want to retain data from some tables always. For Previous apps clients implemented app version code to be version code for the database and added fallbackToDestructiveMigration() . In our case some tables have to be retained. Whats the best possible thing to full fill this case.

What's the general approach you follow to not miss adding migration str...

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

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

AndroidDev - Reddit

Google play pre-release review exasperation!

I'm not sure what to do here and I'm wondering if anyone else has experienced similar and can offer advice:

My app is already in production, the version that's currently live failed review a couple of weeks ago quoting this policy:

Your offer does not clearly and accurately describe the terms of your trial offer or introductory pricing, including when a free trial will convert to a paid subscription, how much the paid subscription will cost, and that a user can cancel if they do not want t...

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

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

AndroidDev - Reddit

Any alternatives/fixes to Android Drawable Importer?

I recently learned about it only to find that it doesn’t work anymore. The most recent fix I found was from 3 years ago and is on a dead site. Anyone know any alternatives or fixes?...

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

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

AndroidDev - Reddit

Merchant account in Georgia (country)

Why doesn't Google support merchant account in Georgia (country)? All countries around Georgia are supported. Is there any way to speed up the process of including a country in support? This makes life very difficult for an indie developer.

​

https://preview.redd.it/f57kuuo6xmjc1.png?width=572&format=png&auto=webp&s=bc32dc922549e3764be7b4918560a4ae3620d9ac...

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

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

AndroidDev - Reddit

Google Play Console Closed - How about freezing the account as a sign of warning?

So google just decided to close my google play console account.. Has anyone else had the same fate lately? I here you can not recover it no matter what its gone... How fair is that if the app was active with downloads. How about freezing the account as a sign of warning for a month at-least. Who else thinks this is actually an act of over reacting?????? ...

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

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

AndroidDev - Reddit

Is it possible to see in Play Console what % of downloads found your app via direct search?(not cat or tag).

By direct search, I mean searched for an app by name. For the life of me I’m not seeing this and seems like it should be there. Thx! ...

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

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

AndroidDev - Reddit

Type Stability in Compose
https://medium.com/stackademic/type-stability-in-compose-f4490178a2ee

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

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

AndroidDev - Reddit

Android Biometric Authentication With BiometricManager
michalankiersztajn/android-biometric-authentication-with-biometricmanager-8e804781a884" rel="nofollow">https://medium.com/@michalankiersztajn/android-biometric-authentication-with-biometricmanager-8e804781a884

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

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

AndroidDev - Reddit

Your advertising ID declaration in Play Console says that your app uses advertising ID. A manifest file in one of your active artifacts doesn't include the com.google.android.gms.permission.AD_ID permission.

I'm adding a app bundle that implements google ad mob into my project. I've already added the necessary additions to the manifest and updated the app content to include analytics. I'm already in production and the previous versions of my app don't include ads. Is this error caused because the new version has ads and the prior versions are not compliant with the new permissions and changes. If so should I just ignore this and upload anyways. The full error message I pasted below, any help would ...

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

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

AndroidDev - Reddit

How to create a virtual physical keyboard or any other HID(mouse, gamepad, etc) in Androidno root

I have digged the internet upside down to find this information for a personal project that I got stuck on for years and I kept on coming back to it everytime.


I eventually figured it out thanks to WuDi-ZhanShen's project through a scrcpy issue page. And since this was basically nowhere to be found in the internet, I decided to share it over here


Proof Of Concept


Download classes.dex from AndroidUHid...

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

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

AndroidDev - Reddit

Making Login app in Java on Android Studio

so, I am practicing Android development through online resources. Now to practice my knowledge I wanted to make a personal project of login and then a calculator. but i am stuck at Login only.
I feel like Android studio has such a bad interface and it just keeps getting hung.
is there any solution for that?


Other than that here's my code if anyone could help me i am not able to even change from one interface to other.


First Page => MainActivity.java

`Button loginButton = findViewByI...

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

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

AndroidDev - Reddit

Why capturing the screen with two different methods but with same compression and quality gives different OCR results?

Please note that I am not seeking help in finding a solution but I want to simply understand why capturing the screen with two different methods (but with same compression and quality) gives different OCR results.

I am taking screenshots on Android with two different methods:

1. By running /system/bin/screencap -p $path
2. With the MediaProjection API.

Even though it's the exact same screen, when performing OCR (with the use of Tesseract) I get different results.

With /system/bin/screencap I...

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

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

AndroidDev - Reddit

relock bootloade Blackview BV6300 Pro

Hi,

I've a blackview bv6300 pro, I would like to perform a bootloader relock but I cannot in any way. When I reboot the phone in fastboot I issue the following commands:

​

https://preview.redd.it/6fxho6w56rjc1.png?width=927&format=png&auto=webp&s=09801cfb99d0ad9b78e5b420d92f698dba384ca1

​

https://preview.redd.it/xws1qo496rjc1.png?width=820&format=png&auto=webp&s=074b3ab4866a57cbd74c67d1530c589981f66407

Any suggest?

​...

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

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

AndroidDev - Reddit

Re-implementation of Android app - use same or different id?

Our v1 app has been re-implemented (v2) with modern architecture and libs, etc, but with mostly the same features as v1, with some technical improvements/bugs solved. We would like to release it in Play as a new app (different id), so users can choose between the old (stable) and the new one (which may eventually break). Also, the backend for v1 is different from v2.

The app is a very niche business app and those who use it depend on the app for their daily workflow, so it would be risky to hav...

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

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

AndroidDev - Reddit

Is there any plugin that can convert json to kotlin and format the spacing like in the image?
https://redd.it/1ave0fs
@reddit_androiddev

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

AndroidDev - Reddit

Help Needed!


Hey everyone,

I'm currently working on an Android Kotlin Jetpack Compose project and I'm trying to implement a custom crash dialog and error collector. What I'm aiming for is when the app crashes, a custom dialog should appear, explaining to the user that something went wrong. It should provide an option to send a report, containing the error details (similar to what you see in the Logcat when connected to Android Studio via USB debugging). Additionally, there should be an option to cancel and...

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

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

AndroidDev - Reddit

Benchmarks for apps

Hi,
I'm building a marketing plan for a mental health app planning to launch soon. I'm working on budget planning and need to understand benchmarks for certain stages like installs to registered users.

I've done research and can see that...

* Apple Store Search Ads
* Health & Fitness category
* CPI - $1.87 - $2.95 (Avg. $1.88)
* Tap-Through Rate - 9.95% - 17.84% (Avg. 15.69%)
* CVR - 65.76%
* Cost per tap - $0.98 - $1.94 (Avg. $1.33)
* CPM - $84.37 - $193.19 (Avg. $111.23)...

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

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

AndroidDev - Reddit

What is the smallest reasonable screen size I should account for in my responsive app?

I stumbled across this subreddit from 8 years ago, but I figured it was outdated and we would have bigger screens now....

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

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

AndroidDev - Reddit

Google play rejected app on "- Policy Declaration - Data Safety Section" more specifically on user account/deletion link.

I have included the user account deletion link but still getting rejected. They are saying the link does not link to a valid page. How can i solve it?

Rejection reason in email:

We found an issue in the following area(s):

* **Policy Declaration - Data Safety Section**: **"URL provided https://admin.meetleelou.com/leelou/deleteaccount does not link to a valid page"**...

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

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

AndroidDev - Reddit

Error Message

Hello everyone.


I am getting the following error on my code:
@ Composable invocations can only happen from the context of a @ Composable function.


I've posted the code here:
https://stackoverflow.com/questions/78023723/getting-the-following-error-in-my-code-composable-invocations-can-only-happen


Any help would be greatly appreciated \^\^...

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

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

AndroidDev - Reddit

Keychron k4 pro - Auto sleep mode shortcut is not working

Hi.

The shortcut (fn + s + o) to disable the auto sleep mode on my keychron k4 pro is not working.

How can i turn off the auto sleep mode on this keyboard?

What is the correct shortcut?...

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

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

AndroidDev - Reddit

Liberar espacio de almacenamiento
https://redd.it/1autepy
@reddit_androiddev

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