• Breaking News

    [Android][timeline][#f39c12]

    Saturday, October 3, 2020

    Glide Caching Mechanism Internals - Article Android Dev

    Glide Caching Mechanism Internals - Article Android Dev


    Glide Caching Mechanism Internals - Article

    Posted: 03 Oct 2020 10:33 AM PDT

    Strategy for in-app updates: use Google library or custom solution ?

    Posted: 03 Oct 2020 06:51 AM PDT

    Looking at app version stats lately, it came to my attention that a significant number of users are using older versions of my app.

     

    Hence the utility to notify users of available updates in app so they can optionally update. I would only do optional updates, not forced ones.

    There's the Google in-app update library for this, but looks rather heavy and complicated and I can see that thing causing unforeseen crashes already.

     

    I wonder if a simple custom solution detecting if a newer version is published (easy with Firebase config) and if that's the case showing a dialog with some explanation text and a button that goes to the Play Store page app of the app, would not be better. The advantages I can see is:

    • straightforward to implement
    • can control the text displayed to the user to incentivize him to update (if only mentioning that updates fixes bugs and add new functionality)
    • way easier to test

     

    Any thoughts and experience on this ?

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

    App got suspended, meanwhile other copies of my app are still up! Can/Should I take legal action?

    Posted: 03 Oct 2020 03:54 PM PDT

    A month ago my app got suspended due to manipulated media policy(which after reading them I think I am complying with), the appeals got rejected. Google is not responding to my emails.

    Meanwhile another app which has 100% similar functionality is up on the Google Play.

    Is there anything in the Google's policies that they should treat all apps fairly?

    Is there anything I can do?

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

    Is it possible to migrate a SQLite database belonging to an Android app from internal storage to external storage or vice versa?

    Posted: 03 Oct 2020 03:59 PM PDT

    The app I want to contribute to only supports internal storage. Users want to store their data on an SD card. I'd like to add a setting you can toggle along the lines of "use external storage". But then if you currently have any data stored it would have to migrate the db from internal to external as it would be too buggy and messy to have two SQLite db's. Any idea how to do this?

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

    Retrieving and setting an image from firebase storage?

    Posted: 03 Oct 2020 03:29 PM PDT

    Hello everyone, I been trying to retrieve and set an image from firebase storage for a few hours now and I just can't seem to get it.

    I've tried it using the Bitmap and setImageBitmap, but my app crashes when I load the activity. I have also tried using Glide.

    My current code is:

    mStorageReference = FirebaseStorage.getInstance().getReference().child(photoUrl);

    mStorageReference.getDownloadUrl();

    Glide.with(this).load(mStorageReference).into(phProfilePhoto);

    using the dependencies:

    implementation 'com.github.bumptech.glide:glide:4.11.0'

    annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'

    implementation 'com.firebaseui:firebase-ui-storage:6.3.0'

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

    Android Package Visibility And Horse Blinkers

    Posted: 03 Oct 2020 11:04 AM PDT

    What is Android 11 Package Visibility, what benefits it brings, and what does horse blinkers 🏇 have to do with it?

    Enjoy 💚 https://vladsonkin.com/android-package-visibility-and-horse-blinkers/

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

    How to switch to the live build if you were an internal tester?

    Posted: 03 Oct 2020 02:43 PM PDT

    We just released our first game on the play store after utilizing internal testing and betas. When I go to the play store link it shows (Internal Beta) after it and "You're an internal tester." I disabled all testing tracks, I removed all testers from the list, I uploaded an empty release for internal track even but I still show up as internal build instead of release build.

    Any way to fix??

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

    Do you pay taxes in the countries where Google does not for your In-App purchases or subscriptions?

    Posted: 03 Oct 2020 08:43 AM PDT

    I just added an in-app purchase in one of my apps for the first time of my life.

    After reading the official doc I decided to deploy the app only in those countries where Google does the tax payment for me, just to avoid the overhead of having to pay by myself in each country.

    My question is, for those of you that have in-app purchases, how do you manage that? Do you sell in all countries and in that case, how do you manage this tax payments?

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

    Best language(s) to learn in late 2020-2021 for android dev?

    Posted: 03 Oct 2020 02:39 PM PDT

    Is this a scam?

    Posted: 03 Oct 2020 10:03 AM PDT

    Where can i find the oem drivers for Motorola g5?

    Posted: 03 Oct 2020 12:41 PM PDT

    Data acces design advice

    Posted: 03 Oct 2020 07:56 AM PDT

    I would like to hear your opinions on what would be the best design for the following use.

    My app makes use of contacts provider quite a lot. I have favourites, call log, contacts pages on my main viewpager and all start loading from contacts provider when app is opened.

    Favourites load started contacts, Call logs loads call log and then matches number to contact by searching in contacts provider (which could be up to 2000 logs) and finally Contacts fragment loads all contacts (some people have over 5000 contacts) .

    There lies my problem. They all race each other and this slows down pulling data from contacts provider.

    For now I have implemented a caching mechanism. I use coroutines, lock loading contacts with mutex and delay with 'while' until contacts loaded to cache.

    This works fine if user has avarage amount of contacts. Load time is usually less than a second. Things get ugly if user has too many contacts.

    Obviously it is not ideal as all requests to my repo has to wait until cache is filled.

    I thought about creating some sort of repo that starts loading contacts as soon as app is crated, observe this loading in view models and only then start loading favourites, call logs etc. after cache is filled.

    Although this wouldn't solve loading many contacts issues, it would allow me to remove lock and delay while cache is filled.

    What would be a better way to handle this situation?

    submitted by /u/NLL-APPS
    [link] [comments]

    Tech stack for Augmented Reality app, oriented at drawing on faces ( sunglasses, masks etc. )

    Posted: 03 Oct 2020 12:58 AM PDT

    Maybe someone has recent experience with this type of stuff. Also not sure what to explore, even though #2 seems like exact match.

    1. ML kit for Android + CameraX - saw guide on ML kit with CameraX, but no idea how to operate with 3d models there.
    2. ARcore - seems to be built with what I need in mind, thought the Sceneform is deprecated, and the only way to go with it seems to be using Unity + ARcore, which doesn't sound a pleasant experience looking at what people say. SO Post with details on Sceneform deprecation here.

    Are there any recommendations/tips on whether choosing ARcore + Sceneform is the safe option here ( since you can migrate to unity if really needed in the future )?

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

    Third party app not full screen

    Posted: 03 Oct 2020 09:38 AM PDT

    Anyone here knows how can I make a third party app use the entire screen on a Pixel 4? I also have a OnePlus 6T running Android 10 and the app works just fine full screen there. On the Pixel 4 it looks like this (splash screen of the app, notice bottom black area) on Android 10 and 11. Anything I can do to make it work like on OnePlus? Thanks!

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

    Android 11 Scoped Storage - Saving Files To Shared Storage

    Posted: 03 Oct 2020 08:00 AM PDT

    Unboxing: Google TV Chromecast

    Posted: 03 Oct 2020 02:48 PM PDT

    I want to create a chat app using kotilin, like Snapchat. With features like search and add friend using username and chat with them. Suggest me a good course for that. I am begginer so please suggest me some easy ones

    Posted: 03 Oct 2020 10:52 AM PDT

    Actually I've done some udemy courses and some youtube chat clone tutorials but none of them helped me to create a chat app as a i want to other than the way they build.. so please suggest some courses wherw i can learn everything so i can create this app in a easy way

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

    An app to customise behaviour of Google chrome browser.

    Posted: 03 Oct 2020 03:00 AM PDT

    Hi i am a complete noob in android development. But i have an idea and i want to know whether it's possible or not. I want to customise behaviour of chrome via another app ( such able to delete history, delete any open tab, get metadata about open tabs and stuff). Is that possible ? Do i have to learn anything besides mainstream android development to achieve this? Any help appreciated. Thanks!

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

    Google Maps Optimization

    Posted: 02 Oct 2020 11:41 PM PDT

    I am using Google Maps in the app I am building, and it is overall working well but I am looking for an optimization. When I use Google Maps itself on my phone, it will always recommend locations near me, but when I use it in the app, it will show autofill from all over the world. Is there a way to limit the radius to the country the user is in or to prioritize regional locations in autofill?

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

    Android Studio C++ syntax support?

    Posted: 02 Oct 2020 11:15 PM PDT

    Hi. I'm having a little issue.

    While working on my work Mac the AS gives nice full support for C++ files syntax, lint etc. but I can't get it to work with the same version of AS at home on my Ubuntu it just displays everything as simple txt file (*.cpp, *.hpp and CMake files too).

    Both AS are 4.0.1 and have NDK configured in the project structure windows. Both compile and run the app correctly - it's just that working without IntelliJ syntax support is a nightmare.

    Writing this cause I could not find any similar issue anywhere and maybe someone might have had the same problem.

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

    What's the best way to implement drawer menus?

    Posted: 02 Oct 2020 08:55 PM PDT

    Hi!

    I just recently started in the world of android dev, in my first app I used a drawer menu but since I had no knowledge of fragments I had to copy-paste my drawer menu in all of my activities, next time I'm planning to use fragments with my drawer menu but since there are a lot of things I still don't know I want to ask.

    What are the best practices when implementing drawer menus?

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

    Issue #8 of Mobile Developers Cafe is out with loads of Android Dev articles and a lot more.

    Posted: 02 Oct 2020 08:30 PM PDT

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel