• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, August 21, 2019

    Google Play Store reminder to specify target audience by Sept 1: here's how Android Dev

    Google Play Store reminder to specify target audience by Sept 1: here's how Android Dev


    Google Play Store reminder to specify target audience by Sept 1: here's how

    Posted: 21 Aug 2019 08:10 AM PDT

    If you're like me and find the UI confusing, to set your target audience:

    1) open your app in the console

    2) Go to Store Presence > App Content

    It's there. Hope it helps.

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

    Why we decided to get rid of the Google Play Services Location library.

    Posted: 21 Aug 2019 06:35 AM PDT

    Google Play Store approval for new apps will now take more time

    Posted: 20 Aug 2019 11:39 PM PDT

    TIL: "Run fallback" for Apply Changes

    Posted: 21 Aug 2019 09:04 AM PDT

    In all of the 3.5 news over the past few months I never saw any comments regarding Run Fallback. It allows you to always try to apply changes and if it can't it will just rebuild your app. This wasn't mentioned in the Youtube video for 3.5 release or in the blog post, but I found it tucked away here. Anyway. Hope this helps someone else

    https://developer.android.com/studio/run?utm_source=android-studio-3-5&utm_medium=studio-assistant-stable#apply-changes-run-fallback

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

    Has anyone ever seen the SMS Retrieval Consent API not show the sheet so request the single SMS to read?

    Posted: 21 Aug 2019 02:39 PM PDT

    Before I make a StackOverflow post and the investment there, I'm reaching out to you. Is there a known state or case where the SMSes I'm listening for in my application for autologin or what have come through, but don't throw up the sheet allowing the user to deny or allow the SMS to be read?

    I made a complete ass of myself during a demo today and I won't sleep until I figure out what the hell happened. It seems to be working about 75% of the time. There seems to be a cool down to prevent spamming the user or something.

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

    Collecting Device ID in 2019

    Posted: 21 Aug 2019 07:21 AM PDT

    Hi all.
    Google rolls out updated guidelines related to user id gathering and information (https://medium.com/androiddevelopers/now-in-android-episode-2-b17fc5630fea).
    In the light of this, is it still possible to get specific device ids for fraud prevention?
    Lots of fake transactions are generated from fake users in our app, we want to track device ids across users creation to prevent multiple account creations.
    Are there any other reliable ways to determine same device for multiple users (not Firebase IID, for example)?

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

    Trying to determine the best way to register when a user makes a discrete tap on their phone, even in sleep mode (if possible)

    Posted: 21 Aug 2019 01:58 PM PDT

    The application I'm trying to make utilizes the user tapping on their phone (preferably anywhere and even if the phone is asleep if possible) and I'm not sure which option is best to pursue for this.

    I thought maybe the microphone could be tapped, and I could figure out a way to register if a certain amplitude threshold had been crossed and register that as a tap.

    I know there are motion detection sensors in a lot of phones but I am not sure which route I should take for this.

    Any other ideas out there?

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

    The Google Play store’s visual refresh

    Posted: 21 Aug 2019 11:05 AM PDT

    Reduce build time by suspending AS

    Posted: 21 Aug 2019 08:59 AM PDT

    Build Time Hack

    Let me know about your experience with it.

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

    How to add an image to a string DATABASE

    Posted: 21 Aug 2019 02:49 PM PDT

    I know this might be a really basic question for some of you but I am struggling to make a constructor to add an image to my database. My app is a quiz app but some of the questions require an Image. Here is my constructor code. Any help is appreciated. The last line needs some change, no idea what.

    import android.media.Image;
    import android.media.ImageReader;
    import android.provider.BaseColumns;
    import android.provider.MediaStore;
    final class QuizContract {

    private QuizContract() {
    }

    static class QuestionsTable implements BaseColumns {
    static final String TABLE_NAME = "quiz_questions";
    static final String COLUMN_QUESTION = "question";
    static final String COLUMN_OPTION1 = "option1";
    static final String COLUMN_OPTION2 = "option2";
    static final String COLUMN_OPTION3 = "option3";
    static final String COLUMN_OPTION4 = "option4";
    static final String COLUMN_ANSWER_NR = "answer_nr";
    static final Image COLUMN_IMGQUESTION =

    }
    }

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

    Using Navigation Architecture Component in a large banking app

    Posted: 20 Aug 2019 10:39 PM PDT

    GridLayout does not load correctly inside app but no problem in Editor?

    Posted: 21 Aug 2019 02:09 PM PDT

    Im making a simple calculator app. This is inside my main layout. im using gridlayout for displaying buttons.

    activity_main.xml

    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:paddingTop="100dp" android:weightSum="10"> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_gravity="top" android:layout_weight="3" android:orientation="vertical" android:padding="8dp" android:weightSum="5"> <TextView android:id="@+id/tv_final_result" android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="8dp" android:layout_weight="3" android:paddingTop="22dp" android:text="00" android:textAlignment="viewEnd" app:autoSizeMaxTextSize="48sp" app:autoSizeMinTextSize="22sp" app:autoSizeStepGranularity="2sp" app:autoSizeTextType="uniform" /> <HorizontalScrollView android:id="@+id/hsv_all_entered_values" android:layout_width="match_parent" android:layout_height="0dp" android:layout_gravity="right" android:layout_weight="2" android:scrollbars="none"> <LinearLayout android:id="@+id/ll_current_values" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="right" android:layout_marginTop="8dp" android:gravity="right" android:orientation="horizontal"> </LinearLayout> </HorizontalScrollView> </LinearLayout> <androidx.gridlayout.widget.GridLayout android:id="@+id/gl_all_buttons" android:layout_width="match_parent" android:layout_height="0dp" android:layout_gravity="bottom" android:layout_weight="7" android:padding="8dp" app:alignmentMode="alignMargins" app:columnCount="4" app:rowCount="5"> <Button style="@style/calculatorNumberButton" android:backgroundTint="#F7A73E" android:paddingLeft="35dp" android:text="@string/ac_btn_label" android:textAlignment="textStart" app:layout_column="0" app:layout_columnSpan="3" app:layout_columnWeight="1" app:layout_row="0" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="÷" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="7" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="8" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="9" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="x" android:textSize="30sp" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="4" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="5" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="6" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="-" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="1" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="2" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="3" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="+" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:paddingLeft="40dp" android:text="0" android:textAlignment="textStart" app:layout_columnSpan="2" app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="." app:layout_columnWeight="1" app:layout_rowWeight="1" /> <Button style="@style/calculatorNumberButton" android:text="=" app:layout_columnWeight="1" app:layout_rowWeight="1" /> </androidx.gridlayout.widget.GridLayout> </LinearLayout> </RelativeLayout> 

    This layout works fine inside the editor it shows the layout as intended like this

    But on running the app on actual device, the layout does not load correctly and loads like this

    What could i be doing wrong here?

    EDIT: @Style/calculatorNumberButton

    <style name="calculatorNumberButton"> <item name="android:layout_width">wrap_content</item> <item name="android:layout_height">wrap_content</item> <item name="android:textSize">42sp</item> <item name="android:fontFamily">@font/font_roboto_thin</item> </style> 
    submitted by /u/pages5464
    [link] [comments]

    Playing back recorded audio in real time?

    Posted: 21 Aug 2019 10:17 AM PDT

    Recently had an idea for an application that disrupts speech. Is there anyway that to develop an application which records and plays back the same audio simultaneously?

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

    Navigation in Modular Applications with Deep Linking

    Posted: 21 Aug 2019 07:00 AM PDT

    Paging Library + Room problem

    Posted: 21 Aug 2019 12:35 PM PDT

    Hi, I'm experiencing a problem with Paging library and Room. I'm using room database as a single source of truth

    For example, I've a list of comments which I'm getting from database through method returning DataSource.Factory<Int, DatabaseComment> . When I loading it at first time, boundary callback onZeroItemsLoaded() is called. It writes data to database. But after that, onZeroItemsLoaded() won't be called if new comments will appear on backend side and I wouldn't be able to load new comments, because only onItemAtEndLoaded() and onItemAtFrontLoaded() methods will called.

    How can I handle this case? Will appreciate any help

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

    Junior android dev remote jobs

    Posted: 21 Aug 2019 11:12 AM PDT

    Hi everyone! Quick questions:

    Is there any chance of finding remote work as a junior android developer?

    Those of you in Europe that work remote full-time, how did you land the job?

    Thanks in advance!

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

    Requesting app Idea for a beginner level college student.

    Posted: 21 Aug 2019 10:14 AM PDT

    I just learnt android Devolopment and I'm not an expert at programming, just a sophomore year college student. I would like to Devolop an app as a begginer.Currently I'm working on a document scanner and manager app for students. Please recommend me some ideas so that I would be backed by other open source projects. So what all projects can a beginner like me work on that's very useful for students or staffs on college?

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

    Experiment to test if argument are passed correctly passed into Coil in Espresso

    Posted: 21 Aug 2019 09:18 AM PDT

    Open source Wifi/Ble P2P library

    Posted: 21 Aug 2019 09:00 AM PDT

    Hello fellow Android Devs, i would like your precious help!I'm in search of an OPEN SOURCE P2P library (preferably written in Java) that utilizes BLE/Wifi technology and Mesh network topology in order to discover nearby peers. Unfortunately in my recent searches on google i din't find a good alternative.Does any of you fellas got anything in mind?Thanks in advance!

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

    How are you A/B testing onboarding/signup flows in your app ? Webviews ?

    Posted: 20 Aug 2019 11:16 PM PDT

    hi guys,

    we are trying to figure out the right and scalable way to do A/B testing in the app. Especially for onboarding flows - which are basically multi-screen.

    Do you guys do multiple versions of native apps and use Firebase Config to do A/B testing ? or do you do webviews to do this quickly.

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

    Different screen sizes

    Posted: 21 Aug 2019 07:55 AM PDT

    Hey guys. So I've completed my app and now I want to support multiple screen sizes. When I click on create other in the orientation button it opens a window with different types of qualifiers and I don't know which one to choose. I've checked the docs but I can't understand or maybe I'm dumb. Please can anyone help me with this issue. I want to support as much screen sizes as possible.

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

    Strategies and consequencies on re-releasing app under different package name

    Posted: 21 Aug 2019 04:03 AM PDT

    Sorry if this has been asked before, but could not find similar thread.

    As the title says, what consequencies and strategies to take into account when you want to release old app under a new different package name, leaving the old one unpublished?

    The idea comes from a discussion here by a user [deleted] at the end of the thread: https://www.reddit.com/r/androiddev/comments/48ne1e/what_has_worked_best_for_you_to_get_positive/

    Please also consider existing paid users, etc. I might not be aware of.

    The background may vary, perhaps bad non-ASO packaged names, or disheartening bad reviews which they didn't update even after the fix was given on the next release, etc.

    Thanks for kind advice!

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

    Basic Dagger in MVVM for Android Beginners

    Posted: 20 Aug 2019 08:08 PM PDT

    Hi everyone!
    I'd like to share a tutorial that I made for Android Beginners that teaches them Dagger as simple as possible.

    It's divided into two sections:

    1. When to use Dagger's features? - a crash course of the basic Dagger features and when to use them. You can skip this one if you're already familiar with the basics of Dagger.
    2. How do we use Dagger in MVVM? - a hands-on exercise where we write code that doesn't use Dagger and refactor it to use Dagger.

    https://www.arthlimchiu.com/2019/08/21/basic-dagger-in-mvvm.html

    Let me know your feedback in the comments section. Thank you!

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel