• Breaking News

    Saturday, November 6, 2021

    Android Dev - A Bug that Wasted Half My Day Debugging in Android Studio!

    Android Dev - A Bug that Wasted Half My Day Debugging in Android Studio!


    A Bug that Wasted Half My Day Debugging in Android Studio!

    Posted: 05 Nov 2021 07:51 PM PDT

    Stance on donation requests from Google?

    Posted: 06 Nov 2021 03:58 AM PDT

    I've had my app taken down in the past because I was displaying a popup pointing to my ko-fi page so people could contribute to the project (I think so far 3 people have contributed with a grand total of 15 euros so I'm certainly not getting rich).

    I was wondering if this has changed by any chance or if theres a way to circumvent this.

    My app is 100% free, no ads, and open source (which of course doesn't prevent me from getting some entitled users but that's another story lol).

    It feels wrong that Google won't even let you ask for donations using IAP, nor employing any external services. It kinda leaves open source developers orphan of a least a means of voluntary contributions from users.

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

    Android/Kotlin Bootcamp/Full Course - Any suggestions for a nice/big/detailed tutorial?

    Posted: 06 Nov 2021 03:24 AM PDT

    Hello everyone, firstly, few days ago I asked about mobile development and you helped me a lot, thanks for that!

    Now I have decided. I am going to learn Kotlin! I am going to develop mobile apps, but will have to do some backend stuff too. As I have read, with Kotlin I'll develop Android Apps, with KMM I can make them even cross-platform (still in beta(?)), but also I can do some backend (Ktor, Spring) for my database which is also important. Doing all of this with only one language is a big advantage for me.

    I've been reading/searching yesterday till 4:30AM (yeah, really) but couldn't find one big course, where everything I need is in one big Udemy course for example. I have found some Android Studio tutorials, then some Kotlin tutorials but Kotlin tutorial seemed a bit outdated, because Jetpack Compose wasn't in that course.

    Is there anything like "Swift Bootcamp by Angela Yu" for Android/Kotlin, which is updated to "last" Kotlin features, where I learn literally everything?

    Is there a step by step tutorial in Textform for Kotlin, from the very beginning (like not knowing anything) up to "master"-level?

    I have seen there is a big Kotlin documentation and "get-started" by kotlinglang.org themselves, but idk if that's straightforward course where you learn everything from the very beginning.

    I hope I'll be one of you soon, an Android (or even cross-platform / Swift) developer.

    Thanks!

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

    Getting list of PDFs from Downloads in API 29?

    Posted: 06 Nov 2021 07:28 AM PDT

    Hi. Api 29 deprecated the Environment.getExternalStorageDirectory method and my plans for an app flew out the window.

    The idea was to open a PDF with a certain name automatically, with minimum user interaction, knowing the PDF has a specific name and is in the Downloads directory.

    Now, I don't know what to do. Please tell me there's a different way? Thank you!

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

    Is there tool that can be used to validate the formatter correctness of strings.xml localization?

    Posted: 06 Nov 2021 02:03 AM PDT

    We have an app with 30+ localization, with each localization consists of >1k strings

    Sometimes, we will encounter app crash, due to incorrect string localization, with parameter(s)

    For instance, in English, we have

    <string name="backup_total_size_template">Backup total size: %1$s</string> 

    In our Mongolia translation, the translator mistakenly translate it to

    <string name="backup_total_size_template">Нийт backup-н хэмжээ: %1$d</string> 

    Since we are passing string type as parameter, the user who is using Mongolia localization, will experience crash.

    Is there any tool, we can use to perform 1 round scanning, to ensure there is no such mistake in our strings.xml, before shipping our app?

    I open up the problematic strings.xml from Android Studio. But, Android Studio doesn't give me any warnings/ errors regarding formatter correctness.

    Thank you.

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

    Herding Elephants – Wrangling a 3,500-module Gradle project

    Posted: 05 Nov 2021 10:58 AM PDT

    Maps SDK v3 which was in Beta is already deprecated?

    Posted: 05 Nov 2021 01:25 PM PDT

    Hi all,

    I was looking into the new map renderer from Google maps (https://developers.google.com/maps/documentation/android-sdk/renderer) and giving it a test try. I had assumed this is just an update to the current map tech while v3 is still on the way. However, I noticed in the side bar a deprecated sign against the Maps SDK v3 and discovered that it indeed is being deprecated (https://developers.google.com/maps/documentation/android-sdk/beta-releases).

    Can anyone tell me whats going on behind the scenes with this. Is the new map renderer actually just the Maps SDK v3 or a completely rewritten new renderer? Also, apart from the things mentioned in the official post, what else is new in the map renderer?

    Thanks.

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

    MBP M1 Android Studio Installation Issues

    Posted: 05 Nov 2021 08:19 PM PDT

    MBP M1 Android Studio Installation Issues

    I just bought a refurbished 2020 M1 MBP. I am trying to setup Android Studio stable version (2020.3.1 Arctic Fox) - "Mac with Apple chip".

    In Android Studio Setup Wizard, I am getting an error. I have wasted hours and can't seem to understand why this is just not working out of box. Am I missing something?

    https://preview.redd.it/iaqdqme78wx71.png?width=1602&format=png&auto=webp&s=0fac28bb1399e31b367b42b1589ea1753d5bbf2f

    Update : Bumblebee Beta gives same issue. Chipmunk Canary works. It would be ideal for stable version to work however, so not completely resolved.

    Update : The issue with stable version and Bumblebee Beta seems to be that Android sdk is not downloaded, so Android/sdk directory is never created in Users/{user}/Library folder. So I first successfully installed Chipmunk Canary, which will download the Android sdk to /Library. Then, installed the stable version Arctic Fox 2020.3.1. Since sdk is already available, I can successfully configure the stable AS. I am up and running. This is far from ideal as the installed AS should just work out-of-box. But for anyone who encounters this, this seems like a decent short-term workaround.

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

    Autofill service not in settings

    Posted: 06 Nov 2021 03:49 AM PDT

    Hi guys,

    I need help with android autofill framework. I cant see autofill service in android settings. I already did everything from documentation, but it still doesnt work.

    Here is my repo: https://github.com/sleaper/react-native-autofill/tree/master/android

    If you have any question feel free to ask!

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

    Android developer options error

    Posted: 06 Nov 2021 01:46 AM PDT

    Hello, in order to debug the mobile applications I have made on the phone, the install over usb must be turned on. I activate it but it gives the following error.

    This device is temporarily restricted 3–3
    I searched the internet and made the said settings etc, but it's still the same. How can I solve it?

    Redmi note 8, miui 12.0.2

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

    How do I pull user data from Firebased with Baseadapter with my own model

    Posted: 06 Nov 2021 01:21 AM PDT

    I am programming a dating app and I want to use baseadapter for my swipe cards and I want to add my firebased data to the cards, how can I do that ?

    submitted by /u/Limp-Variation-7905
    [link] [comments]

    App Update Rejected: Test Login Needed In order to review your app

    Posted: 05 Nov 2021 08:32 AM PDT

    Hi,

    I am getting frustrated. My app was rejected because a test login is needed although the previous 20 versions of the app I haven't changed anything about the login. The bots who tested the app before were using their own google accounts and were just testing my app. Now suddenly I need to provide a login? :D wtf is this. I added a few dummy accounts and passwords now and updated the app and waiting. I mean why does this happen I even told them you need to use your own login credentials to log in to the app why do you need test credentials when the automatic bots were using their own before. It doesn't make sense at all. The app store is full of spam and scam apps but they reject for the stupidest reasons.

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

    How do you implement shadows in practice ?

    Posted: 05 Nov 2021 12:08 PM PDT

    It seems to me there's no well defined standard way to implement shadows in Android, am I wrong about that ?

    UX prototypes usually add pre-defined shadow templates to widgets which are very easy to reproduce using CSS but I can hardly get the same results when dealing with Views and Drawables.

    How do you guys deal with the differences between shadows in prototype and the ones generated by an elevation ?

    submitted by /u/77debumo
    [link] [comments]

    Am I allowed to upload 2 different versions to PlayStore?

    Posted: 05 Nov 2021 09:31 AM PDT

    I have a demo-version of my app which is free. In 2 years I'm going to be done with the full non-free version.
    Can I upload the demo version with a name like "MoonWeatherAppDemo" to the PlayStore and in 2 years the full version with a name like "MoonWeatherApp"? I know that I can't use the same name if I want to charge for the second version, so is the explained method allowed or can my account/app get banned?

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

    Checking Screenshots of App Review

    Posted: 05 Nov 2021 10:15 AM PDT

    I forgot. How would you check the bots steps like look at all the screenshots of the app review? I forgot where you need to go in the Google Play console. Last time I remember I watched the screenshots of how they log in etc.

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

    How much time does it usually take for an app review in google play?

    Posted: 05 Nov 2021 09:58 AM PDT

    So, I uploaded my app hsing google play console and its 3 days since and it's status is still in review.

    I'm worried cause I have a dead line. Is there something I can do in this case?

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

    What's the best way to get other users' location with Firebase?

    Posted: 05 Nov 2021 09:09 AM PDT

    I'm doing a school project, so I'm not too concerned about the security of it. The idea is to get the locations of n-number of users and find the center point. For example, the host user would select 4 users from Firestore and ask for their locations. The 5 locations would be used to calculate a location between all of them.

    I'm thinking of using Firebase Cloud Messaging to send push notifications to the selected users, who would in turn, open the notification and update their current location. The calculation for a point in the middle would then be done on the new location(s).

    I'm thinking I would have to update a FCM token each login and registration, then upload it to Firestore under their "user" object. Then, when the host user searches for users (by querying the "users" collection), they'll be able to grab other users' device tokens to send them a notification.

    Would this be the best way to implement a device-to-device push notification? Is there a better way to implement push notifications between users?

    Or is there a better way to share locations between users in general?

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

    ViewModel, LiveData

    Posted: 05 Nov 2021 09:02 AM PDT

    Hello everyone, i want to learn android deep dive, and then i diceded to make my own custom LiveData and ViewModel, for this i need to see what is internal code and how it work.

    any advice about it ?

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

    No comments:

    Post a Comment