• Breaking News

    Sunday, November 15, 2020

    Android Dev - Jintin/FancyLocationProvider Wrapper of FusedLocationProviderClient for Android to support modern usage like LiveData or Flow.

    Android Dev - Jintin/FancyLocationProvider Wrapper of FusedLocationProviderClient for Android to support modern usage like LiveData or Flow.


    Jintin/FancyLocationProvider Wrapper of FusedLocationProviderClient for Android to support modern usage like LiveData or Flow.

    Posted: 15 Nov 2020 02:09 AM PST

    Escape your Full Text Search Queries

    Posted: 15 Nov 2020 02:08 AM PST

    Vigilante - iOS 14 alike privacy features in Android

    Posted: 14 Nov 2020 05:23 PM PST

    Hello folks,

    I've recently built an app that mimics the iOS 14's privacy feature that sends an alert as a dot on your screen when your microphone/camera is being used.

    You can download it directly from GitHub

    As you can see, it's an open source project that showcases some of the latest Android development's goodies as you can see on the GitHub page.

    It's open source since it's security based app, your data is yours and there are no trackers or libraries that talk to Google, feel free to contribute to the app especially if you can do a translation to your language.

    If you have any suggestions or you've found an bugs in the app feel free to open an issue in the repo or the comments of this post.

    Once again a link to the repo https://github.com/CraZyLegenD/Vigilante

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

    8 — 14 November Android Newsletter

    Posted: 15 Nov 2020 02:01 AM PST

    Stay up to date with Android development, in this week's edition:
    🤓 Android Coroutine Scopes
    🤩 Run Android Studio on any device
    🧪 Experiment with a new framework Simple-Stack
    💭 Master the Bubbles API
    and much more!

    Read it here 👉 https://vladsonkin.com/android-newsletter-20/
    What's your favorite one?

    🔥Featuring @joenrv @FilipStanis @Zhuinden @filipebatista @balarka @SG5202 @rockandnull @iabhishek1041 @gokhanalicciii and many other great authors!

    💚 Subscribe and receive new editions directly to your email. Weekly, no spam, unsub anytime.
    Here is an example: https://mailchi.mp/46c5d65d2315/android-newsletter-20

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

    How to avoid passing objects between activities

    Posted: 15 Nov 2020 01:13 AM PST

    I don't know if this counts as "help me" or as "general discussion about [...] design"

    I suspect that I am using the wrong code design for my app. I am making a note taking app where each note is an object. In the main activity I create an empty Notebook object. In the Notebook is an empty mutableListOf of Notess. Each Note has the context of the note. (text, date created, date updated ...). When the user clicks on the "Add a note" button it jumps to the CreateNote activity.

    I can think of two ways of adding that note. Either, 1. Serialize the Notebook object 2. Send the Notebook by using // In main activity intent.putExtra(NOTEBOOK, notebook) // In CreateNote activity val notebook = intent.getSerializableExtra(NOTEBOOK) as? Notebook 3. Add a newly created note to the notebook 4. Send back the updated notebook 5. Update the notebook in main activity.

    Alternatively, I can create a new Note, serialize it, and send it back.

    Is that the best coding design? If there was a way of storing the Notebook object as a shared object between activities I think that would be the best. I could then simply access that object (and potentially send an index if I want to edit a specific note). Is there a way to do that?

    I am writing in Kotlin, if that matters.

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

    Enabling databinding issue

    Posted: 15 Nov 2020 04:54 AM PST

    Good day everyone,

    I have this issue on a kotlin dsl Gradle multi module project I have been practicing with.

    It prompts me to upgrade Gradle plugin from 4.0.2 to 4.1.0.

    After updating I noticed the buildFeatures has no databinding option.

    So I have no idea how to enable databinding on it .

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

    Jetpack Compose or Flutter... which is the safest bet?

    Posted: 14 Nov 2020 05:32 PM PST

    I know this sub will mostly pick native, but just assume you can only pick a cross-platform solution. Here's what I've gathered so far. Please correct me if I'm wrong.

    Flutter pros:

    • Easy to learn

    • Used by Google themselves in Google Pay, Google Assistant, Google Ads, etc.

    • Used by Ebay, Alibaba, Baidu, Square, Tencent

    • Used by popular apps like Insight Timer and Reflectly

    • Will work on Fuschia OS

    Flutter cons:

    • Devs seem to prefer Kotlin over Dart

    • If Google drops Flutter, your investment in learning Dart will be for nothing

    • iOS animation bugs

    • Not many first party plug-ins, and some of the few that exist have issues

    Jetpack Compose pros:

    • Similar to SwiftUI, so easier to get into for new iOS devs and current Android devs

    • Built by Google and Jetbrains, who have a track record of excellent products, and they created Kotlin

    • devs who prefer native android won't have much of a problem with this

    Compose cons:

    • Younger project, currently in Alpha, so who knows if it'll catch up to Flutter by the time it's mature
    • If Flutter continues to grow, it'll be harder to convince Flutter devs to switch

    • With so many companies (including Google) already invested in Flutter, what reason do they have to even consider Compose?

    • If Fuchsia turns out to be a success and not a toy project, Flutter will be ahead in this new OS. Doesn't mean Android will just disappear though

    What do you think? I'm still in university so I don't have to worry as much about the current cross-platform job market. I wanna use the cross-platform framework that will be more likely to stay relevant or at least alive by 2022. Not sure if I should dive into Flutter now or just work on other stuff while I wait for Compose to become production ready

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

    Font Rendering Issue?

    Posted: 15 Nov 2020 07:43 AM PST

    I'm using a custom font in my app, each time i navigates to the fragment, the font seems to transition from the default font to the custom font? Any solution to this?

    https://reddit.com/link/junt6r/video/hcnkfppecfz51/player

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

    Kotlin.News - Join New Kotlin Newsletter

    Posted: 15 Nov 2020 07:31 AM PST

    Hi I am Android Developer and huge Kotlin enthiusiast (before I start any pet project I am checking if it is possible to be done in Kotlin). I am trying a lot kotlin frameworks, so I thought that I could share my experiences with them. Currently I am trying Compose framework for web development in kotlin - Wanna learn about it? Join at https://kotlin.news
    If it does not convince You - I am also creating Intellij Plugins (recently created project wizard for kVision framework) so maybe some of newly released plugins will convince You? Anyway, it is Your choice, You know where to find me - https://kotlin.news

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

    Jetpack Compose: intro & basic layouts

    Posted: 14 Nov 2020 03:53 PM PST

    I am planning to make my first LOS build

    Posted: 15 Nov 2020 06:43 AM PST

    If i did exactly what the guide said will the build work will there be any bugs/lagging/issues with the rom compared with the official LOS?

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

    Graph (network) library for Android app

    Posted: 14 Nov 2020 07:48 PM PST

    Graph as in nodes/ edges graph (i.e. graph theory)

    I'm a newbie Android Java developer, and I'm looking for Graph library for Android (one that has some good contributers or still active in maintaining it). I've googled and used some but they are either not maintained (e.g. have low committs) or no longer used by the committee.

    Any suggestion is welcome!

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

    First android app I have published

    Posted: 14 Nov 2020 06:39 PM PST

    Hi guys,

    This is my first game having published. any improvements you can think of ?
    I would like to put a leaderboard in there but still trying to figure that out.

    https://play.google.com/store/apps/details?id=com.icecream.hit

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

    Volley Headers.

    Posted: 14 Nov 2020 10:58 PM PST

     u/Override protected Map<String, String> getParams() throws AuthFailureError { Map<String, String> params = new HashMap<>(); params.put("username",mUsername); params.put("password",mpPass); return params; } u/Override public Map<String, String> getHeaders() throws AuthFailureError { HashMap<String, String> headers = new HashMap<String, String>(); headers.put("Content-Type: application/json" -X POST " url.....http://104.") return headers; } }; I am confused with the headers in volley. What is the purpose the login seems to work without headers. Do I need to put them or how can i properly do it? 
    submitted by /u/Murod19
    [link] [comments]

    Need Android App Development Help

    Posted: 14 Nov 2020 07:08 PM PST

    Hi, I'm sorry if I'm posting this on the wrong subreddit. Recently me and my friend came up with an idea with to make an android app like Ada. If you don't know about Ada its a health companion app which asks you several questions of your disease symptoms and lastly gives a list of disease among which the one you might be suffering from.

    But the problem is in my country less than 20% speak English and 90% of the population is living under poverty so I wanted to start this with this. But I don't know where to start, where to find a large database of all diseases and symptoms and how to make apps? Do I need java or C++? We also want to add a functionality of taking a picture and giving it to the app and the app will find similar pictures relating to the disease. Please share your thoughts.

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

    No comments:

    Post a Comment