• Breaking News

    Thursday, December 24, 2020

    Android Dev - FlowBinding 1.0

    Android Dev - FlowBinding 1.0


    FlowBinding 1.0

    Posted: 24 Dec 2020 03:51 AM PST

    The State of Native Android Development, December 2020

    Posted: 23 Dec 2020 06:12 PM PST

    Dependency Inversion with Kotlin!

    Posted: 23 Dec 2020 01:06 PM PST

    Does Android UI uses Composite Pattern?

    Posted: 24 Dec 2020 12:59 AM PST

    I'm trying to understand this well because the onCreate() method and the way .kt .xml and everything else is connected sounds cryptic to a guy who only played with Swing in Java... Do you know any content that clearly explains how Android actually works? Because I can only see the surface of this sea...

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

    Backend Framework for Kotlin, Spring Boot or Ktor?

    Posted: 24 Dec 2020 02:33 AM PST

    Do any of Android Devs also use Kotlin for Backend? I am tired of writing Java code with PlayFramework. Which one of Spring Boot or Ktor will you recommend to do Restful services with integration of Google login and MongoDB? I have zero experience with Spring and Kotlin, just want to start learning Kotlin and also learn a new backend Framework for kotlin. Thanks for any hints.

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

    Admob earning for today so far getting lower

    Posted: 24 Dec 2020 07:03 AM PST

    I published my first app and monitored admob earnings. I had earned 0.14$ today so far, but then suddenly it dropped to 0.7$. Is this normal?

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

    I created lazy-friendliest way to implement InAppUpdate including different methods to force updates, as my first Android library

    Posted: 24 Dec 2020 02:32 AM PST

    InAppUpdate is my first library and i'm looking for feedback.

    everything is done in InAppUpdateHelper.kt and what you have to do is:

    Create ForceUpdateActivity

    Modify your MainActivity

    Add button_in_app_update (visibility = GONE) in your activity_main

    Specify your settings for forcing updates in Config

    You can force update when:

    1. Your new update's version number ends with a specific number

    2. Your new update's version number is a major change from installed version

    You can read more here

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

    Linux or Windows?

    Posted: 23 Dec 2020 10:23 AM PST

    People say that Android development is better on Linux than Windows, but why is that?

    Edit #1: I have a Thinkpad T480(Linux installed) with 8gb ram, 256SSD. I can either sell that for a m1 macbook or upgrade my laptop to 32gb ram.

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

    App MVVM + Session timeout

    Posted: 23 Dec 2020 10:37 PM PST

    Hello there, devs!

    So I'm working in an application which has a session timeout to handle, if the user is inactive for a small period of time, the app shows a message and then you're forced to go to the login screen (Bad UX experience? Maybe, but I'm just the developer).

    So, for now, I have a class called SessionHandler in which I got a Handler and a Runnable, and each time an user do anything in the app, the method onUserInteraction is triggered and the countdown is reseted to the initial time (5 minutes).

    The problem is we use MVVM, and the logout function is already done in another part of the application, within a UserViewModel, with the UseCase and the Repository function (the application also uses Clean Architecture, for that matter and the single-activity pattern).

    So my question is, because I'm a bit new doing this kind of things... Would it be okay to inject the UserViewModel in the main activity to call the viewModel.logout() method and do the stuff, or should I put that viewModel into the SessionHandler class and perform the logout there? We have to navigate to another view, so putting that into the SessionHandler class seems to be not a good idea...

    Just keep in mind that the application is separated into this two packages:

    • core
    • features

    The SessionHandler class is into the core package, and the UserViewModel is into the features/user/viewmodels package.

    If you need me to provide more information, I'd be glad.

    Thank you all!

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

    making an RTS game with RPG elements come join my discord?

    Posted: 24 Dec 2020 02:14 AM PST

    Hi I'm making an RTS game with RPG elements and would like some company over on my discord channel to share my development news with.

    here is the link: https://discord.gg/eWT9pyPgJx

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

    Learning about animating UI elements

    Posted: 23 Dec 2020 06:13 PM PST

    Looking at Google's examples of apps that use material components like the Owl app, I am amazed at the code for animation, like this one for adding oscillation depending on scroll velocity. My question is how would one learn to code animating stuff like this? Are there resources or like a document that describes stuff like this in detail?

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

    Cross Platform BLE App Development platform choice

    Posted: 23 Dec 2020 02:48 PM PST

    Hey everyone,

    I'm part of a very small team developing a product that is going to build an app to communicate and control our device over BLE. The device we're using has a Nordic chip on it.

    The app we have now is Android only for beta testing. I built it on android studio because I was familiar with it. We now have a pretty decent version of it that our users can test the device with.

    In the new year we want to have both an IOS and Android app up and running. We're looking at using a platform that will allow us to have cross-platform development. The options I've come across the last bit of looking are:

    - Flutter

    - React Native

    - Cordova

    - Xamarin

    This will be our first time really making a full app like this. I'm defiantly more familiar with Java but don't mind learning a new language if the platform is good. I think one of our biggest things is having a platform with as much community support as possible and strong BLE library would be amazing.

    One of the big goals is to have BLE multi connect up and running much like the wireless Bluetooth earbuds have. Data doesn't need to be synchronized in our case but adjusting/seeing values on both at the same time would be perfect.

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

    Is a processor with a speed of 1.6Ghz good for android programming ?

    Posted: 23 Dec 2020 02:09 PM PST

    The processor is I5 10210u With dedicated graphics Nvidia MX250

    Its generally going to be light programming

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

    We want to share this JavaScript SDK to help you build chat

    Posted: 23 Dec 2020 05:15 PM PST

    My friend and I recently created a chat SDK ChatKitty and we've published it on GitHub. It handles real-time messaging using WebSockets and remains stable even in the presence of proxies, load balancers and personal firewalls. We hope it helps you build your chat app or integrate chat into your project. Feel free to share your thoughts. Any feedback is highly appreciated.

    https://github.com/ChatKitty/chatkitty-js

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

    Play Console: Local Pricing issue

    Posted: 23 Dec 2020 03:34 PM PST

    Anyone having trouble with setting Local prices for certain countries when setting an app sale?

    Whenever I try set an app price for Algeria for example, it tells me the price needs to be 30%, so I adjusted the price accordingly, then upon saving it tells me the price needs to be between 109.00-23469.00 for example, so I set it between the amount, but then I get the same message regarding the '30%' even though the figure is set correctly.

    No matter what figure I put it doesn't accept, anyone facing the same issue? It's already quite frustrating having to do this every time you want to put your app on sale, but this takes the biscuit.

    Anyone facing the same issue?

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

    Create "statistics" app

    Posted: 23 Dec 2020 01:45 PM PST

    I want to develop a simple app. Basically I want a view where I can enter some data that get inserted in a local database (would be nice if I could easily sync that with gdrive or dropbox like other apps do and also export local), then I want to perform some analysis on the data and present them later on as some simple statistics and diagrams.

    What libraries would you recommend?

    Basically I already did kind of that in python. Importing some excel sheets and analyze the data and visualize using pandas, seaborn or matplotlib. Are there similar data analysis/visualization libraries for android, where I can adjust the diagramm and style? For custom visualization I also used d3 now and then, but that would be an overkill I think.

    Mainly I would need simple line graphs and/or time series I think and maybe some other simple basic diagrams. For the line graphs/time series it would also be nize if it would aready be possible to visualize min/max and a trend. I don't know which library I used then, but basically I had a dataset of timestamp, min, max and avg temperature and visualized that by a time series. The avg temperature had a higher saturation than the min/max temperature. It was also possible to show a trend line in a different color. Would be nice if there would be a library out of the box that can do that for my app too.

    So, what library to choos for my diagrams and maybe to calculate some simple metrics?

    What would you use as database, so I have the local export and sync/backup function to gdrive?

    What framework or language should I use? Flutter/Dart or this Kotlin stuff?

    Would be cool if it is open source (so maybe it is no problem later on to make a "PRO" version for idk 0.5€ or so) and cross plattform.

    submitted by /u/Plastic-Welcome-4775
    [link] [comments]

    Error while uploading file to server

    Posted: 23 Dec 2020 12:57 PM PST

    Hi. Please I am having an error while trying to use retrofit to upload an image and audio file. It's giving me error 400 post validation error and the error message is "Submitted file is empty". It's the Mixcloud API I am trying to upload to.

    I have been on it for over 3 weeks with no progress in sight.

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

    Why onRequestPermissionsResult is not triggered in the Fragment after process death? Potential android bug.

    Posted: 23 Dec 2020 11:48 AM PST

    Hello, just three days ago I faced a very strange issue regarding permission requests. Basically, the issue is that onRequestPermissionsResult is not being triggered after pressing any button in the permission alert after process death. I have created this question on Stackoverflow and other people could reproduce this bug. I am thinking about filling it and sending it to Google because it does seems like a major flow.
    Here is the original question.
    Also, I created a GitHub repository

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

    Learning curve to develop a Electronic circuit simulator?

    Posted: 23 Dec 2020 12:33 PM PST

    I'm an EE student and I've been wanting to create a basic app to simulate basic electronic circuits for a while now (for fun). I have no android dev experience but have a good grasp of C++, math and basic python (no java which I guess is the way to go). I'd like to be able to drag and drop basic components (ie resistors) and connect them with wires.

    I'd appreciate any input from you guys as to how technically difficult (and realistic) this is for a newbie and any advice

    Thanks!

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

    No comments:

    Post a Comment