• Breaking News

    [Android][timeline][#f39c12]

    Monday, July 1, 2019

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 01 Jul 2019 05:45 AM PDT

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

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

    Weekly Questions Thread - July 01, 2019

    Posted: 01 Jul 2019 03:57 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    OnePlus testing push in production. Someone's getting fired tonight.

    Posted: 01 Jul 2019 01:08 AM PDT

    Swipe right on Motion Layout - A guide on implementing a swipeable stack of cards

    Posted: 01 Jul 2019 09:21 AM PDT

    where do views/layouts/xml/assets files live in a modularized app ?

    Posted: 01 Jul 2019 07:39 AM PDT

    hi guys,

    we are just starting to modularize two of our apps (which have quite a bit of code duplicated - e.g. api calls, retrofit, etc). we are wondering about the right way to structure the modularized infrastructure.

    do you keep all UI related stuff in a separate module (called "Presentation" or something as i have seen in a few examples) or is each "module"/"feature" self contained ? meaning the login screen will have all the logic as well as the UI of the app as self contained ?

    P.S. Large apk sizes in Asia is the single biggest reason for install bounce - so i want to guard against useless files making its way into an app.

    really would appreciate any help.

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

    Release builds suddenly taking 10+ minutes instead of 1 minute

    Posted: 01 Jul 2019 08:04 AM PDT

    It seems like switching from proguard-android-optimize.txt to proguard-android.txt fixes it, but I've done quite a few release builds with the optimize version and it hasn't been taking this long.

    Any ideas?

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

    Anybody built a Telegram client using their APIs?

    Posted: 01 Jul 2019 04:58 PM PDT

    I'm planning to start a side project and build a Telegram Client and use their cloud as backend. Anybody who did it before?

    Or any other good side projects you guys have in mind?

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

    Anyone know how to recreate the Play Store status bar effect?

    Posted: 01 Jul 2019 04:23 PM PDT

    Changing values in .../res/values/config.xml is possible?

    Posted: 01 Jul 2019 04:16 PM PDT

    I want to change some line in /overlay/frameworks/base/core/res/res/values/config.xml without compiling rom.

    The line is;

    <integer name="config_screenBrightnessDoze">7</integer> 

    Possible to change on phone without compiling, maybe with secure settings etc.?

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

    Game I worked on!

    Posted: 01 Jul 2019 04:11 PM PDT

    Hello everyone!

    I would like to inform you that I have created and released a game on the Google Play store. The game is called Orb of the Labyrinth. This game is free to download but contains ads. I'm just starting out and any feedback would be much appreciated.

    If you would like to view the gameplay, check this link here:

    https://youtu.be/3XP3O3CXchA

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

    Floating navigation view for listing items dynamically on Android.

    Posted: 30 Jun 2019 11:46 PM PDT

    19 tips for Gradle in Android projects - 2019 Edition

    Posted: 30 Jun 2019 09:20 PM PDT

    Issues with Gson when a string literal containing a colon (Kotlin)

    Posted: 01 Jul 2019 03:19 PM PDT

    I'm trying to create a Json object using Gson by doing the following:

    jsonObject = Gson().fromJson("{macAddress: $value}") 

    where value is the string literal of a mac address (i.e. "00:A0:C9:14:C8:29"). As long as I have the colons in the string literal, I receive a malformed json exception. I was under the impression that colons didn't have to be escaped? What am I doing wrong here?

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

    The Android Arsenal - Credit Cards - PayView

    Posted: 01 Jul 2019 10:56 AM PDT

    How to refactor several Retrofit calls?

    Posted: 01 Jul 2019 02:39 PM PDT

    How to refactor several Retrofit calls?

    Hello, as you can see in this attached screenshot, I have a couple of Retrofit calls that almost do the same thing. I want to refactor this into something neat, like only using one function, any tips?

    https://i.redd.it/ms4gu5rmhr731.png

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

    Norris is a showcase for modern and well-crafted Android code. By Ubiratan Soares (https://twitter.com/ubiratanfsoares)

    Posted: 01 Jul 2019 04:46 AM PDT

    Does anyone know exactly when GCM is going to be completely removed?

    Posted: 01 Jul 2019 02:16 PM PDT

    Please lmk, we have something to migrate and we are not sure when we should prioritize doing this (i know its really late and it was deprecated a while ago)

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

    Building Unit Tests for ViewModel in TDD style

    Posted: 01 Jul 2019 08:09 AM PDT

    UI components, layouts made simple.

    Posted: 01 Jul 2019 07:20 AM PDT

    Android virtual device on Ryzen

    Posted: 01 Jul 2019 08:45 AM PDT

    Hey everyone. Is anyone else facing issues with running AVD on AMD CPUs on Windows 10 1903 update? Even the 18362.207 build, which was supposed to fix issues with Hypervisor on AMD didn't seem to fix the issue for me.

    My PC:

    CPU: Ryzen 5 3500U

    OS: Windows 10 1903 May Update (build 18362.207)

    Error:

    Device error: C:\Program Files (x86)\Android\android-sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2 (InternalEmulationFailure )
    C:\Program Files (x86)\Android\android-sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: whpx_vcpu { emulator=0000000008cce390, window_registered=false, interruptable=true, tpr=0, apic_base=fee00900, interruption_pending=false }
    C:\Program Files (x86)\Android\android-sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHV_MEMORY_ACCESS_CONTEXT { Instruction={ size=16, bytes='A1 F0 00 E0 FE 80 CC 01 A3 F0 00 E0 FE C7 05 50 ' }, AccessInfo={ AccessType=0, GpaUnmapped=1, GvaValid=0, AsUINT32=4 }, Gpa=fee000f0, Gva=0 }
    C:\Program Files (x86)\Android\android-sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor
    Warning: QObject::~QObject: Timers cannot be stopped from another thread ((null):0, (null))

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

    The numbers behind Apple and Netflix battle, and how Google Play could capitalize

    Posted: 01 Jul 2019 08:34 AM PDT

    From where can i hire professional developers

    Posted: 01 Jul 2019 08:28 AM PDT

    I have small app and i don't think its complicated app but i want to work with good developers , i have tried Upwork and fiverr and i didn't have a good experience , so i am looking for something else

    I don't want to pay crazy amount of money i am individual and i already have the app i just need fix some bugs and some improvement

    So what do you guys recommend ?

    Thanks

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

    Biometric Prompt in API level 29

    Posted: 01 Jul 2019 02:28 AM PDT

    You can set in the builder setDeviceCredentialAllowed to true. Because this API is supposed to replace KeyguardManager.

    So when you use the BiometricPrompt.authenticate with the callback, the callback gives the error BIOMETRIC_ERROR_CANCLED when choosing at the Text of BiometricPrompt in the left corner (for me it's Use pattern). You enter your pattern, all fine but then it does not call onAuthenticationSucceeded after you correctly entered the pattern. The funny thing is you can use the key pair with setUserAuthenticstionRequired in KeyGenParametricSpec.Builder, but you don't get a callback that tells you that you can use the keys.

    This API is a mess, is there any way to get a callback notification that the authentication was successful?

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

    Our approach to modularization and MVVM - Zoover & Weeronline Engineering - Medium

    Posted: 01 Jul 2019 01:55 AM PDT

    Firebase: Limit the Number of Readings to an application on a given Smartphone

    Posted: 01 Jul 2019 02:17 AM PDT

    I never achieve muscle fatigue. Hi, everyone,

    I use Firebase Firestore for free and, as it stands, cannot afford to upgrade to the paid version right away.

    My app displays data from the database without the end user having to identify himself: he just has to download the application and this data is displayed.

    However, displaying a data item counts as quota consumption: after a certain number of data items have been displayed, I will have to pay.

    My question: Can I block access to the database for my application on a given smartphone if the following two complementary conditions are met?

    The user made 5 requests in less than one second included (in other words it would be a bot)

    And/or the user has made more than 100 requests in one day (in other words he uses too much my app)

    Alternative question: is there another way to do it? I would like to point out that I CANNOT put an authentication system (Google SinIn AuthUI), nor a capthca system (SafetyNet ReCaptcha).

    submitted by /u/JarsOfJam-Scheduler
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel