• Breaking News

    Friday, May 21, 2021

    Android Dev - Weekly Anything Goes Thread - May 21, 2021

    Android Dev - Weekly Anything Goes Thread - May 21, 2021


    Weekly Anything Goes Thread - May 21, 2021

    Posted: 21 May 2021 06:00 AM PDT

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

    submitted by /u/AutoModerator
    [link] [comments]

    Gradle 7.0: Version Catalogs for Android devs

    Posted: 21 May 2021 02:22 AM PDT

    How to add haptic feedback to your mobile games on Unity3d

    Posted: 21 May 2021 12:15 AM PDT

    This is my 9th year of watching Google I/O and still excites me.

    Posted: 20 May 2021 09:00 AM PDT

    What did I do wrong with my APK min/max SDK when releasing to the Play Store?

    Posted: 21 May 2021 09:17 AM PDT

    I'm in the process of switching my Min SDK to a higher number but had to do a release for older phones and it all went terribly wrong.

    APK A (verisonCode 1) - Min SDK 14 - no Max SDK - 100% released (has been there for years).

    APK B (versionCode 5) - Min SDK 16 - no Max SDK - 100% for a few weeks.

    Then comes the trouble APK C (versionCode 6) - Min SDK 16 - Max SDK 19

    I did the Max SDK 19 release because my plan was to roll out another APK that is Min SDK 21 (has been beta for a while) a day later.

    When I put APK C to 100%, every user with Android API level 21+ started getting APK A instead of APK B.

    I realize APK C has a higher versionCode but shouldn't the Max SDK mean all 3 APK A, B and C would be active?

    Anyway, I've corrected the issue, made for a few messy hours plus APK A apparently doesn't work well on newer Android versions so my crash rate spiked with just that little bit of time it was live.

    I should have noticed the mistake when the release screen shows a summary of what it will do, I recommend everyone pay close attention to that.

    submitted by /u/instantbitsapps
    [link] [comments]

    Issue with Arctic fox

    Posted: 21 May 2021 05:26 AM PDT

    I am running Arctic fox 2020.3.1 android studio on Mac Big Sur 11.3.1. But whenever I launches the Android studio euther it never launched(only icon of AS appears in dock) or if it launched then it hangs on "Scanning files to index" process. Is there any fix for the issue

    submitted by /u/atulgpt
    [link] [comments]

    What monthly subscription fee is the most popular and most affordable for users?

    Posted: 21 May 2021 08:51 AM PDT

    Any statistics on what monthly subscription fee users like the most and is considered affordable for most people?

    submitted by /u/techsavvynerd91
    [link] [comments]

    Dealing with random ADB ports in Android 11+

    Posted: 21 May 2021 08:45 AM PDT

    ADB port used to be 5555 by default. There are a lot of tools that integrate with android devices using ADB. One example is Home Assistant using the AndroidTV integration. Lucky for them most (if not all) ATV devices are not running Android 11 yet.

    In Android 11 it seems standard that the adb port is randomized.

    I am also developing an application that interacts with Android devices using adb; however I need to integrate with devices running Android 11. I would think with this change that the adb.exe would have a port scanner function built in to automatically find the correct adb port, but I was not able to find any such command.

    Short of including a port scanner in my application is there any other ways to deal with this?

    I was thinking tasker or macrodroid could probably be used to execute a shell command to change the adb port... Does such a command exist?

    submitted by /u/ReenigneArcher
    [link] [comments]

    Autoscaling Linearlayout and TextView

    Posted: 21 May 2021 08:39 AM PDT

    Is there a way to auto-scale Linearlayout when TextView is too big? Like Facebook posts. When text or image is to large the layout is getting higher. I tried to do it via xml file but I didn't make it. Any suggestions?

    submitted by /u/CTimer_ml
    [link] [comments]

    224ppi its hdpi or mdpi qualifier?

    Posted: 21 May 2021 08:27 AM PDT

    Just wondering, it's between 160 and 240. So which scale I should use 1x or 1.5x?

    submitted by /u/Makm_24
    [link] [comments]

    What is the difference between “store listing acquisitions” and “new users acquired” on Google Play Console?

    Posted: 21 May 2021 07:25 AM PDT

    Netflix like forward/rewind animations

    Posted: 21 May 2021 07:09 AM PDT

    Netflix like forward/rewind animations

    Hi,

    I just published android library that allows to you custom fast forward/rewind animation behaviours like Netflix. Open to all kind of feedbacks. Feel free to contribute.

    If you like it, stars would be appreciated.

    Have a good day :)

    https://github.com/ertugrulkaragoz/SuperForwardView

    https://i.redd.it/5o12omn5eh071.gif

    submitted by /u/ertutheceset
    [link] [comments]

    [Help needed] Signing apk problems

    Posted: 21 May 2021 05:45 AM PDT

    Material You's Google Sans Text Announced In Google I/O 2021! Download Links In Comments!

    Posted: 20 May 2021 09:02 AM PDT

    Running Android Studio on Remote Desktop

    Posted: 21 May 2021 04:05 AM PDT

    I am using Android Studio on Remote Desktop and it's terribly slow, even though the Windows VPS I am using has 8 virtual cores and 8 GBs of RAM. I've tried a million different speed optimizations that are out there on YouTube and just can't seem to figure it out.

    When I am about to launch and AVD, I get an error: "Your CPU does not support VT-x technology". So, I switch to the ARM and it takes 10 minutes to load the device, regardless of which one is it. I don't understand why this error appears when I am using the whole software on a virtual device.

    Remote Desktop Connection I am using is Windows 2012 R2.

    Any advice on how to resolve this would be greatly appreciated. Thanks!

    submitted by /u/bokica01
    [link] [comments]

    What’s New in Android 12 For Developers?

    Posted: 20 May 2021 04:43 PM PDT

    Calculate app visitors

    Posted: 21 May 2021 02:18 AM PDT

    Hello! I'm developing an android app using kotlin, is there a code can calculate the app visitors(not downloads) ?

    submitted by /u/Tebai
    [link] [comments]

    How to prevent app being stolen during development?

    Posted: 21 May 2021 12:21 AM PDT

    Hello guys!
    I recently started to make community to develop app idea and it has been grown to some people. Now, as we are friendly community who are collaborating, our main goal is to increase our professional skills and find new friends while working on a side project. The question is, how do I ensure that the app code or the idea or any of the work is not stolen or copied? As members of the project are collaborators, and we are not a company, what are steps I can take to prevent someone from stealing the work we all have put in? The App is not yet published on play store.
    The hardest part which I understand is that most of agreements happen between company-individual (or something like that). Does anyone has experience/advice?

    Thank you!

    submitted by /u/Starcheeak
    [link] [comments]

    Useful Kotlin Extensions for Android

    Posted: 20 May 2021 04:47 PM PDT

    Comparing the performance of two identical android apps

    Posted: 20 May 2021 09:33 AM PDT

    Comparing the performance of two identical android apps

    https://i.redd.it/1oharynqya071.gif

    I have built the same application twice with react native and with kotlin. I am writing a paper about different ways of building mobile applications. A section of the paper involves conducting a performance comparison of a native and non-native. I am lost for methods on what tasks I can perform on each app and how I can accurately or somewhat accurately record some metrics.

    Here is a set of gifs demonstrating what the applications do.

    What are some ways I can compare these two applications? With what tools? any suggestions and comments will be much appreciated

    submitted by /u/pokumars
    [link] [comments]

    I feel like a dumb failure

    Posted: 20 May 2021 08:23 PM PDT

    I (26 Male) am currently an iOS developer. I just picked that at the time that I was hired because it seemed to be the better option. However, I had never done iOS development before and I am not a fan of iOS now. I am not great at my job. I have almost 1 year in it now and I am the slowest iOS developer on the team. I have been criticized already by my leads. I asked my manager if I can switch to the Android team, and he said that I could. However, I do not know anything about Android development and will be even worse at it than people who started at the same time that I did a year ago. I have never been the sharpest tool and that has taken a toll on my self-esteem. I don't want to be fired and have to go and live with my mom. That is going to really harm my record. However, I definitely like the freedom of Android more than iOS since Android is open source and people can get any apps that they want on them, so the idea of Android is definitely more appealing to me so I will be more motivated to work.

    However, other personal things are going on in my life. And bad things just keep happening and that is affecting my work. I have no idea what to do.

    submitted by /u/JamesAcid
    [link] [comments]

    Emulator for Firebase

    Posted: 20 May 2021 11:28 AM PDT

    No comments:

    Post a Comment