• Breaking News

    Friday, October 9, 2020

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 09 Oct 2020 05:41 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]

    Best Infinite Scrolling Recyclerview solution?

    Posted: 09 Oct 2020 01:21 AM PDT

    I hope this post doesn't get buried. I've been using an abstract class that's a popular stack overflow answer that overrides the addOnScrollListener method to give a call back with the page number, pretty straight forward.

    I've also tried Paging 3 which kinda worked but I still find it to be a little complicated.

    I tried out the State Restoration policy, but it didn't help my case.

    Further more some answers in stack overflow say save the layout and data as a bundle and restore it.

    The first solution works but my problem is let's say I have a Fragment A and I scroll to 50th item, and on click of item I go to fragment B. On pressing of the back button, the page view is shown from the top.

    But to solve this issue what I've done is have a member variable of the inflated view and check if it's null in the OnCreateView method.

    Haven't faced any issues so far with my solution, but I want to know what's the standard solution to this problem, what do apps like Facebook or Instagram use?

    I've heard that some use a viewmodel to hold the state of the recyclerview is it a good way to do it?

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

    The button takes you to their website to insert your card. Ain’t this against the rules of big G?

    Posted: 09 Oct 2020 03:48 AM PDT

    Best Custom ROM or Kernel - GT-I9300

    Posted: 09 Oct 2020 08:27 AM PDT

    Hello Guys,

    I have a GT-I9300 Samsung phone that is currently running on Jellybeans (android 4.3). I know this is very sad. Finally I have decided to root my phone and flash a custom ROM on it (I am open to change the kernel only as long as I get the ultimate performance on my phone). As I have learned, there is a wide variety of Open source OS available out there (lineageOS, Cyanogenmode....) and custom kernels. So based on your experience, do you recommend any specific OS or kernel for an optimal performance on GT-I9300? Thanks in advance.

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

    Our 2D game we created for our university minor (Humans Please)

    Posted: 09 Oct 2020 05:05 AM PDT

    Humans Please is made by 5 people that came together for their University minor.

    We are hoping that reaching out to the Reddit community will help us with reaching one of our minor goals. We need to reach 100 playstore downloads

    What is Humans Please all about?

    You are an alien whose job is to deliver humans to the Mothership. This is easier said than done, because along the way you will encounter many obstacles, like meteorites and planes. This isn't your only concern, because you also have a timer to worry about. Can you reach the Mothership in time without crashing?

    Playstore Link

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

    New Release Cadence for Kotlin and the IntelliJ Kotlin Plugin – Kotlin Blog

    Posted: 09 Oct 2020 08:38 AM PDT

    How to skip setup of android device.

    Posted: 09 Oct 2020 08:26 AM PDT

    Please redirect me to another subreddit in case this query isn't suitable here.

    I have a Tesco Hudl V1 tablet. It had begun acting up recently so I factory reset it. Big mistake. Tesco doesn't support the tablet anymore and no longer authenticates the setup process (or something). So I cannot get past the obligatory WiFi selection stage and my tablet is essentially useless.

    I have used a sort of exploit to be able to enter Chrome and from there, the app store. I cannot install or update any apps, despite having being connected to WiFi. So, I can sort of watch videos on my tablet as long as they are within Chrome.

    However, I just want to use my tablet for occasional programming so I just need a single app to be running constantly (QPython). Is there a way to force-run an APK on the tablet from my computer or something? Or would another ROM help me avoid the impossible setup process.

    Once again, if this query doesn't belong here, please redirect me. Otherwise, any help is welcome, thank you!

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

    Can someone please tell me where can I find the 'Subscription benefits' setting in the play console mentioned in this video (@ 8:59 minutes).

    Posted: 09 Oct 2020 03:58 AM PDT

    Apk signing for external distributing after GP publishing?

    Posted: 09 Oct 2020 03:47 AM PDT

    i have an application developed in unity, correctly working and signed. builded as .abb file and uploaded to GooglePlay. It is sucessfully passed moderation and can be installed via market. But if i try to build .apk for other distribution platforms and test installing from .apk - there is alert "play protect doesn't recognise this app's developer". Ive tried to extract apk from market installation via adb - same result how can i solve this? Thx

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

    It's almost the end of 2020 let's hear about your tech stack!

    Posted: 08 Oct 2020 02:29 PM PDT

    CI setup, modules, languages (I'm assuming mostly Kotlin), DI, testing, etc. What have you found most useful / beneficial that you'd added this year?

    Here's mine. Small to medium team, large code base. Jenkins CI only running unit tests. Modules broken up between UI, Domain, Model. Nothing fancier than that. Dagger. We found modularisation the most beneficial thing we did this year. Do it!

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

    Has someone beta access to the Google Admob app?

    Posted: 09 Oct 2020 02:04 AM PDT

    Today I got an email from Admob announcing the Google Admob Beta App and asking me to download it. Unfortunately, the beta is already full. I'm very excited about this app. Can somebody who has downloaded the app please provide an apk?

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

    Automate publishing app to the Google Play Store with GitHub Actions+ Fastlane

    Posted: 09 Oct 2020 05:38 AM PDT

    Freelancer developing app for a company: How to proceed with payment for google developer account?

    Posted: 09 Oct 2020 05:37 AM PDT

    Hey guys, I'm new at this community! I'm developing an app for a company (South America) and I'll do everything related to the setup of their Google Developer Account. My question is: how do I go about the $25 fee?

    Do I charge the company and then pay it myself? I'm concerned about the currency variation and if my credit card information (that I'll use to pay it) will be visible for them later...

    Or is it better if I create a gmail account for them, then ask for the contractor to access it and pay with their credit card, then proceed?

    Has anyone dealt with this before? What is the best approach/practice here?

    Thanks in advance!

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

    Application/Tool that will harvest all data stored on phone given user's permission

    Posted: 09 Oct 2020 04:27 AM PDT

    I want to create an art installation that will generate visuals based on the user's personal data.

    For that I am looking for a tool that will collect and download all possible data that is stored on the user's smartphone. Firstly, I am interested to find out what kind of data is possible to download, and secondly - how?

    Do you know of existing tools that do that, and if not, what do I have to look for if I would like to develop something like that myself? I'm more of an artist and I have a very basic background in programming.

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

    kotlinx.serialization 1.0 released – Kotlin Blog

    Posted: 08 Oct 2020 10:20 AM PDT

    Pros and Cons of Android App Development

    Posted: 09 Oct 2020 03:16 AM PDT

    Do you remember the pre historic or the the pre-smartphone era that used to exist? We expect you don't need a time machine in order to remember what mobility used to look like in 2006. Back then, Windows, Symbian, and Blackberry had been slowly supplying the mobile market with so-called pocket personal computers

    Read more: https://nimapinfotech.com/blog/pros-and-cons-of-android-app-development/

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

    How hard is it to get Native Code to work on android?

    Posted: 08 Oct 2020 01:28 PM PDT

    So I had this idea of rewriting an app in C++ so that it could serve as business logic for multiple platforms. But now I've realised that maybe it isn't so easy after all to get it to work. So what would be a good idea, trying to get the code I already have to work on android or just rewrite everything in Kotlin? I would dearly appreciate any response.

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

    Deeplinking from outlook

    Posted: 09 Oct 2020 01:26 AM PDT

    Hi. I have currently started noticing that opening a weblink from outlook opens the app in outlook. This is a problem since my app does not link to the correct page in the app. Is there a way to turn this off somehow?

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

    I'm looking for a custom view library for a clock

    Posted: 09 Oct 2020 01:16 AM PDT

    IAP not showing as purchased on other devices.

    Posted: 09 Oct 2020 12:24 AM PDT

    I got my billing problems mostly sorted, aside from one remaining bug. Features bought on one device aren't available on other device signed in the same account.

    Using billing 3.0.1

    Any ideas?

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

    Why doesn’t realtime database and firestore have random

    Posted: 09 Oct 2020 12:05 AM PDT

    I started learning android 1 month ago, after working as Java developer fo 1 year. I learned kotlin and wanted to make simple quiz game. After getting everything to work with dummy data I wanted to use database for getting my questions. I first tried with realtime database and got it working but it wasn't very efficient because i am getting every question and then generating random numbers to get random questions from question array( you can see this is bad when we have 1000+ records). I found that getting random rows is something that is not very easy to do with these databases. Why there isn't random operator in these? Is it ok to use sqlite database in production app?

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

    Firebase Hosting update

    Posted: 08 Oct 2020 07:57 PM PDT

    Demo of using Dagger2 dependency injection in an Android app

    Posted: 08 Oct 2020 08:35 PM PDT

    No comments:

    Post a Comment