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

Is there a way in the play dashboard to view device models an app is installed on?

e.g., Pixel 5 or Note 9, etc. Motivation is so I can focus testing towards the most popular devices with installs....

https://redd.it/khpcqq
@reddit_androiddev

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

AndroidDev - Reddit

Growing as an Android/Mobile dev

Hey,

I've found this desire and an ambition to become a mobile dev. I have some coding experience but most of it was just programming tasks for my uni with C/C++/Java, I haven't coded for myself a lot so I'm basically a beginner. I'm a QA junior software test engineer where I test bugs and features on a wide range of Android and sometimes iOS devices. I really enjoy my job and want to continue to grow in this area but as a developer. Over the past few weeks, I've been messing around with Androi...

https://redd.it/khl2zf
@reddit_androiddev

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

AndroidDev - Reddit

What activites/fragments/intents/bundles/etc. do I need to make this app?

Hey guys, sorry I'm new here, but I've been trying to learn mobile app development for a while now, and I'm trying to make one big application.

The application I was thinking would be a smart home kind of thing like this:

\- 1) Login screen with username, email, and home address

\- 2) ListView fragment where you can select to view one of 2 sensors, or your login details, or logout and bring you back to the login screen

\- 3) If you want to view the sensors, it then has a light sensor that wi...

https://redd.it/khm0v0
@reddit_androiddev

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

AndroidDev - Reddit

Me, myself and SDK

A SDK has a lot of functions which you can incorporate in your project to make the development phase faster but it doesn't contain any actual source code right? I'm sorry for the dumb question......

https://redd.it/khl3fl
@reddit_androiddev

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

AndroidDev - Reddit

Weekly Who's Hiring Thread - December 21, 2020

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/khhxmn
@reddit_androiddev

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

AndroidDev - Reddit

What's the play store app review time like these days?

I just submitted my first app for review after working on it pretty much all through quarantine and I was wondering what kinda time frame I should expect. I found some threads from several months ago saying it could take over a week due to covid, especially for first time publishers. Is this still the case? Has anyone here published an app recently and if so how long did the review process take for you?...

https://redd.it/khgsvm
@reddit_androiddev

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

AndroidDev - Reddit

ACCESS_BACKGROUND_LOCATION permission (declaration form) confusion

With the upcoming Location permission declaration policy requirement, can someone please explain how `android.permission.ACCESS_BACKGROUND_LOCATION` supposed to work, when it's required, especially for foreground services, how to request it, when it's granted, and when a policy declaration form submission is needed?

The official documentation is vague and contradicting...

* Supposedly a "foreground service" (app) shouldn't use the permission at all, but the [GMS Geofencing API](https://develop...

https://redd.it/khe6z0
@reddit_androiddev

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

AndroidDev - Reddit

How to make the horizontal scrollable list for titles in the vid (Deliveroo app)?

https://redd.it/khbif8
@reddit_androiddev

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

AndroidDev - Reddit

How to add permissions request to pre-existing app

First, let me start by saying I am not a developer. I'm just a gamer trying to record some footage. However, the app I'm trying to record doesn't request audio permission, so my recording app can't record the internal audio for it. I was hoping that I could add the permission into the manifest file via android studio, but I'm a complete noob and every time I try to paste the code into the manifest file nothing happens and the code just disappears.


Any help or advice would definitely help. I...

https://redd.it/khbv36
@reddit_androiddev

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

AndroidDev - Reddit

Why are mobile apps better than web apps?

(besides performance and/or data tracking)

I am a web developer. I am really interested in mobile development, but I just can't seem to find an idea or a reason to make a native app as opposed to a web app. For example, I was interested in making a PSD viewer app. But with a little Googling, I found that you can view PSDs via a web app on your phone, or your computer, without downloading anything. So why bother making it native?

Many of the mobile apps I look at seem to be made for larger comp...

https://redd.it/kh9pdi
@reddit_androiddev

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

AndroidDev - Reddit

"Foreground Service" Notification Question

I know that a foreground service (those notifications you can't swipe away) will keep an app running for longer and give it some special rights that it doesn't get while running in the background. If the user disables its notification category, will that kill the service, or does it just hide it?...

https://redd.it/kh7q94
@reddit_androiddev

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

AndroidDev - Reddit

Samsung phones allow users to turn off fast charging (while the phone isn't charging). Is there a third party app that allows users to do this with other phones, or can someone build an app like this?

...

https://redd.it/kh1zal
@reddit_androiddev

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

AndroidDev - Reddit

Theming and theme/style attributes discussion

Hi,

I have recently been working on improving theming/styling at work as part of adding a dark mode to the app. Something that have stricken me from the get-go is how poorly all the possible themes/styles/attrs are documented! I cannot do almost anything without googling and finding some obscure answers only on Stack Overflow (obviously).

As an example:

1. Change typeface/size of a toolbar menu item, one that does not show as icon.
2. Change look of dialog positive button
3. Change color o...

https://redd.it/kh14r3
@reddit_androiddev

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

AndroidDev - Reddit

Calpose: Jetpack Compose Calendar library which does the heavy lifting for you, so you can focus on the UI

Hey everyone,

I created the Calpose library, which is a Jetpack Compose library that renders a calendar depending on the Composable widgets you feed it. This means that you can focus on your UI while the library takes care of the calendar-intrinsics under the hood.

Considering it's my first Jetpack Compose library, I'm really open to any and all suggestions and or criticism!...

https://redd.it/kh1eis
@reddit_androiddev

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

AndroidDev - Reddit

Enabling WIFI through Terminal on Android 7.1

Hi, Is there any command to enable WIFI on Android 7.1 with Terminal ?

I've tested "svc wifi enable", and It's not working. Only "svc wifi disable" works but slow!...

https://redd.it/kgxpye
@reddit_androiddev

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

AndroidDev - Reddit

How to write bluetooth data to Array or text file??

Hey everyone, I am beginner at Java and android developping.

My goal is to write and save the data which I get from arduino via bluetooth. I want to save that data to an Array or to .txt file. I found a similar project that reads the bluetooth data but I couldn't convert it to use it on my own project. The code is

https://preview.redd.it/fajffh6ozl661.png?width=985&amp;format=png&amp;auto=webp&amp;s=840cd911b98f02cf7fbc815347734e174231b2be...

https://redd.it/khqryo
@reddit_androiddev

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

AndroidDev - Reddit

How do you measure the success of your apps

I have three apps in the playstore which all do live by user generated content.

First one is like meetup but only for social volunteering organized by the members.

Second one is an app to let gamers create adverts to find people to play with meeting certain criteria.

Third app is to find other musicians to make music or found a band.

On the first app I do get daily installs and almost 1 or 2 registrations per day. But so far only two adverts have been created which I think is due to Corona....

https://redd.it/khn8sq
@reddit_androiddev

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

AndroidDev - Reddit

In-App Update

I have been trying to integrate in-app updates to my android app. I have successfully tested that through the internal app sharing and it is working fine there but it is not working in the production. What could be the possibile reason for that? Any help would be appreciated thank you....

https://redd.it/khm248
@reddit_androiddev

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

AndroidDev - Reddit

Getting rid of findViewbyId with databinding

I have this inner class in my viewModel and I need to get rid of the findViewbyId. I'm trying to use databinding but honestly it's confusing me a lot:

https://preview.redd.it/1rm1va3nhj661.png?width=1112&amp;format=png&amp;auto=webp&amp;s=76cb5c5bfa45f88fabc9ea7ff200f49e4e96dec0

This is R.id.bottomSheetContainer that I'm trying to inflate:

&#x200B;

&#x200B;

https://preview.redd.it/gmll5qzbij661.png?width=728&amp;format=png&amp;auto=webp&amp;s=263bff763ddda991fa7a6bb1e68fdcee10396a2b

Thanks...

https://redd.it/khh4g8
@reddit_androiddev

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

AndroidDev - Reddit

app publishing status stuck on "in review" for too long!

we are trying to publish our app in google play and uploaded it more that two weeks ago and since then app status stuck on "in review" and didn't seen a progression.

another app with another account accepted after utmost 2 days (we uploaded both in same time)

google didn't respond to ticket and we can't delete our uploaded package or add another package with neither existing account nor new account (because of app package name conflict)

it's taking really too long and becoming critical for o...

https://redd.it/khhaei
@reddit_androiddev

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

AndroidDev - Reddit

Is there a way to rollback to the previous version of the app in google play console?

Everytime i select from add from library, i keep getting this error

You can't roll out this release because it doesn't allow any existing users to upgrade to the newly added APKs.

How do i fix this?

thanks...

https://redd.it/khfyza
@reddit_androiddev

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

AndroidDev - Reddit

Looking for a hobby project partner

I am developing an chatbot android(Java) application. I am currently working on the NLP/AI part, it is the area of my interest and I am also learning android for developing the frontend.
This is a hobby project of mine on which I have wanted to work for a long time. Basically the idea is to create a chatbot AI with simple commands. This app will have voice recognition using Google Voice and Socket.io integration to compliment the backend.
As it is quite an ambitious project for a me as I have no...

https://redd.it/khe9j2
@reddit_androiddev

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

AndroidDev - Reddit

What should I learn to make this app?

I've been learning to code as a hobby since the whole pandemic. I saw a lot of suggestions saying that trying to build a project is the best way to learn. So I am trying to build a app for my work place. I work at an after school program where we pick students up from school and help them with their homework until their parents come to pick them up. So the student's parents are the target of the app. So far I have these ideas in mind for the app

- A login screen for the parents

- Ability for t...

https://redd.it/khc9uu
@reddit_androiddev

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

AndroidDev - Reddit

Is there a way i can delete that particular highlighted file in android studio? I am very new to this and hence any help is appreciated
https://redd.it/khau29
@reddit_androiddev

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

AndroidDev - Reddit

Sr Software Dev -> Dev Manager, what was your salary % increase

Hello, as per title.
I'm a Sr Software Developer/Tech Lead about to be promoted. There will be some salary discussion so I would like to know what was your experience. We may differ from company to company, country to country but the data will be valuable for me and plenty of other Devs in similar moment of progression in their career.

Thanks!...

https://redd.it/kh91d5
@reddit_androiddev

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

AndroidDev - Reddit

Just wanted to let you all know I had the weirdest things just happen to me. Maybe some feedback?

Still using version 4.1.1, Yes I know haven't updated in a while...

constraintLayout 2.0.4

I was using scrollView with a constraintLayout and was almost finishing up. Everything was literally fine and dandy, but then the scr-con-Layout decides to only encapsulate half the views that I have in it. None of the child views are nested underneath each other, all my constraints are fine and I have no syntax errors. it is literally just a "vertical linear layout". I must've spent over an hour trying ...

https://redd.it/kgyuy0
@reddit_androiddev

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

AndroidDev - Reddit

Seekbar - change progress color and thumbTip programmatically - Kotlin

Hi all!

I'm using Kotlin and created a seekbar in my App.

I would like to change it's colors onProgressChanged (programmatically in my MainActivity).

I can do it in XML in these attributes

android:thumbTint="@color/myColorTest"

android:progressDrawable="@color/myColorTest2"

&#x200B;

But I can not find the right syntax to do it programmatically. The examples I find are in Java and I'm not finding the right way to translate it to Kotlin. (here's an example in Java
@reddit_androiddev

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

AndroidDev - Reddit

Using View Binding with Convenience

Hi all. Inspired by the articles of zhuinden and crazy legend, i wrote an article on view binding too in which I share how our app used View Binding in a clean, scalable way with base classes , generics and delegations. Hope someone finds this useful https://anshsachdevawork.medium.com/using-view-binding-with-convenience-87979c680707...

https://redd.it/kh2w23
@reddit_androiddev

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

AndroidDev - Reddit

What package is the "lunch" tool in?

I want to compile LIneageOS from source and I have the android-platform tools version 30.0.5(linux) & the cmdline-tools-linux-6858069 packages installed from android.com but I dont have the "lunch" tool...

https://redd.it/kgzpul
@reddit_androiddev

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

AndroidDev - Reddit

Does Merch Account bank name must match Play Console name?

My Play Console(google account) name is my own name. But I want my family member to receive payments from IAP and Paid apps.

If I create a merchant account and write different name (bank account details) will it be accepted? We live in a same country....

https://redd.it/kgwkk3
@reddit_androiddev

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