• Breaking News

    [Android][timeline][#f39c12]

    Friday, January 22, 2021

    Weekly Anything Goes Thread - January 22, 2021 Android Dev

    Weekly Anything Goes Thread - January 22, 2021 Android Dev


    Weekly Anything Goes Thread - January 22, 2021

    Posted: 22 Jan 2021 06:00 AM PST

    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]

    Did someone get Google Developers Certification, and is there a point in getting one?

    Posted: 22 Jan 2021 06:53 AM PST

    Basically the title. My company is paying me to take this exam and get this certificate. Are there any benefits in getting it other than putting it on your CV and LinkedIn accounts haha.

    I saw the course it's not very advanced, it covers the basics but it does it in a really broad spectrum. Everything is covered from UI to Testing, and it's not that bad to polish my Android knowledge.

    Are there any other perks to getting it?

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

    [Firestore] Has anyone had issues where backgrounding the app for 1 hour causes snapshot listeners to take around 60s to recover when returning to the foreground?

    Posted: 22 Jan 2021 03:07 PM PST

    It feels like once the app is in the background for a while, Firestore goes into a bad state that when returning to the foreground it won't give me new snapshots until after 60 seconds.

    Here's what I'm seeing:

    1. In app, attach a snapshot listener to a query
    2. I get immediate data from the cache and I see fresh data from the network coming in every 20-30 seconds (working perfectly, since I update the database every 20-30 seconds)
    3. Put the app in the bg for 1-2 hours
    4. Return to the app - the snapshot listener either already exists (view model was never destroyed) or it is recreated (if say I had navigated to another screen before backgrounding the app). In either case, the snapshot listener calls back with data from the cache immediately, but it won't hit the network until after 60s
    5. Now that it has "reconnected" it continues to call back with fresh data every time the DB has new data (20-30s in my case, perfect).

    I've noticed a few things:

    1. Killing the app and restarting will give me network data immediately
    2. Detaching/re-attaching snapshot doesn't fix the issue
    3. Seems to be a "bad state" of the entire firestore instance. (E.g. if I have multiple screens each with a snapshot listener from a different collection, when I go into this bad state NONE of them will give me fresh data for 60s, once it "reconnects" suddenly ALL screens are getting fresh callbacks.
    4. Changing from Wifi to LTE while in the bad state causes it to immediately call back with network data

    I've tried using the firestore.enableNetwork() to try to "reset" the firestore state but no luck.

    My SO question
    Found a couple people with exactly the same problem but with the flutter SDK:
    Here and Here

    No answers of course.

    This results in extremely bad UX. In my case it's game scores that aren't up-to-date unless you wait for 60s. In an example one of the flutter folks posted it's a chat app. Imagine getting a notification of a new message but opening the app to not see the message unless you wait for 60 seconds..

    Any help is appreciated, thanks!

    submitted by /u/Obi-Wan_Ginobili
    [link] [comments]

    Do you use DataBinding in your projects ?

    Posted: 22 Jan 2021 05:22 AM PST

    Hello guys,
    I was wondering if you do use databinding in your layouts for new projects or if you keep doing it in the view like before ?

    For the context, I just took over a project where it is already in place, but daaaaaaamn I don't like it... like, not at all.
    It just seem too much "auto-magically" (kind of links between Storyboard and ViewControllers on iOS) for me, and when you're looking for data formatting, I think you shouldn't be looking at the methods/data called in your XML files...

    Anyway, what's your opinion about it ? Any good ressources to help me get through it ?

    PS: I am talking about professional projects, that need to go to production, not side projects that you won't maintain.

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

    Is it possible for an app to create overlays in the home screen?

    Posted: 22 Jan 2021 06:48 AM PST

    I'm making a magic prediction app that aid to disguise the input part as a passcode lock. I could make an entire locksceeen from scratch but I figured, since the app is going to soft close itself anyway, it would make more sense for the real home screen to be visible through the app. I guess what I'm really asking is; can an apps background be translucent?

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

    Using API 1 Spinner Date Picker in 2021

    Posted: 22 Jan 2021 02:58 AM PST

    Datababase model for coffee shop app

    Posted: 22 Jan 2021 03:23 PM PST

    Hi Everyone!

    I'm creating a coffee shop app where clients can buy customisable coffee, I mean client can buy Americano Coffee but he can add specific type of milk or some other toppings, specific size and so on. My question is about database, how can I design the database to store all this info, maybe with a relational tables or maybe I need to use nosql? I a bit stuck with this and don't know how to solve this problem. Can you show me how to desgin this database?

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

    New Year Check - What is your app's minSdkVersion at this date ?

    Posted: 22 Jan 2021 10:33 AM PST

    Hello everyone, just wanted to ping everyone to know what is your application's minimum sdk version.

    I am currently thinking to migrate our apps from 21 to 23. Our apps usage of level 21 devices are likely 2% percent or less.

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

    Android App Workflow

    Posted: 22 Jan 2021 08:20 AM PST

    ESP32 communication

    Posted: 22 Jan 2021 02:16 PM PST

    So I have been trying to make an app that can control gpio pins on esp32, but I can't make it so that the webpage loads in the background(currently it opens a new chrome webpage), I have also tried using Webview but that doesn't work. Someone, please help.

    MainActivity code: https://pastebin.com/U7HGx1SC

    Manifest: https://pastebin.com/JPx3fdDQ

    activity_main(xml): https://pastebin.com/2d6wswrd

    Thanks in advance!

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

    Question about rebooting an inactive app

    Posted: 22 Jan 2021 01:40 PM PST

    I have an app that I haven't updated in a bit over a year. When I was active with it, I had about 20,000 total installs. Currently it looks like I have about 1,200 devices installed and 4 within the last 7 days.

    My question is, if I want to start developing it again and adding features and rebuilding a user base, should I use the same app (it ultimately would still be the same app) listing in the Google Play store to deploy to, or would I get more organic traffic if I created a new listing to deploy to?

    Part of me is wondering if this a stupid question, but I know that for example with Amazon books that newer items with x amount of traffic get more visibility than older items with the same x amount of traffic.

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

    Why are you here?

    Posted: 22 Jan 2021 11:45 AM PST

    Hey guys! So I guess we are all here to learn, but to what end?

    I'm my particular case it started as a hobby but now I am looking forward for a job in the mobile industry.

    View Poll

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

    Did someone ever successfully run Valgrind compiled for Android to profile a program (written in c/c++ compiled using NDK clang) in recent Android APIs (>= 28)?

    Posted: 22 Jan 2021 11:21 AM PST

    I want to run Valgrind natively on Android. I compiled using the newest NDK toolchains following the readme. The valgrind binaries are installed at /data/local/Inst . But when I try to run I just get errors.

    The valgrind code was written when android was at version 4.x, I don't know if it is too old and will not be compatible.

    Did someone accomplish it in recent versions?

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

    Volley or Retrofit?

    Posted: 22 Jan 2021 10:38 AM PST

    Hi student here learning android development may I ask which do you prefer when it comes fetching api? I have been using Volley but the code gets more and more complex especially with the callbacks. I have read the documentaion about Retrofit which uses POJOs but when it comes to simplicity which is more simple to implement?

    submitted by /u/21JGen
    [link] [comments]

    Building app-bundle

    Posted: 22 Jan 2021 08:25 AM PST

    Synchronized App Transition

    Posted: 22 Jan 2021 01:30 AM PST

    Hello! I am developing a launcher app (not based on Launcher 3) and I came across this link. I want to implement synchronized transition too in my app but the source code is using permissions and method calls that aren't available, like android.Manifest.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS and makeRemoteAnimation(). Is it possible to use use this feature without basing my app on Launcher3? I honestly cannot find any more information regarding this feature.

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

    How do you verify the installation is driven by Google paid ads in the new Google Play console?

    Posted: 22 Jan 2021 07:28 AM PST

    I find the installation statistics from new Google Play console are

    • Few days delay. We have no idea what timezone information is being used in the graph
    • Not showing the traffic source from paid ads

    We want to drive our app installation using Google paid ads campaign - Advertise Your Mobile App with App Campaigns - Google Ads

    But, after running the ads for few days, we realize the information shown in new Google Play console is very lacking. We are not able to justify, whether we should continue to invest in the Google Ads. Although Google Ads does show number of conversion, but we don't think we can 100% trust such source. We need another source like Google Play console to verify the numbers.

    However, the new Google Play console not able to serve such simple purpose :-(

    Have anyone know a way to achieve such?

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

    Seeking info regarding the legalities of creating a quiz app

    Posted: 22 Jan 2021 06:52 AM PST

    I have cobbled together a quiz engine, and would like to make some apps with it.

    Im just wondering if i made one about retro video games, would i risk trouble for mentioning the titles of games, characters, publishing houses etc?

    hoping someone on here has direct experience in this field, As googling seems to indicate its fine, but there must be some strings attached?

    Any insight appreciated :)

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

    What is the usable screen size and aspect ration of new phones?

    Posted: 22 Jan 2021 05:36 AM PST

    I am creating mockups and then porting them into invison to make a prototype. I originally made them 16:9 but then that was too small. I then tried 18:9. 19:9 is apparently the entire screen so I made it 18 to account for the status and navigation bar but that was too big. I think there maybe something wrong with invision but I wanted to confirm I made the mockups in the correct dimensions first

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

    I'm teaching beginners how to create an Expense tracker app from scratch ��️

    Posted: 22 Jan 2021 04:46 AM PST

    Software copyright and patent infringement query

    Posted: 22 Jan 2021 04:25 AM PST

    If I make an app from scratch which has idea related to someone's app but I modified it without copying their code.So would I face copyright or patent infringement on my app?

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

    We at CRED have launched our first open-source library: Synth - the UI Kit that powers our neumorphic design. Feedback and contributions are much appreciated!

    Posted: 21 Jan 2021 09:38 AM PST

    How do you log to console?

    Posted: 21 Jan 2021 04:58 PM PST

    Logcat moves too fast with error messages of the emulator. I just want a simple way to write print statements for testing purposes.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel