• Breaking News

    Wednesday, September 2, 2020

    Android Dev - Getting feedback on code

    Android Dev - Getting feedback on code


    Getting feedback on code

    Posted: 02 Sep 2020 04:48 AM PDT

    Hey, I was wondering if there is a platform where you can provide your code and somebody (probably an expert) reviews it and tells you how to improve and what you made wrong. Of course I would pay for such an service.

    I am asking because throughout the last year I was reworking a lot of code again and again because I was unsatisfied with my solutions, and I was getting crazy because I wanted to know how an expert would have solved the problem.

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

    I created this simple app that will notify you of any new releases to the current Android Jetpack libraries. You can also browse and bookmark specific libraries you're interested in for easier tracking. It's on GitHub and Play Store. [link in comments]

    Posted: 01 Sep 2020 12:43 PM PDT

    ADB over WiFi Batch Script (development on Windows)

    Posted: 02 Sep 2020 05:08 AM PDT

    I've created a simple batch script to manage some of the workflow needed to debug your Android app over WiFi.

    My knowledge on batch scripting is very limited; I'm open for feedback.

    I've created it, because my device's USB connection is faulty. Maybe it can help you as well.

    File and description (GitHub Gist)

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

    Inside Java 15: Fourteen JEPs in five buckets

    Posted: 02 Sep 2020 07:48 AM PDT

    How would one go about creating a mental training game in the style of Elevate?

    Posted: 02 Sep 2020 06:55 AM PDT

    I'm doing a programming project which involves drawing upon the functionality, interface (and animations) of 'brain training' games, particularly Elevate. How would I go about accomplishing this (cross-platform)?

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

    Make your (Kotlin) code express itself

    Posted: 02 Sep 2020 06:55 AM PDT

    What 2 Years of Android Development Have Taught Me the Hard Way

    Posted: 02 Sep 2020 06:34 AM PDT

    Understanding the Android APK build process, the execution environment, and code compilation.

    Posted: 01 Sep 2020 12:30 PM PDT

    How to generate PR directly from Android Studio?

    Posted: 02 Sep 2020 01:10 AM PDT

    How to generate PR directly from Android Studio?

    Every time I complete my work, my boss asks me to raise the pull request for the work done. To raise the PR I navigate to Bitbucket dashboard and then generate the PR against the desired branch manually. Although it's a minimal task, I would like to accomplish it without leaving the Android Studio.

    I am aware that the VCS option in Android Studio provides many options for commit, pull and push but I'm still missing Create Pull Request option.

    https://preview.redd.it/x5nxjfz30pk51.png?width=1444&format=png&auto=webp&s=bf51bbb325b50d87305747839f423725ade9b83a

    Are there any plugins or options through which I can raise the PR directly from the Android Studio itself?

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

    AMD + Docker + AVD

    Posted: 01 Sep 2020 06:47 PM PDT

    Currently, on AMD machines, hyper-v has to be off if I want to run android virtual device with android studio. I also use Docker, for web development, which requires hyper-v to be turned on.

    So each time I want to use Docker while using AVD, I need to first turn hyper-v on and then do the required restart and vice versa.

    I am looking for a solution where I could run both without needing to restart. If hyper-v could just be switched off and on without restarting, that could work, although not ideal...

    Someone suggested just getting a small web server for dev purposes to run all my docker containers and then using my dev pc for AVD...this seems like a waste. I would ideally not want to run 2 dev PCs when 1 should work

    Any of you guys have the same issue? Or even better, a solution?

    Edit: Yes this is a windows thing. I believe it's not an issue on Mac or Linux

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

    Structural Class Redefinition and Apply Changes

    Posted: 01 Sep 2020 11:04 AM PDT

    Is android studio + kotlin capable of creating match 3 game?

    Posted: 01 Sep 2020 11:56 PM PDT

    Hi all, hope this doesn't violate rules here, just a simple question, did anyone do such a project? Most of the examples of match 3 games for mobiles point to Unity. Would it be efficient or even possible to write a simple 2d match three game using Android Studio?

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

    How to emulate scanning NFC on Android Studio?

    Posted: 01 Sep 2020 12:34 PM PDT

    I usually test apps on my physical device, it doesn't support NFC, so now i'm trying to make a NFC Card reader to read cards codes, but i can't test it and android studio doesn't support NFC too, any solution please?

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

    How to store this data?

    Posted: 01 Sep 2020 02:41 PM PDT

    Hi everyone,

    I am working on building a workout log app and I am brainstorming now. My app will have a list of exercises suggestions, around 200 different exercises. I want my app to start and have access to this data right away, I was wondering what's the best practice to store such data? Thanks.

    submitted by /u/16bumblebee
    [link] [comments]

    Should I mock Presenter in UI Test

    Posted: 01 Sep 2020 12:17 PM PDT

    I just started exploring UI test (instrumented test) for android. However, I'm still haven't decided whether I should mock the Presenter or mock the model layer instead.

    Currently, I have this in my mind:

    1. If using espresso, then it should be an integration test. Thus mocking the model layer.
    2. If using robolectric, then it should be a unit test for views. Thus mock the presenter layer.
    submitted by /u/abangfadli
    [link] [comments]

    Update widget from API

    Posted: 01 Sep 2020 10:22 AM PDT

    Hi,

    currently I work on a weather app. For this I will make a widget also, which shows the current weather for the first selected city. The weather data comes from OpenWeatherMaps API.

    What is the best practice to update the widget instances from API?

    I would like to show for the users always the latest updated weather.

    Thanks.

    Inspire Coding

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

    Dagger Hilt ready for production yet?

    Posted: 01 Sep 2020 10:16 AM PDT

    I've seen a ton of posts about migrating to Hilt and the how much easier it is to use for android DI than dagger android or plain dagger. Is it ready to try and make the push for this in my company yet? I know the library is in alpha so likely not, but I'm not sure what's remaining (if it's stability changes or something else)

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

    Android vs iOS development time

    Posted: 01 Sep 2020 09:36 AM PDT

    Hi Reddit, I need your help. Can you tell me from your own experience which platform requires more work in terms of time: Android or iOS? Does it take the same time to do the same thing in Android than iOS?

    Please share with colleagues in Android/iOS for reach. Thanks!

    View Poll

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

    [Help] Android Studio 4.0.1 - constantly code reviewing/indexing

    Posted: 01 Sep 2020 11:10 AM PDT

    Hi everyone,

    for an app, I've already written a nice backend and now want to program the app communicating with it.

    But I have the following issue:

    • Code review happens on every click anywhere or button press, looping indefinitely.
    • I see "indexing" flashing constantly
    • My UI elements get disabled and enabled constantly during the infinite loop, because of some background task running
    • It says "2 processes" running (flashing too)
    • This all happens about 2-3 times per second

    What I've tried:

    • Installing on SSD
    • Reinstalling in general
    • Invalidating caches and restarting
    • Creating a new, empty project

    It just happens no matter what and the last threads I've seen are from 2019 just saying "invalidate your caches".

    Any idea why this happens?

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

    how to create a custom layout that is capable of rotating any of its child view/or nested layouts

    Posted: 01 Sep 2020 10:58 AM PDT

    I am having so much confusion creating custom layouts that can rotate it's child layout/views(any number of then nested). (Should I just think about rotating it's direct child only?) The closest I could find was this library: rotate-layout , but for some reason it's not working for nested constraintLayouts.

    I didn't find much resources online for extending viewGroups
    , and I'm having trouble understanding the very basic of things, e.g. MeasureSpec
    , where everyone says that it is the constraint imposed by the parent to it's children, but, is the parent the view we're extending or the viewGroup that holds the viewGroup we're extending? If the MeasureSpec
    is referring to the parent
    's specs, then would getPadding
    also get the padding of the parent of the ViewGroup
    we're extending?

    If possible please answer my above confusions and give me hints to how I should go about making the kind of view I have described above.

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

    No comments:

    Post a Comment