• Breaking News

    Friday, February 21, 2020

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 21 Feb 2020 04:40 AM PST

    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]

    Finally, Android R has API to check if keyboard is visible or not.

    Posted: 20 Feb 2020 01:08 PM PST

    So Google has just banned over 600 Apps for ad policy violation, including 40 apps from Cheetah Mobile, wondering how long until Cheetah Mobile returns?

    Posted: 21 Feb 2020 05:47 AM PST

    Here is more info: https://www.androidauthority.com/google-play-store-app-ban-cheetah-1085601/

    Who wants to bet that by the end of the month Cheetah Mobile will be back on GooglePlay store?

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

    Gradle-less Project Template w/ AndroidX

    Posted: 21 Feb 2020 01:28 AM PST

    Can you have a paid app on Google Play Store, and have the same app for free on F-Droid and Github?

    Posted: 21 Feb 2020 04:47 AM PST

    Can you have a paid app on Google Play Store, and have the same app for free on F-Droid and Github. Will this go against Google TOS, Google Play Store TOS, or not be legal for licensing or something.

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

    New MediaStore Trash API in Android R

    Posted: 21 Feb 2020 12:47 AM PST

    Samsung Galaxy Fold front screen question

    Posted: 21 Feb 2020 08:35 AM PST

    Can the front screen of the Samsung Galaxy fold be active and have contents changed by a developer while the device is folded open and someone is using the inside larger screen?

    I haven't seen any reviewers talk about this. I have a use case where I'd like to be able to change what's on the front outer screen while the inner screen is being used.

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

    Is it possible to create floating window to invert colors on screen? (Vision Accessibility)

    Posted: 21 Feb 2020 02:24 AM PST

    Is it possible to create floating window to invert colors on screen? (Vision Accessibility)

    I wanted to know that is it possible to create a vision accessibility app which is a floating window that inverts color on screen? Example, zoom accessibility feature? If yes, where should I look for?

    LG Vision accessibility, Window zoom

    https://preview.redd.it/tegzwtrz69i41.png?width=286&format=png&auto=webp&s=93d86965a02356970afafe94af5f11561e03ee33

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

    Gradle 6.2 Released

    Posted: 20 Feb 2020 02:54 PM PST

    What is the recommended architecture between MVVM and MVI?

    Posted: 21 Feb 2020 06:16 AM PST

    I'm new here. I've just known about concept of MVI architecture? It's very interesting but MVVM seems to be good with jetpack components. So, which one do you prefer?

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

    Worldwide eCPM Performances for Mobile Ads in January 2020

    Posted: 20 Feb 2020 10:14 PM PST

    How can I change expanding icons back to arrows ?

    Posted: 21 Feb 2020 05:14 AM PST

    Pattern Lock App Dev

    Posted: 21 Feb 2020 04:43 AM PST

    Hi All! I have limited experience with Android Dev and want some guidance on how to make a responsive pattern lock UI that draws pattern on the screen. Please tell me approach on how I should begin so that I will try it out. My current idea is to use a Grid layout and set an Adapter to it to determine if a dot is touched and use MotionEvent to connect the dots as long as the user is touching the screen. Is there any api that lets us handle when the user releases finger from the screen?

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

    Is ConstraintLayout just hard to deal with or am I doing it wrong?

    Posted: 20 Feb 2020 11:22 PM PST

    It is almost reliable as long as you're not nesting layouts but a complete mess when you introduce another layout inside of it. Views are cropped or their margins don't work. To give an example:

    <RadioGroup
    android:id="@+id/priority_radio_group"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="16dp"
    android:orientation="vertical"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/priority_heading">
    <RadioButton
    android:id="@+id/radio_p1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
    <LinearLayout
    android:orientation="vertical"
    android:layout_width="wrap_content"
    android:layout_height="match_parent">
    <TextView
    android:text="Priority 1"
    android:textStyle="bold"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    <TextView
    android:text="The most important task for the day. One per day."
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    </LinearLayout>
    <RadioButton
    android:id="@+id/radio_p2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
    <LinearLayout
    android:orientation="vertical"
    android:layout_width="wrap_content"
    android:layout_height="match_parent">
    <TextView
    android:text="Priority 2"
    android:textStyle="bold"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    <TextView
    android:text="Tasks that are important but not absolutely necessary. Two per day."
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    </LinearLayout>
    <RadioButton
    android:id="@+id/radio_p3"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
    <LinearLayout
    android:orientation="vertical"
    android:layout_width="wrap_content"
    android:layout_height="match_parent">
    <TextView
    android:text="Priority 3"
    android:textStyle="bold"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    <TextView
    android:text="Tasks that you would like to do. Three per day."
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    </LinearLayout>
    </RadioGroup>

    The margin doesn't work here. If you remove the End Constraint, your views go outside the screen and are hence cropped. Complex views with LinearLayout are probably not the best solution? Should I switch to app-wide RelativeLayouts?

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

    Implementing Motion - Google Design - Medium

    Posted: 20 Feb 2020 12:19 PM PST

    Struggling a lot

    Posted: 21 Feb 2020 04:42 AM PST

    As I am new to Android development I am struggling a lot because I don't know anything about java so I just took a simple project in which i just have to show weather of 3-4 cities . Believe me its getting harder than ever. Please help and motivate me😟

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

    Encrypted shared preferences

    Posted: 20 Feb 2020 11:14 AM PST

    How often do you refactor your Android apps?

    Posted: 20 Feb 2020 06:12 PM PST

    Google continually comes out with new Android features, then later comes out with fixes to them. How do you decide whether to upgrade your apps? Generally, if my code works fine, I don't upgrade. Have you ever used any other software that is continually redesigned like Android?

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

    Android 11 NDK finally brings image decoders support

    Posted: 20 Feb 2020 10:09 AM PST

    Google Online Security Blog: Disruptive ads enforcement and our new approach

    Posted: 20 Feb 2020 11:54 AM PST

    GitHub - anoop44/AwesomeEditText: A no-boaring edittext that have a zoom out animation while typing

    Posted: 20 Feb 2020 08:14 PM PST

    Where can I post my app project (and github link) for feedback and critique?

    Posted: 20 Feb 2020 05:43 PM PST

    I just finished an app (a Yahtzee game) and placed it on my github. I'd like to know where a good sub-reddit is for getting people to review my code (so I can see where I can improve) and to have people test it out and give feedback.

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

    How do you get app downloads?

    Posted: 20 Feb 2020 01:51 PM PST

    Ok, here's the thing... I currently have 5 small applications published on the Google Play Store. And only one seems to get downloads, which is the first app I uploaded.

    The other 4 are literally dead. No even one download. How can I get people to check out my apps?

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

    SignIn with google and Navigation Component

    Posted: 20 Feb 2020 01:48 PM PST

    SignIn with google relies on startActivityForResult , so how can i achieve this behavior using Navigation Component library ?

    before i use the Navigation Component everything was working perfectly, but when i add it to my app, it gave me

    com.google.android.gms.common.api.ApiException: 8:

    at this line:

    GoogleSignInAccount account = task.getResult(ApiException.class);

    then after removing the navigation it works fine!

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

    No comments:

    Post a Comment