• Breaking News

    Tuesday, December 24, 2019

    Android Dev - Example MVVM app

    Android Dev - Example MVVM app


    Example MVVM app

    Posted: 24 Dec 2019 12:58 AM PST

    A couple of years ago I made a sample app open source. Now I have updated it to reflect my latest architecture of choice and I'd love if you could take a look and comment on it, I would gladly accept ideas & improvements.

    The app is built using MVVM, RxJava2 on the repository layer, LiveData in the ViewModels, and Dagger-android to wire everything up.

    https://github.com/kelmer44/correos-tracker

    Its a fully functioning app used to track parcels from the Spanish public postal service. It was published in the playstore and it has a little under 30k downloads.

    Please feel free to criticize or give feedback technically or aestetically! Im far from a designer.

    PR are also welcome :)

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

    The Hook Model: How to Make Using an App into a Habit

    Posted: 24 Dec 2019 02:12 AM PST

    The Seven (Actually 10) Cardinal Sins of Android Development

    Posted: 24 Dec 2019 02:55 AM PST

    New android dev needs some code review

    Posted: 24 Dec 2019 07:04 AM PST

    Hello, I have been working on this simple todo list application with Kotlin and MVVM, it's my first android app ever. I would love someone to take a quick look at my codebase and give me some feedback! The harsher the critique the better.

    Here's the link to the repository:
    Repository

    Here's what I know is wrong with the project:
    There's alot of hardcoded strings, that should be exported
    API error handling sucks
    I don't use DI, RxJava etc.

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

    Which was the most difficult daily profit range to overcome?

    Posted: 24 Dec 2019 05:36 AM PST

    Which was the hardest step to overcome in the moneymaking career of yours?

    1. From 0$/day to 1$/day
    2. From 1$/day to 10$/day
    3. From 10$ to 100$
    4. From 100 to 500
    5. 500 to 1K
    6. 1K to 2K
    7. 2K to 5K
    8. 5K to 10K
    9. 10K to 20K
    10. 20K to 50K+/day

    I'm currently stuck at nr.4 but the hardest was 2 and 3.

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

    Android emulator is so smooth and fast now even on Windows.

    Posted: 23 Dec 2019 01:53 PM PST

    Not really an informational post, but I am so content with the current performance of the Android emulator, I just wanted to thank the developers.

    Up until about one year ago, my experience with the emulator was very bad. The first ARM emulator was terrible and almost unusable even on an i7 desktop, during that time, the iOS simulator was smooth and fast. Then Atom-based emulator came, and it was sort-of usable, but the graphics was still slow. I was using HD4000 integrated graphics card, and thought that graphics card was not that important for Android development because I had asked a question here if using a fast graphics card increases the emulator's performance and someone who claimed to use GTX 1080 replied that the emulator is still slow on his computer.

    Then I bought an RX 460 (a sub $100 Radeon discrete graphics card) to use 4K monitors. The emulator's graphics got a lot smoother, but still lagged a little bit. That was on Windows. When I installed Linux on the same machine, the graphics was really smooth. At that time I was using an old Intel quad-core i5 processor and noticed that the emulator was using a lot of CPU even when it seemed to be doing nothing. It sometimes used 50% of the total CPU in the background.

    Then I replaced the i5 with a Ryzen 3600 (a $200 AMD CPU). And I don't know what Google has done exactly, but now the emulator is smooth and fast even on Windows. It even feels faster and smoother than my real Android phone. And all this speed and smoothness can be achieved on quite cheap hardware (a $200 CPU + a $100 GPU + cheap motherboard and the cheapest 16GB RAM). I don't know how fast Apple's iOS simulator has got recently, but the current Android emulator feels at least as fast as the iOS simulator I remember. It is now such a pleasant experience to use the Android emulator now. Thank you Android emulator developers.

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

    Where does Google Play get an "app signing key" for my app if I didn't create one??

    Posted: 24 Dec 2019 07:51 AM PST

    1. I create a blank android app using Unity3d
    2. I create new app on play store (https://play.google.com/apps/publish)
    3. In Play Console, I click "App Signing"
    4. In the section called App Signing Certificate I see that a public cert has been created. How was an app signing key created if my project never included one?
    submitted by /u/waffle_raffle_battle
    [link] [comments]

    GitHub - iqiyi/Qigsaw: ����Qigsaw ['tʃɪɡsɔ] is a dynamic modularization library which is based on Android App Bundles(Do not need Google Play Service). It supports dynamic delivery for split APKs without reinstalling the base one.

    Posted: 24 Dec 2019 07:47 AM PST

    Hello, ive just bought a udemy course on android app development(im a complete beginner) . It is for Android N which is an older version of android and i was wondering if it will still work on current android versions.

    Posted: 24 Dec 2019 07:36 AM PST

    Android Studio 4.0 Canary 7 available

    Posted: 23 Dec 2019 10:40 AM PST

    Getting started with mobile development after learning Java

    Posted: 24 Dec 2019 03:01 AM PST

    I've just finished learning Java and looking to learn mobile development as my next progression. Can someone suggest whether I should start with Java, Kotlin, React, Flutter or something else? My understanding is that React & Flutter are quite popular and can build apps for both iOS and Andriod so would this be a good starting place for me?

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

    Retention calculation for Subscription based OTT app

    Posted: 24 Dec 2019 06:07 AM PST

    I've been trying to calculate the retention for a subscription-based OTT app. It offers two different pricing schemes for users, which are Rs 5 daily Rs 25 Weekly I've been trying to figure out on what premise should I be calculating the retention rate of the app, should it be on the subscription or the usage? r/askreddit

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

    I'm really struggling with databases, need course recommendations

    Posted: 23 Dec 2019 05:37 PM PST

    Hi, for some reason databases have been a brick wall in every step for me. I can't seem to connect databases or wrap my head around properly implementing parent / child databases.

    I've gone through sqlite, firebase and realm. Sqlite got confusing, realm there isn't enough up to date tutorials. Funny enough, the only one I could get properly working is firebase, but it's not set up for my needs. (Deleting parent databases leaves orphaned child databases).

    All I want to do is have a recyclerview of items, and when you click a certain item, it opens another activity with a recyclerview of items related to the original item you clicked.

    Create parent "diary", click parent "diary", go to activity filled with sub "diaries" related to parent "diary".

    I can create the seperate databases in sqlite, but I don't know how to link them or display the correct information....

    Every online tutorial I find doesn't go beyond a simple database.

    Thanks

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

    Is there any tool to benchmark the USB, to check that indeed what we have is as fast as it should?

    Posted: 24 Dec 2019 03:20 AM PST

    I ask this because the faster the USB, the better for development, to install&run the app from the IDE, and Google even suggested doing so on one of its videos.

    I also ask this because buying a USB C cable doesn't always mean you get the faster one (USB 3.x instead of USB 2.x) .

    We have a bunch of cables at the office, and it could be nice to find the best one.

    I tried this tool, but I can't find where to look at in order to determine the speed or even whether it's USB 3.x or USB 2.x.

    I also tried this benchmark tool, but for some reason it failed to identify my Android device, so I couldn't do benchmark with it.

    My question is about checking with PC<->Android , of course.

    submitted by /u/AD-LB
    [link] [comments]

    Large APK size after OpenCV

    Posted: 24 Dec 2019 02:13 AM PST

    OpenCV is adding a huge size to my app ~100MB despite using only one or two functions

    Anything I can do for this?

    I installed using implementation 'com.quickbirdstudios:opencv:3.4.1'

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

    How can I convert an image or live feed to HSV?

    Posted: 23 Dec 2019 10:10 PM PST

    The Android Colour RGBtoHSV is very slow for practical usage. OpenCV Android Studio increases the app size by a lot.

    Is there any other way I can convert to HSV?

    If not, is there any way I can take only those functions that I need from the OpenCV package for Android Studio?

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

    Android touch/UI automation?

    Posted: 24 Dec 2019 01:31 AM PST

    Are there any Android apps that work like Selenium or Sikuli? If there are, how similar is the scripting process when compared to using something like Selenium? I'm trying to do an automation loop inside an app, and while I can easily find element names using dev tools when writing Selenium scripts for desktops, I can't seem to find an answer as to whether or not the Webdriver approach also carries over to an Android app. Is an app's UI elements exposed for other apps to see while the app is running? I'm not at all knowledgeable about Android development.

    If there aren't any apps that run on an Android device, what's my next best option for automation?

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

    Java 14 is in Feature-Freeze and Release Rampdown

    Posted: 23 Dec 2019 02:09 PM PST

    Internships or introductory level jobs?

    Posted: 23 Dec 2019 10:50 PM PST

    Hello everyone,

    I have been taking the past two years to learn how to program and I am running into an impass. I am going to have to get some kind of job real soon.

    I have been learning Android and IOS for a year and I am pretty sure I have got down all the fundamentals and probably more. I've gone through MVC with RecyclerViews (of course), Fragments, View Pagers, SQLite, Data Binding, Unit Testing, Services, etc. I also have Associate of Arts and Associate of Science which are fully accredited. I believe if someone gave me a chance that I could do a good job for them.

    Does anyone know how I might be able to get my foot in the door somewhere? (even if its for very low wages)

    Thanks for reading.

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

    Android Company Domain Startup Question

    Posted: 23 Dec 2019 05:22 PM PST

    When creating a new application i am given the textfield "Company Domain", i was going to create one but i was quite unsure about how i should manage the startup.

    A. Do you create an organization and inside of it you define your startup?

    Eg: www.organization/startupname

    Meaning you could later create other startups under www.organization/*****

    B. Or do you instead create a webpage for each startup? Like:

    Eg: www.startupname.com

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

    Help getting started with 2D interactive images

    Posted: 23 Dec 2019 05:16 PM PST

    Hello, everyone.

    I am new to Android (and Java/Kotlin) development and am quite a bit overwhelmed on figuring out how everything is handled (listeners/fragments/etc) and what I need in order to get started with some simple functionality.

    I have been recently trying to just make a simple draggable imageview and have it reset it its initial location when released but keep finding my self running in circles with tutorials. I can get it to drag, but am unable to get the original coordinates (just always returns 0,0) because I don't know how or when to ask for them. I eventually want almost like a drag and drop feature but only on a linear plane.

    I am just looking for some tips on maybe where I should start learning, as its difficult to find out what I need. Especially when a lot of the tutorials and search results are not Kotlin based, and are 6+ years old.

    Also curious as where I might start with basic dragging/animations/interactive images.

    Thanks in advance, even just for reading this!

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

    E-Sports API For Android App

    Posted: 23 Dec 2019 06:46 PM PST

    Hey guys, I'm interested to venture into the E-Sports app business. I have a question though that I need your expertise to solve.

    Is there an API out there that can compile the live games, calculate odds and present it in the app?

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

    No comments:

    Post a Comment